POST
/
wallets
/
{wallet_id}
/
balances
curl --request POST \
  --url https://api.live.paisr.tech/{version}/wallets/{wallet_id}/balances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "SRD Revenue",
  "currency": "SRD",
  "type": "primary"
}'
{
  "success": true,
  "data": {
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

wallet_id
string
required

The Wallet ID.

Body

application/json
The details required to create a balance.
title
string
required

Short title or name for the balance.

Example:

"SRD Revenue"

currency
string
required

Currency code in ISO 4217 format.

Example:

"SRD"

type
enum<string>
required

Type of balance.

Available options:
primary,
saving,
investment
Example:

"primary"

Response

200
application/json
Successfully created wallet balance.
success
boolean
default:true

Indicates if the request was successful.

data
object