Before you start
Sign in at developers.fastcac.com, create an organization, and create a test API key. It starts withfc_test_. Keep it on your server: anyone with the key
can act for your organization.
1
Check that your key works
Response
2
Check the business name
line_of_business must be one of the values from
GET /v1/lines-of-business.Response
available is false, reason.code says why. See Name checks.3
Create the registration
Send what you have; you can fill in the rest later with
PATCH. Send an Idempotency-Key so a
retried request can’t create two registrations.Response (201)
missing_fields lists what’s still needed before you can submit. Here it’s empty.4
Upload the documents
Each proprietor needs a
means_of_id, a passport photograph and a signature. Upload them as
multipart form data.Response (201)
5
Submit
pending_payment. In test mode, mark it paid with the test helper:submitted. In test mode CAC’s decision arrives about 60 seconds later. To skip the
wait, advance it to approved:Response
6
Download the certificate
/status-report.Next
Handle every outcome
Make a registration get queried, rejected or fail verification, on purpose.
Listen for changes
Get a webhook when a registration is approved instead of polling.