Onboarding
Upload a person's identity document
Changed onSame limits and shape as the business upload. Needs the relatedPersonId returned by the KYB or KYC submission, so run that first.
post/v1/persons/{relatedPersonId}/documents
Request
- Base URLhttps://api.sandbox.alfredpay.io
- URLhttps://api.sandbox.alfredpay.io/v1/persons/{relatedPersonId}/documents
- 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 multipart/form-data
Response
Uploaded
Changes
- info
endpoint added
- info