🚀 Try our APIs instantly — no account needed. See how →
curl --request POST \
--url https://api.nomba.com/v1/checkout/refund \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'accountId: <accountid>' \
--data '
{
"transactionId": "TXN-123456789",
"amount": 5000,
"accountNumber": "0123456789",
"bankCode": "058"
}
'{
"code": "00",
"description": "Success",
"data": {
"success": true,
"message": "Refund processed successfully"
}
}You can use this endpoint to refund a checkout transaction.
curl --request POST \
--url https://api.nomba.com/v1/checkout/refund \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'accountId: <accountid>' \
--data '
{
"transactionId": "TXN-123456789",
"amount": 5000,
"accountNumber": "0123456789",
"bankCode": "058"
}
'{
"code": "00",
"description": "Success",
"data": {
"success": true,
"message": "Refund processed successfully"
}
}Documentation Index
Fetch the complete documentation index at: https://developer.nomba.com/llms.txt
Use this file to discover all available pages before exploring further.
Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN. You need to use an "Authorization" HTTP header to provide your ACCESS_TOKEN. For example: Authorization: {ACCESS_TOKEN}.
The parent accountId of the business.
"890022ce-bae0-45c1-9b9d-ee7872e6ca27"
The request payload required to refund a checkout transaction.
The request object for refunding a checkout transaction
The ID of the transaction to be refunded
"TXN-123456789"
The amount to be refunded
5000
The account number for the refund
10"0123456789"
The bank code for the refund
"058"