Balance Accounts

Create a new account

post

Endpoint to create a new account using a Stripe customer ID. Verifies the existence of the customer ID in Stripe before account creation.

Authorizations
api_keystringRequired
Body
stripe_customer_idstringOptionalExample: cus_HKJ432LKJ12
initial_balancenumber · floatOptional
Responses
post
/account/create

Get account details

get

Endpoint to retrieve account details.

Authorizations
api_keystringRequired
Path parameters
idstringRequired

Account ID

Responses
200

Account details retrieved successfully

application/json
get
/account/{id}

Delete an account

delete

Endpoint to delete an account. An account can't be deleted if it still has funds.

Authorizations
api_keystringRequired
Path parameters
idstringRequired

Account ID

Responses
delete
/account/{id}

No content

Last updated