The End User Onboarding API base URL is
https://api-sandbox.circle.com for
sandbox and https://api.circle.com for production. All requests require a
Bearer token obtained via Circle key exchange in the Authorization header. All
POST requests require an X-Idempotency-Key header with a client-generated
UUID v4.Prerequisites
Before you begin, ensure that you’ve:- Obtained an API key for the End User Onboarding API from the Circle Mint Console.
- Confirmed your application is in
DRAFTorPENDING_CUSTOMER_INFORMATIONstatus. - Identified which
datumNamefields need files (from the schema).
Steps
Step 1. Upload a document
Upload a file and link it to a field in the application:Required fields
Conditionally required fields
Uploads for array entities need one more step after this request completes.
Uploading a document for an array entity returns a
documentId, but it does not
complete the entity’s document field by itself. Save the array section again
with the returned documentId in the relevant field, including the same refId
so the API updates the existing entity instead of creating a duplicate. See
Array sections for an example.409 error. The application must
be in DRAFT or PENDING_CUSTOMER_INFORMATION.
Step 2. List all documents
List all files for an application:Step 3. Download a document
Download a file you uploaded:Content-Type: application/octet-stream
header.
Step 4. Delete a document
Delete a document that is no longer needed:204 No Content.
See also
- Create and populate applications
- Submit and track applications
- Array sections (for
refIdusage)