Receive account balance notificationSignature required

After you have successfully prefunded your WF account, WorldFirst uses notifyVostro to notify you of the prefunding result. 

Structure

A message consists of a header and body. The following sections are focused on the body structure. For the header structure, see:

Request parameters

fundingId String  REQUIRED

The unique ID that is assigned by WorldFirst to identify a prefunding request.

More information about this field

  • This field is an API idempotency field.You can use this parameter to perform idempotency control. For details about API idempotency, see the Idempotency chapter.
  • Maximum length: 128 characters

balanceResult Result object REQUIRED

Indicates whether the prefunding process is successful.

Show child parameters

payerBankAccount PayerBankAccount object REQUIRED

Indicates the payer's bank account information. 

Show child parameters

beneficiaryAccount BeneficiaryBankAccount object REQUIRED

Indicates the beneficiary's WorldFirst virtual account information. 

Show child parameters

balanceChangeAmount Amount object REQUIRED

Indicates the changes in the account balance, namely the amount of money added to your balance account. 

Show child parameters

balanceChangeTime DateTime  

Indicates the time when the account balance changes, namely the time when you top up your account balance.

More information about this field

  • The value follows the ISO 8601 standard format. For example, "2019-11-27T12:01:01+08:00".

remitInfo String  

Additional information related to the prefunding request. 

More information about this field

  • Maximum length: 530 characters

Response parameters

result Result object REQUIRED

Indicates whether this API is called successfully.

Show child parameters
API Explorer

Request

Request Body

Response

Response Body

Processing logic

WorldFirst sends you the result of the prefunding process by specifying the balanceResult.result parameter in the request. For details, see the following balanceResult.resultCode section. After receiving the result notification, you need to send a response to acknowledge the reception of the notification.

Note: You must sign the message before making the response. Take the following header codes as an example. For details, see the "Sign a request and validate the signature " chapter and the Response header chapter. 

Sample Code

If you do not send the acknowledgment back toWorldFirst, WorldFirst retries to send the result by complying with the following attempt rules:

  • WorldFirst retries notifications 7 times at most.
  • Intervals between notifications: 2m, 10m, 10m, 1h, 2h, 6h, and 15h.

balanceResult.resultCode

CodeValueMessageFurther action
SUCCESSSSuccess
REFUNDSRefund success
PROCESS_FAILFA 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.

result.resultCode

CodeValueMessageFurther action
SUCCESSSSuccess
PARAM_ILLEGALFIllegal 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_FAILFA 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.

UNKNOWN_EXCEPTIONUAPI failed due to unknown reason.

The service might be down, retry later. If the issue persists, contact our Technical Support Team.

INVALID_APIFThe called API is invalid or not active.

Check whether the correct API is being called.

INVALID_CLIENTFThe client is invalid.

The Client ID does not exist or is invalid.

INVALID_SIGNATUREFThe signature is invalid.

Make sure the request is properly signed with a valid signature.

METHOD_NOT_SUPPORTEDFThe server does not implement the requested HTTP method.

Ensure the HTTP method is POST.

CONTRACT_CHECK_FAILFThe contract check has failed.

Contact our Technical Support Team to check the status of the API contract. Make sure it is still valid and try again.

@2024 WorldFirst