Check payout resultSignature required
Use this API to query the fund payout result.
- You need to set up a timeout mechanism to stop the polling process, in case no conclusive transfer result is reached.
- If you do not receive any notification from WorldFirst two hours after you call the createPayout API; and meanwhile, if you call the inquiryPayout API and get
UNKNOWN
in the transferResult.resultCode, contact our Technical Support Team for help.
Structure
A message consists of a header and body.
Request header parameters
Request parameters
transferRequestId String CONDITIONAL
The unique ID assigned by the Partner to identify a payout request.
Use either transferRequestId or transferId.
More information:
- This field is an API idempotency field.For details about API idempotency, see the Idempotency chapter.
- Maximum length: 64 characters
transferId String CONDITIONAL
The unique ID returned by WorldFirst to identify a payout request.
Use either transferRequestId or transferId.
Response parameters
result Result REQUIRED
Indicates whether this API is called successfully.
transferResult Result REQUIRED
Indicates the result of the payout request.
This field is returned as needed only when
result.resultStatus
=S
.
transferRequestId String REQUIRED
The unique ID assigned by the Partner to identify a payout request.
This field is returned as needed only when result.resultStatus =
S
.
More information:
- This field is an API idempotency field.For details about API idempotency, see the Idempotency chapter.
- Maximum length: 64 characters
transferId String REQUIRED
The unique ID assigned by WorldFirst to identify a payout.
This field is returned as needed only when result.resultStatus =
S
.
More information:
- Maximum length: 64 characters
transferFinishTime DateTime
Indicates the finishing time of a payout.
This field is returned as needed only when result.resultStatus =
S
.
More information:
- The value follows the ISO 8601 standard format. For example, "2019-11-27T12:01:01+08:00".
transferFromDetail TransferFromDetail REQUIRED
Payout details submitted by the payer.
This field is returned as needed only when result.resultStatus =
S
.
transferToDetail TransferToDetail REQUIRED
Payout details for the beneficiary.
This field is returned as needed only when result.resultStatus =
S
.
Request
Response
Result processing logic
After calling the API, a response is returned with two result codes, result.resultStatus and transferResult.resultStatus.
- result.resultStatus indicates the result of the inquiry.
- transferResult.resultStatus indicates the result of the payout.
The possible responses for result.resultStatus are:
Result status | Description |
| This indicates the API call succeeded. |
| This indicates the API call failed. For more information on specific reasons, see result.resultCode table. |
| This indicates the API call result is unknown. Partner can make a query when the returned status is
If none of the queries is successful, contact our Technical Support Team. |
The possible responses for transferResult.resultStatus are:
result.resultCode
Code | Value | Message | Further action |
---|---|---|---|
SUCCESS | S | Success | |
UNKNOWN_EXCEPTION | U | API failed due to unknown reason. | The service might be down, retry later. If the issue persists, contact our Technical Support Team. |
REQUEST_TRAFFIC_EXCEED_LIMIT | U | The request traffic exceeds the limit. | Call the interface again to resolve the issue. If the issue persists, contact our Technical Support Team. |
PARAM_ILLEGAL | F | Illegal parameters exist. For example, a non-numeric input, or an invalid date. | Check and verify whether the request fields, including the header fields and body fields, are correct and valid. For details on the fields of each API, see the specific API Structure section. |
PROCESS_FAIL | F | A general business failure occurred. Do not retry. | Human intervention is usually needed. It is recommended that you contact our Technical Support Team to resolve the issue. |
INVALID_API | F | The called API is invalid or not active. | Check whether the correct API is being called. |
INVALID_CLIENT | F | The client is invalid. | The Client ID does not exist or is invalid. |
INVALID_SIGNATURE | F | The signature is invalid. | Make sure the request is properly signed with a valid signature. |
METHOD_NOT_SUPPORTED | F | The server does not implement the requested HTTP method. | Ensure the HTTP method is |
transferResult.resultCode
Code | Value | Message | Further action |
---|---|---|---|
SUCCESS | S | Success | |
PROCESSING | S | The transfer is in process. | Try again later. |
ORDER_NOT_FOUND | U | Order not found. | Retry with correct order information. |
PROCESS_FAIL | F | A general business failure occurred. Do not retry. | Human intervention is usually needed. It is recommended that you contact our Technical Support Team to resolve the issue. |
ORDER_IS_REVERSED | F | The order is reversed. | Retry with another payout order. |
USER_NOT_EXIST | F | The user does not exist. | Retry with the correct user information. |
USER_ACCOUNT_ABNORMAL | F | The user account status is abnormal. | Retry with a different user. If the issue persists, contact our Technical Support Team for more details. |
USER_STATUS_ABNORMAL | F | The status of the user is abnormal. Retry with another card. | Retry with a different user. |
AMOUNT_EXCEED_LIMIT | F | The amount exceeds the limit. | Make sure the amount submitted is correct and retry. |
RISK_REJECT | F | The transfer is rejected for risk control reasons. | Prompt the user that the request is rejected because the risk control failed. |
CARD_INFO_NOT_MATCH | F | The card information does not match. | Retry with the correct card information. |
BALANCE_NOT_ENOUGH | F | Balance is not enough. | Make sure the balance is sufficient and retry. |
CURRENCY_NOT_SUPPORT | F | The currency is not supported. | Make sure the currency is correct and retry. |
ORDER_NOT_EXIST | F | The order does not exist. | Retry with another order. |
UN_SUPPORT_BUSINESS | F | Unsupported business. | Retry with correct parameters. |
USER_NO_PERMISSION | F | User does not have permission. | Check user permission and retry. |
ORDER_IS_CLOSED | F | The order is closed. | Retry with another payout order. |