跳转到主要内容
POST
/
v1
/
issuing
/
cards
/
pin
Reset Card PIN
curl --request POST \
  --url https://api-sandbox.uqpaytech.com/api/v1/issuing/cards/pin \
  --header 'Content-Type: application/json' \
  --header 'x-auth-token: <api-key>' \
  --header 'x-idempotency-key: <x-idempotency-key>' \
  --data '
{
  "card_id": "5135e6cc-28b6-4889-81dc-3b86a09e1395",
  "pin": "123456"
}
'
{
  "request_status": "SUCCESS"
}

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-auth-token
string
header
必填

The API token for login provided by UQPay.

请求头

x-on-behalf-of
string

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts endpoint. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

x-idempotency-key
string<uuid>
必填

A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.

请求体

application/json
card_id
string<uuid>
必填

Unique identifier for card.

示例:

"5135e6cc-28b6-4889-81dc-3b86a09e1395"

pin
string
必填

New PIN for the card, must be a 6-digit numeric value.

示例:

"123456"

响应

200 - application/json

Set card pin successfully.

request_status
enum<string>
必填

Request status.

可用选项:
SUCCESS