Get Mobile Payment Request by Id
https://sandboxapi.bitnob.co/api/v1/mobile-payments/{id} (opens in a new tab)
Initiating a payment to a Bitnob user via mobile number
Query Params
Parameter | type | Required |
---|---|---|
id country code of account number | string | ✅ |
Request
payouts-mobile-transfers/Get Mobile Payment Request by Id [GET]
curl --request GET \
--url https://sandboxapi.bitnob.co/api/v1/mobile-payments/id \
--header 'Authorization: Bearer API-KEY' \
--header 'accept: application/json'
Response
🟢 200 OK
{
"status": true,
"message": "payment invoice retrieved successful",
"data": {
"id": "04f4e598-04a5-496d-912e-792c9ab60512",
"amount": 308,
"reference": "21de96a5c648",
"isSettled": false,
"senderName": "Edward Amewu",
"status": "unpaid",
"callbackUrl": "https://webhook.site/689f4e1e-c2e1-447d-81c0-783d11a71649",
"satoshis": 19349,
"recipient": {
"bank_code": "033",
"bank_name": "United Bank for Africa",
"account_name": "PARAH BERNARD BARJE",
"account_number": "2081021857"
},
"refundStatus": null,
"beneficiaryName": " ",
"currencyPair": "SAT_NGN",
"amountToBeReceived": 2371.3844,
"refundTransaction": null,
"paymentRequest": "lntb193490n1p3hehggpp5u7mewud6h8v2ehdray39qflrwdggd0x74kgqyfwm8yqcm7y8wnqsdpcv3jhxcmjd9c8g6t0dcsxgetnvdexjur5d9hkugryv4ekxunfwp6xjmmwcqzpgxqzm9sp5t0edu6ytxfty646cgpl44sgxlqp0gmsyumakxauklwmpa6sefccs9qyyssqcg0myw2lfm8yynejtjejzd0ltsgcdcg5ssuv3huwlt8qpynmryzkdgaa4vmfdh8eftj89xwkl4rhddq93y5kv5mlccpttj80z2lrt3qqm4y9qw",
"expiresAt": "2022-11-22T14:45:01.000Z",
"exchangeRate": {
"rate": {
"rate": 769.93,
"currency": "NGN"
},
"source": {
"amount": 19349,
"currency": "SAT"
},
"destination": {
"amount": 2371.3844,
"currency": "NGN"
}
},
"transaction": null,
"updatedAt": "2022-11-22T14:30:03.552Z",
"created": "2022-11-22T14:30:03.552Z"
}
}
Last updated on