跳转到主要内容
POST
/
v1
/
issuing
/
transfers
Create Issuing Transfer
curl --request POST \
  --url https://api-sandbox.uqpaytech.com/api/v1/issuing/transfers \
  --header 'Content-Type: application/json' \
  --header 'x-auth-token: <api-key>' \
  --header 'x-idempotency-key: <x-idempotency-key>' \
  --data '
{
  "source_account_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
  "destination_account_id": "7c4ff2cd-1bf6-4aaa-bf16-266771425011",
  "currency": "SGD",
  "amount": 1000,
  "remark": "Transfer to Jack."
}
'
{
  "transfer_id": "5135e6cc-28b6-4889-81dc-3b86a09e1395"
}

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
source_account_id
string<uuid>
必填

The account id that initiated the transfer.

示例:

"7c4ff2cd-1bf6-4aaa-bf16-266771425011"

destination_account_id
string<uuid>
必填

The account id that received the transfer.

示例:

"7c4ff2cd-1bf6-4aaa-bf16-266771425011"

currency
string
必填

Transfer currency.

示例:

"SGD"

amount
number
必填

Transfer amount. Precision is limited to two decimal places.

必须是以下数值的倍数 0.01
示例:

1000

remark
string

The remark of the transfer.

示例:

"Transfer to Jack."

响应

200 - application/json

Transfer creation successfully.

transfer_id
string<uuid>
必填

Unique identifier for transfer.

示例:

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