Overview
As outlined in Partner Integration, before you, as a partner, can initiate any API requests on behalf of your merchants, you must first generate an OAuth token unique to a specified merchant.
Along with offering the service to Request Access Token for Organisation
, a number of other endpoints are available to allow you to revoke OAuth tokens, which are described in the following sections.
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 SANDBOX https://sandbox.nuapay.com/
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 a Token for an Organisation
Use this service if you want to revoke a token for a specific encodedOrganisationId
and tokenId
Revoke a Token with a Token Identifier
Use this service to revoke a token by passing its tokenId
Revoke All Tokens
This service allows you to revoke all the tokens generated against a specific merchant (by passing the encodedOrganisationId
).
Revoke All Tokens for the Current Organisation
Use this service if you want to revoke all the tokens for the requesting organisation.