API Reference
Payouts /Mobile Transfer
Refund [POST]

Refund

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

request refund after a payment fails.


Body Params

ParametertypeRequired
paymentRequest
LN Invoice
string
reference
unique reference for payment
string

Request

payouts-mobile-transfers/Refund [POST]
curl --request POST \
     --url https://sandboxapi.bitnob.co/api/v1/mobile-payments/refund \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "paymentRequest": "string",
  "reference": "string"
}
'

Response

🟢 200 OK
{}