Balance Accounts
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_HKJ432LKJ12initial_balancenumber · floatOptional
Responses
201
Account created successfully
application/json
400
Invalid input or Stripe customer ID not found
post
/account/createEndpoint to delete an account. An account can't be deleted if it still has funds.
Authorizations
api_keystringRequired
Path parameters
idstringRequired
Account ID
Responses
204
Account deleted successfully
400
Account cannot be deleted as it still has funds
404
Account not found
delete
/account/{id}No content
Last updated