Skip to main content
POST
/
api
/
wallets
/
wallets
/
{id}
/
balances
Create a balance
curl --request POST \
  --url http://localhost/api/wallets/wallets/{id}/balances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z",
  "priority": 123
}
'
{
  "data": {
    "name": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z",
    "priority": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.formance.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string

Use an idempotency key

Path Parameters

id
string
required

Body

application/json
name
string
required
expiresAt
string<date-time> | null
priority
integer<bigint>

Response

Created balance

data
object
required