API Reference
Payouts /Mobile Transfer
Pay Mobile Payment [POST]

Pay Mobile Payment.

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

Pay mobile payment invoice from USD or BTC Wallet


Body Params

ParametertypeRequired
customerEmail
LN Invoice
string
reference
unique reference for payment
string
wallet
wallet to pay the invoice from
string

Request

payouts-mobile-transfers/Refund [POST]
curl --request POST \
     --url https://sandboxapi.bitnob.co/api/v1/mobile-payments/pay/id \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "customerEmail": "moses.oluwa@gmail.com",
  "reference": "401bb0da4f56721ea",
  "wallet": "USD"
}
'

Response

🟢 200 OK
{
  "status": true,
  "message": "payment invoice summary",
  "data": {
    "id": "6adc8125-8320-4bcd-a87b-401bb0da4f56",
    "createdAt": "2023-01-30T06:04:03.373Z",
    "updatedAt": "2023-01-30T06:04:03.373Z",
    "reference": "b13b68f0f645",
    "description": "description description description",
    "amount": 0.05,
    "centAmount": 5,
    "fees": 0,
    "centFees": 0,
    "btcFees": 1e-8,
    "satFees": 1,
    "satAmount": 21289,
    "spotPrice": 23485.89,
    "action": "usd_pay_mobilepaymet",
    "type": "debit",
    "status": "pending",
    "channel": "lightning",
    "paymentRequest": "lntb212890n1p3awhvapp5qn73yr22zautpruumsp8p525at7x4w4sellaq8hnhwa9q7ggqspqdpcv3jhxcmjd9c8g6t0dcsxgetnvdexjur5d9hkugryv4ekxunfwp6xjmmwcqzpgxqzuysp5g7vw2cwa0dp5r4wn4hrqwphuztywp0snjhgl02jda6q922qnw9cs9qyyssq2vgkydmgzm52zvdxsvgm98p499d6x9fssy6wg7kplxvz4uxxe9wxylhsrk0mn4f9yceh9fpvg95eqdjzlvtauq8n4pyqzw3z4gd3qvcpu6ln9u",
    "companyId": "c1d55a85-3914-43c0-9815-dfedf6a5823c",
    "customerId": "cd363089-748a-4d52-80c8-8cb871473bee"
  }
}