Skip to content

Check Pending Settlement

This API is protected by IP validation. Make sure you use whitelisted IP when hitting this API

Request

  • Method: POST
  • Endpoint: https://api.my.dgflazz.com/v1/seler/api/settlement/pending

JSON Payload

Parameter Description Data Type Mandatory
sign Signature with this formula md5(username + apiKey + "pending-settlement") String Yes

Example

Here is the JSON structure that we expect:

username: apiUsername123
apiKey: something
{
    "sign": "17c75892803cb049bc464ecaabb17b33"
}

Response

Response JSON Payload

Parameter Description Data Type Mandatory
rc Response Code String Yes
message Response Code Message String Yes
balance Your current balance Double No. Available only in Success Response

Example

Here is a JSON example of what you will receive:

Success

  • HTTP status code: 200
{
    "data": {
        "rc": "00",
        "message": "Success",
        "balance": 100000.03
    }
}

Wrong Signature

  • HTTP Status Code: 401
{
    "data": {
      "rc": "41",
      "message": "Wrong Signature"
    }
}

Unknown IP

  • HTTP Status Code: 403
{
    "data": {
      "rc": "45",
      "message": "Invalid IP"
    }
}

Attention

JSON Response wrapped by data variable, make sure you parse it correctly.