API Reference
Payouts /Mobile Transfer
Get Mobile Payment Request By Reference [GET]

Get Mobile Payment Request by Reference

https://sandboxapi.bitnob.co/api/v1/mobile-payments/reference/{reference} (opens in a new tab)

Query Params

ParametertypeRequired
referencestring

Request

payouts-mobile-transfers/Get Mobile Payment Request by Reference[GET]
curl --request GET \
     --url https://sandboxapi.bitnob.co/api/v1/mobile-payments/reference/reference \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json'

Response

🟢 200 OK
{
  "status": true,
  "message": "Mobile payment request retrieved successfully",
  "data": {
    "id": "ad0518c3-12bb-4f8d-8bfc-4ac70b3a1203",
    "amount": "100",
    "reference": "ca13caa3521f",
    "status": "unpaid",
    "satoshis": "497554",
    "beneficiaryName": "Israel akpan",
    "currencyPair": "USD_NGN",
    "amountToBeReceived": 50000,
    "paymentRequest": "lntb4975540n1p3na37kpp59qpjrc8etc2f4ylzff2jncnur6t32jlajfvjvjyamvfuufq9p52sdpcv3jhxcmjd9c8g6t0dcsxgetnvdexjur5d9hkugryv4ekxunfwp6xjmmwcqzpgxqzursp5sc6luty6fmz8tlm0sxfwqcm6eynkjt9jcqhffqara94jst3aj6ps9qyyssqkt4na2auzmvj64gfm4d786rn8eje3fs85uankpvps9st8ylkzc5qycsc6gg8q8uqmrrj3rpvewdlee787kjpgupfuhay54a732w6tpqqfvh7k0",
    "expiresAt": "2022-10-06T12:34:33.000Z",
    "exchangeRate": {
      "rate": 500,
      "source": {
        "amount": 100,
        "currency": "USD"
      },
      "destination": {
        "amount": 50000,
        "currency": "NGN"
      }
    },
    "transaction": null,
    "updatedAt": "2022-10-06T12:19:34.616Z",
    "created": "2022-10-06T12:19:34.616Z"
  }
}