Paycose Docs
E2ECreate Balances
POST/balances

SGD balance (destination)

Request body: CreateBalanceRequest

Responses: 200, 400, 403, 404

Generated from the code contract; no hand-written description yet.

Request

Example

curl -X POST 'https://api.paycose.com/api/v1/app1/platform/wallet/balances/' \
  -H 'X-Session-Token: {{session_token}}' \
  -H 'X-Country: {{country}}' \
  -H 'X-Test-Mode: {{x_test_mode}}' \
  -d '{
  "customer_id": "{{e2e_customer_destination}}",
  "currency": "SGD",
  "name": "E2E destination — SGD",
  "description": "Settlement balance used as transfer_data.balance_id by the Razer DeathAdder SGD invoice."
}'

Headers

NameValueDescription
X-Session-Token{{session_token}}
X-Country{{country}}
X-Test-Mode{{x_test_mode}}true=wallet_test, false=wallet_live (default). Toggle the x_test_mode collection variable to flip every applicable request.

Body

NameTypeValue
customer_idstring{{e2e_customer_destination}}
currencystringSGD
namestringE2E destination — SGD
descriptionstringSettlement balance used as transfer_data.balance_id by the R…
{
  "customer_id": "{{e2e_customer_destination}}",
  "currency": "SGD",
  "name": "E2E destination — SGD",
  "description": "Settlement balance used as transfer_data.balance_id by the Razer DeathAdder SGD invoice."
}

Responses

400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
403403 Forbidden

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
404404 Not Found

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page