API Documentation
Accounts
Virtual Accounts
Online Checkout
Charge
- GETGet Order details based on the generated Order reference
- POSTSubmit customer card details
- POSTSubmit customer card OTP
- POSTResend OTP to customer's phone
- POSTFetch checkout transaction details
- GETFetch checkout Flash account number for transfer payment
- POSTRequest OTP before saving a user's card
- POSTRequest OTP to validate a user before fetching saved cards
- POSTSubmit user OTP
- GETGet user saved cards
- POSTCancel Checkout transaction
Transfers
Terminals
Transactions
Airtime & Data Vending
Cable & Bill Payments
Authenticate
Revoke an access_token
You can use this endpoint to revoke an access_token
.
POST
/
v1
/
auth
/
token
/
revoke
curl --request POST \
--url https://api.nomba.com/v1/auth/token/revoke \
--header 'Content-Type: application/json' \
--data '{
"clientId": "2242b79d-f2cf-4ccc-ada1-e890bd1a9f0d",
"access_token": "eyJhbGciOiJIUzI1NiJ9.eyJHOjhmYWM4M2FjLTc2YjAtNDM1Zi1hYTM1LThkOTU3ZGQ5MjdkZCI6Ikc6OGZhYzgzYWMtNzZiMC00MzVmLWFhMzUtOGQ5NTdkZDkyN2RkIiwiUjpURUFNU19PV05FUiI6IlI6VEVBTVNfT1dORVIiLCJFbWFpbDp2aWN0b3JzaG9hZ2FAZ21haWwuY29tIjoiRW1haWw6dmljdG9yc2hvYWdhQGdtYWlsLmNvbSIsImlhdCI6MTY4MTkxODU3OSwic3ViIjoiNWUyNmNmYjAtNTI5Zi00MTdiLWI4ZDItYWJjNDcxZjRjOWRiIiwiZXhwIjoxNjgxOTIyMTc5fQ.lQOsyhR1gajKdzE9IHQEtxhQyUrArctEDZiP9pWVTFY"
}'
{
"code": "00",
"description": "Token revoked successfully"
}
Body
application/json
The request payload required to revoke a clients access_token
A structure representing a request to revoke a token.
Response
200
application/json
Your request to revoke an access_token was successful.
A structure representing a response from an attempt to revoke a token
curl --request POST \
--url https://api.nomba.com/v1/auth/token/revoke \
--header 'Content-Type: application/json' \
--data '{
"clientId": "2242b79d-f2cf-4ccc-ada1-e890bd1a9f0d",
"access_token": "eyJhbGciOiJIUzI1NiJ9.eyJHOjhmYWM4M2FjLTc2YjAtNDM1Zi1hYTM1LThkOTU3ZGQ5MjdkZCI6Ikc6OGZhYzgzYWMtNzZiMC00MzVmLWFhMzUtOGQ5NTdkZDkyN2RkIiwiUjpURUFNU19PV05FUiI6IlI6VEVBTVNfT1dORVIiLCJFbWFpbDp2aWN0b3JzaG9hZ2FAZ21haWwuY29tIjoiRW1haWw6dmljdG9yc2hvYWdhQGdtYWlsLmNvbSIsImlhdCI6MTY4MTkxODU3OSwic3ViIjoiNWUyNmNmYjAtNTI5Zi00MTdiLWI4ZDItYWJjNDcxZjRjOWRiIiwiZXhwIjoxNjgxOTIyMTc5fQ.lQOsyhR1gajKdzE9IHQEtxhQyUrArctEDZiP9pWVTFY"
}'
{
"code": "00",
"description": "Token revoked successfully"
}
Assistant
Responses are generated using AI and may contain mistakes.