Skip to main content

Query merchant's account balance

Query merchant's account balance

Request Body required

Query merchant's account balance

  • request_id string

    Client request identity, using for tracing request

  • app_id int64 required

    The unique ID of the partner will be provided after the partner registered successfully with Zalopay

  • payment_id string required

    The unique ID of the partner will be provided after the partner registered successfully with Zalopay

  • time int64 required

    Requests timestamp in ms

  • mac string required

    It is a signature of the order. It’s calculated by following input: hmacInput = (app_id+ “|” + payment_id+ “|” + time) and use sha256 with app’s hmac key.

    Please refer to secure data transmission for detailed information.

Responses

OK


Schema
  • return_code integer

    1 - SUCCESS

    2 - FAIL

  • return_message string

    Return code description

  • sub_return_code integer

    -401 - Request param illegal

    -402 - Unauthorized

    -500 - Zalopay system error

    -503 - The system is maintenance

  • sub_return_message string

    Sub return code description

  • data object
  • balance int64

    Partner’s account balance

Loading...