Customer Credits - Accounts (Experimental)
Create a customer credits account
Create a new credits account for a customer. Optionally seed it with an initial balance.
post/v1/customer-credits/accounts
Request body
Example request
{
"name": "default",
"customer_id": "cust_abc123",
"unit_label": "credits",
"initial_balance": "300"
}Response
Account created
Example response
{
"id": "cca_abc123",
"customer_id": "cust_abc123",
"name": "default",
"unit_label": "credits"
}