Skip to main content

Unbind​

This API to is used to unbind.

Request Body required
  • app_id int32 required

    This is a Zalopay-provided identifier specific to the merchant's service or application, established during the integration agreement for payment methods.

  • identifier string(128) required

    User's identifier on the merchant system, it can be the merchant user's id, user's name ...

  • binding_id string(128) required

    The ID of binding that the user wants to unbind.

  • req_date int64 required

    Current timestamp in milliseconds - GMT+7

  • mac string required

    Authentication information mac = HMAC(hmac_algorihtm, mac key, hmacinput), see as below:
    - hmac_algorihtm: is a security method registered by Merchant with Zalopay, the default is HmacSHA256.
    - mac key: provided by Zalopay at registration.
    - hmacinput = app_id + | + identifier + | + binding_id + | + req_date.

    Please refer to secure data transmission for detailed information.

Responses

OK


Schema
  • return_code integer

    Status code.
    Please refer to status code for possible values.

  • return_message string

    Description of status code.

  • sub_return_code integer

    Staus code detail.
    Please refer to sub status code for possible values.

  • sub_return_message string

    Description of status code detail.

Loading...