Customer Credits - Accounts
Close an account
Changed onPermanently close an account. This action cannot be undone.
post/v1/customer-credits/accounts/{id}/close
Request
- Base URLhttps://api.creem.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Response
Account closed
Example response
{
"id": "cca_abc123",
"customer_id": "cust_abc123",
"name": "default",
"unit_label": "credits"
}Changes
- info
api tag
Customer Credits - Accountsadded - info
api tag
Customer Credits - Accounts (Experimental)removed
- info
- breaking
the
/////response's property type changed fromobjecttostringfor status - breaking
the
/////response's property type changed fromobjecttostringfor status
- breaking