Account Validation
Use this interface to validate the user's account before top-up.
Headers of this API are included in the HTTP body instead of the HTTP headers. |
Request Headers
Please refer to API Structure for the basics.
The value of the function header is alipay.intl.fund.topup.consult.
Response Headers
Please refer to API Structure for the basics.
Request parameters
payAmount object REQUIRED
The payment amount in minor currency units, per ISO 4217.
payAmount={"currency":"HKD", "value":0} can also be used to check whether the Alipay account associated with userReference.
userReference string REQUIRED
The reference number of the user's Alipay account for the Alipay Wallet.
More information:
- Maximum length: 32 characters
fundSource string REQUIRED
Identifies the source of the funds for this top-up transaction. Available values:
CASHDEBITCARDBANKACCOUNTCREDITCARD
Response parameters
resultInfo object REQUIRED
The result information of this response.
minAmount object
The minimum top-up amount allowed for this top-up, in minor currency units, per ISO 4217.
The minimum top-up amount is HKD100 for cash top-ups and HKD10 for bill-payment top-ups.
when
resultCodeisSUCCESS(00000000) orAMOUNT_EXCEED_LIMIT(12007321).
maxAmount object
The maximum top-up amount allowed for this top-up, in minor currency units, per ISO 4217.
The remaining top-up capacity is the lower of: A. the daily cash top-up limit defined by the HKMA (HKD5,000) minus the total cash top-ups made since the start of the day; or B. the annual top-up limit defined by the HKMA based on the user's KYC level minus the total top-ups made since the start of the year.
when
resultCodeisSUCCESS(00000000) orAMOUNT_EXCEED_LIMIT(12007321).
Request
Response
Result/Error codes
| Code | Value | Message | Further action |
|---|---|---|---|
| SUCCESS | S | The top-up limit inquiry completed successfully. The user's Alipay account exists, and the allowed range is returned in minAmount and maxAmount. | |
| ACCOUNT_STATUS_ABNORMAL | F | The user's Alipay account is invalid or in an abnormal status. | |
| PAYEE_ACCOUNT_NOT_EXIST | F | The Alipay account does not exist; the provided userReference is not found in the system. | Do not retry the same transaction request. |
| AMOUNT_EXCEED_LIMIT | F | The requested amount exceeds the allowed limit. The total top-up amount of the user's Alipay wallet, including this request's payAmount, exceeds the limit. The allowed range is returned in minAmount and maxAmount. | |
| SYSTEM_ERROR | U | The request failed due to an unknown error. | Retry the request at a later time. |