2.3.4 Mock Add Balance

Path:openapi/card/mock/add/balance

Method:POST

Content-Type:application/json

Response Content-Type:application/json

Description:

This interface is only used for mock data in the test environment, and there is no such interface in the production environment! ! !

If you get response like this in test environment:

  {
  "code": "A0006",
  "msg": "balance is insufficient"
  }

you can use this api to add your balance

Example Request:

None

Request Parameter:

None

API Response:

If data is empty, please invoke this api again; only data is not empty, balance is add success.

Parameter name Type Description
code string Error code
msg string Error message
data array coin balance list
  coin string Coin
  balance string Balance

Example Response:

{
    "code": "00000",
    "msg": "ok",
    "data": [
        {
            "coin": "usdt",
            "balance": "100000.00000000"
        }
    ]
}
Copyright © HyperCard 2023 all right reserved,powered by GitbookUpdate Time: 2025-01-14 15:38:46

results matching ""

    No results matching ""