Customer API
Cards & more
Cards, referrals, profile fields, and account deletion
Cards
| Method | Path | Purpose |
|---|---|---|
POST | /customer/cards/create | Request a card |
GET | /customer/cards | List cards |
GET | /customer/cards/:id | One card |
GET | /customer/cards/:id/transactions | Card activity |
POST | /customer/cards/:id/freeze | Temporarily block |
POST | /customer/cards/:id/unfreeze | Unblock |
POST | /customer/cards/:id/terminate | Cancel permanently |
Offer freeze and unfreeze as a quick toggle. Termination can't be undone, so confirm it in your UI first.
Referrals
GET /customer/referrals/me returns the customer's referral code and
GET /customer/referrals lists their referrals. New customers pass
a referral_code when registering.
Profile fields
Organisations can ask customers for extra profile information.
GET /customer/profile-fields lists the fields and POST /customer/profile-fields
saves the answers.
Account deletion
A customer can close their account from your app. It is a multi-step flow because it may involve paying out a remaining balance, and each step is rate-limited and confirmed with a one-time code.
| Method | Path | Purpose |
|---|---|---|
POST | /customer/profile/account-deletion/start | Begin |
GET | /customer/profile/account-deletion/:requestId/summary | What will happen, including any balance |
POST | /customer/profile/account-deletion/:requestId/payout | Choose where to send the balance |
POST | /customer/profile/account-deletion/:requestId/resend-otp | Send the code again |
POST | /customer/profile/account-deletion/:requestId/confirm | Confirm with the code |
Full schemas: Customer API reference.