Skip to main content
POST
/
v1
/
connect
/
token
Access Token
curl --request POST \
  --url https://api-sandbox.uqpaytech.com/api/v1/connect/token \
  --header 'x-api-key: <api-key>' \
  --header 'x-client-id: <api-key>'
{
  "auth_token": "2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA",
  "expired_at": 1757449854
}

Authorizations

x-api-key
string
header
required

The API key generated by UQPAY.

x-client-id
string
header
required

The API client id generated by UQPAY.

Response

Successfully.

auth_token
string
required

Returned authentication token. Clients must store this securely and destroy it when it is no longer needed.

Example:

"2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA"

expired_at
integer
required

Expiration time represented as a Unix timestamp in second-level precision. Indicates the point in time after which the token becomes invalid.

Example:

1757449854