Overview
Soft credit checks for people who give consent on your own website, run from your server.
X-Ray Finance runs a soft credit check for a person who gave consent on your own page, and returns the result. A check through the API costs the same as an X-Ray Finance check on a form and shows up in X-Ray History like one.
Before you add API keys
X-Ray Finance through the API runs on your X-Ray subscription, the same one your forms use. You need an active X-Ray subscription, with X-Ray set up for the subaccount: its terms accepted and its business details complete. Without it, live checks answer 403 xraySetupIncomplete.
The first time an owner or admin opens the API page, it asks them to set up X-Ray Finance for the API, once per subaccount: add our paragraph to the privacy policy at the URL in your X-Ray business details, give the policy a version, and accept the X-Ray Finance API Addendum. API keys, test or live, can be created after that. You don't register your pages: put the consent sentence on any page where people ask about your product.
See Consent and privacy policy for what the policy and the sentence need, and Testing checks to build with a test key before you go live.
Endpoints
| Endpoint | Permission | Docs |
|---|---|---|
POST /v1/public/xray/finance/checks | xrayFinanceChecksRun | Run a check |
GET /v1/public/xray/finance/checks/{id} | xrayFinanceChecksRead | Read a check |
POST /v1/public/xray/opt-outs | xrayOptOutsRecord | Opt-outs |
What a check costs
A check is charged to your X-Ray wallet at the same price as on forms, and only when a result comes back. With "addOns": ["debtToIncome"] it also asks for the debt-to-income ratio and income, charged as on forms. The same person's check from the last 14 days comes back again for free. Skipped and refused checks are never charged.

