跳转到主要内容
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
}

Documentation Index

Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/llms.txt

Use this file to discover all available pages before exploring further.

授权

x-api-key
string
header
必填

The API key generated by UQPAY.

x-client-id
string
header
必填

The API client id generated by UQPAY.

响应

200 - application/json

Successfully.

auth_token
string
必填

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

示例:

"2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA2YotnFZFEjr1zCsicMWpAA"

expired_at
integer
必填

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

示例:

1757449854