Customers
Create a sub-customer
Changed onCreates a customer underneath the partner making the call. There's no parentId to pass, because the API key identifies the parent.
Only type is required. It decides whether the customer runs KYC or KYB, and it can't be changed later. Everything else that classifies the customer is set afterwards with PUT /v1/customers/{customerId}.
post/v1/customers
Request
- Base URLhttps://api.sandbox.alfredpay.io
- URLhttps://api.sandbox.alfredpay.io/v1/customers
- Auth
- HTTP bearer
- or API key in header api-key and API key in header api-secret
Headers
Idempotency-Keystring uuid required
Required on every state-changing POST, simulators included; the only exempt POST is …/verifications/preflight. Replay (same key, same body) returns the original response with Idempotent-Replayed: true; same key with a different body → 409 idempotency_conflict. Keys are UUIDs, scoped to the API key, retained for 24 hours.
Request body
Response
Created
Changes
- info
endpoint added
- info