Skip to content

Create balance

POST
/bridge-payment/account-balance

Creates an account balance ledger row with ownership checks.

Authorizations

SessionAuth

Session ID from Flowless authentication

TypeAPI Key (header: X-Session-ID)

Request Body

application/json
JSON
{
"user_id": "string",
"organization_id": "string",
"project_id": "string",
"customer_id": "string",
"balance_type": "general",
"balance_cents": 0,
"currency": "USD",
"reference_code": "string",
"expires_at": "string",
"status": "active",
"metadata": {
"additionalProperties": "string"
}
}

Responses

Balance created

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI