Authentication
OAuth bearer tokens for API access. Integrators authenticate with appId + appSecret issued by the PayUs admin.
POST
/api/v1/oauth/tokenExchange client credentials for a JWT bearer token. Use HTTP Basic Auth with your appId as the username and appSecret as the password.
Auth: Basic Auth (appId:appSecret)
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| Authorization | header | Yes | Basic base64(appId:appSecret) |
Response Example
{
"token": "<jwt>",
"type": "Bearer",
"expiryDate": "2026-04-21T13:30:00Z"
} SandboxCalls go to
https://payus.co.nz