Skip to main content
GET
https://omnipay.page/api
/
v1
/
withdraws
/
{id}
curl --request GET \
  --url https://omnipay.page/api/v1/withdraws/ettghe0woyn \
  --header 'Authorization: Bearer <your-api-key>'
{
  "id": "ettghe0woyn",
  "merchant_id": "KJKJ22",
  "phone": "01341491353",
  "payment_method": "bkash",
  "amount": "1000",
  "status": "succeeded",
  "metadata": {
    "invoice_id": "NSOIENKXNY"
  }
}

Path

id
string
required
The ID of the withdrawal request.

Response

id
string
The ID of the withdrawal request.
merchant_id
string
required
Your unique transaction ID.
phone
string
The customer’s phone number.
payment_method
string
The payment method used for the withdrawal.
amount
string
The amount which was requested to be withdrawn.
status
string
The status of the withdrawal request.
processing - The withdrawal request has been received by us and is being processed.
succeeded - The withdrawal request has been succeeded and the funds have been transferred.
failed - The withdrawal request has failed.\
metadata
JSON
Set of key-value pairs that you had attached to an object.
curl --request GET \
  --url https://omnipay.page/api/v1/withdraws/ettghe0woyn \
  --header 'Authorization: Bearer <your-api-key>'
{
  "id": "ettghe0woyn",
  "merchant_id": "KJKJ22",
  "phone": "01341491353",
  "payment_method": "bkash",
  "amount": "1000",
  "status": "succeeded",
  "metadata": {
    "invoice_id": "NSOIENKXNY"
  }
}