API Details
Use this Endpoint to revoke an OAuth token. It is possible to revoke:
- All tokens for a specific Organization.
- A single token, by passing its
tokenId
When working with our APIs, please use the Sandbox URI when testing and the Live URI when you move to Production.
LIVE https://api.nuapay.com/tpp SANDBOX https://sandbox.nuapay.com/tpp
If you haven't done so already and would like to do some testing, please Request Sandbox Access
Important: Endpoints and Webhooks may be extended from time to time and any changes we make will follow our Versioning and Backward Compatibility rules. This means that the code that you write today must be designed to be robust enough to handle any future changes (where a new object is added to (or removed from) a specific API response, for example).
Revoke All Tokens for an Organisation
This service allows you to revoke all the tokens generated against a specific merchant (by passing the encodedOrganisationId
).
Revoke a Token for an Organisation (with a Token ID)
Use this service if you want to revoke a token for a specific encodedOrganisationId
and tokenId
Revoke All Tokens for the Current Organisation
Use this service if you want to revoke all the tokens for the requesting organisation (i.e. at the merchant
level).
Revoke a Token for the Current Organisation
Use this serivce to revoke a specific tokenId
: