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

Path

id
string
required
The ID of the deposit request.

Response

id
string
The ID of the deposit request.
merchant_id
string
Your unique transaction ID.
amount
string
The amount which was requested to be deposited.
payment_method
string
The payment method used for the deposit.
status
string
The status of the deposit request.
pending - The request is pending, the customer has not yet made a payment.
succeeded - Customer has made the payment.
failed - The deposit request has failed.
cancelled - The deposit request has been cancelled by the customer.
expired - The deposit request has expired after 10 minutes.
metadata
JSON
Set of key-value pairs that you had attached to an object.
curl --request GET \
  --url https://omnipay.page/api/v1/deposits/p2c/requests/hk7ppekqfkfj \
  --header 'Authorization: Bearer <your-api-key>'
{
  "id": "ettghe0woyn",
  "merchant_id": "KJKJ22",
  "amount": "1000",
  "payment_method": "bkash",
  "status": "succeeded",
  "metadata": {
    "invoice_id": "NSOIENKXNY"
  }
}