Receive beneficiary binding result notification

After successfully binding a new beneficiary to a Zyla account, Zyla uses this API to notify you of the beneficiary binding result.

Structure

A message consists of a header and body.

Request header

Field

Required

Sample

Description

Client-IdYesClient-Id: *****

For more information about these request header fields, see Request header.

SignatureYesSignature: algorithm=RSA256, keyVersion=2, signature=*****

Content-Type

YesContent-Type: application/json; charset=UTF-8
Request-TimeYesRequest-Time: 2019-04-04T12:08:56+08:00


Request parameters

bindBeneficiaryRequestId String  REQUIRED

The unique ID assigned by the Partner to identify a request for beneficiary binding.

More information:

  • This field is an API idempotency field.For details about API idempotency, see the Idempotency chapter.
  • Maximum length: 64 characters

result Result  REQUIRED

Indicates the result of beneficiary binding.

Show child parameters

beneficiary Beneficiary  REQUIRED

Describes details about the beneficiary.

This field is returned as needed only when result.resultStatus =S.

Show child parameters

Response parameters

result Result  REQUIRED

Indicates whether this API is called successfully.

Show child parameters
API Explorer

Request

Request Body

Response

Response Body

Result processing logic

Zyla sends you the binding result with the bindingResult.result parameter in the request. For details, see the following bindingResult.resultCode section. After receiving the result notification, you need to send a response to acknowledge receipt of the notification.

Note: You must sign the message before sending the response. For details, see Sign a request and validate the signature and Response header.  

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

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

result.resultCode

CodeValueMessageFurther action
SUCCESSSSuccess
PROCESS_FAILFA general business failure occurred. Do not retry.

Human intervention is usually needed. 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.

bindingResult.resultCode

CodeValueMessageFurther action
UN_SUPPORT_BUSINESSFUnsupported business.

Invalid parameters are used e.g. currency is incorrect. Retry with the correct information.

USER_NOT_EXISTFThe user does not exist.

Retry with the correct user information.

RISK_REJECTFThe transfer is rejected for risk control reasons.

Prompt the user that the request is rejected because the risk control failed.

REPEAT_BIND_BENEFICIARY_REQUESTURepeated request to bind a beneficiary.

Check whether the beneficiary has already been successfully bound with the inquiryBeneficiary API.

USER_NO_PERMISSIONFUser does not have permission.

Check the permission of the user and retry.

BENEFICIARY_ALREADY_EXISTEDUBeneficiary already existed.

Check whether the beneficiary has already been successfully bonded with the inquiryBeneficiary API.

REPEAT_REQ_INCONSISTENTFRepeated requests are inconsistent.

Ensure all the fields in the requests are the same.

REFERENCE_BENEFICIARY_ID_EXISTFReference beneficiary id exist.

Check whether the beneficiary has already been successfully bound. 

CARD_TEMPLATE_NOT_EXISTFNo card templates met the query conditions.

Check whether the correct beneficiary template has been used.