The HTTPS protocol, API keys and originator configuration.
Note that all requests must:
- Be sent via the HTTPS protocol
- Pass a specific encoded API Key or a unique OAuth token for authentication
- Originate from an allowed IP address (the allowed IP addresses will be configured for you when you register for the service)
- Include (at a minimum) the mandatory fields required for the specific request that is being made
Note: Our API is backward-compatible. For more details see Versioning and Backward Compatibility.
Endpoints
All services may be accessed via the following URLs:
SANDBOX | https://sandbox.nuapay.com/tpp/ |
PRODUCTION | https://api.nuapay.com/tpp/ |
To request an API Key please contact our Support Team: api.support@nuapay.com.
Response Handling
All API requests generate responses.
Successful requests return one of the following:
- 200 (OK - The request completed successfully)
- 201 (Created - A new resource has been created successfully)
Response codes in the 400 to 499 range are generally related to business validation errors. Response codes in the 500 to 503 range are related to API service issues.
See HTTP Response Codes for more information on the various responses and possible API error codes.