Documentation Index
Fetch the complete documentation index at: https://developers.circle.com/llms.txt
Use this file to discover all available pages before exploring further.
The Partner 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:- You have an API key for the Partner Onboarding API from the Circle Mint Console.
- Your application is in
DRAFTorPENDING_CUSTOMER_INFORMATIONstatus. - You know 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
| Field | Description |
|---|---|
fileContent | Binary file content |
fileName | File name with extension (for example, passport.pdf) |
datumName | Schema field name this file satisfies (for example, authorizedRepGovernmentId) |
Conditionally required fields
| Field | Description |
|---|---|
refId | UUID of the entity this file belongs to. Required for array sections. |
issuedCountry | ISO 3166-1 alpha-2 country code. Required for identity documents. |
documentType | Form of identity document being uploaded. Required when the schema field includes an x-documentTypes extension. Standard government ID fields accept passport, usdl (US driver’s license), or usid (US state ID). Notarized government ID fields accept idNotarization. |
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)