Atto Developer Documentation (all)
Download OpenAPI description
Overview
URL
API Support
License
Languages
Servers
UK Environment (Production)
https://uk.api.atto.co/
US Environment (Production)
https://us.api.atto.co/
Accounts must pass validation before a score can be generated. If validation fails, then requests to GET /atto-score/v1/consents/{consentId}/accounts/{accountId}
will produce a 422 Unprocessable Entity
response. Only the first validation failure encountered will be stored and returned on request.
{
"code": "atto_score_not_generated",
"description": "Atto Score could not be generated.",
"details": "<see table below for all possible failure reasons>",
"correlationId": "string"
}
Possible Failures |
---|
No transactions |
Account is not a GBP account |
Account is not a Personal account |
Account is not a Current account |
The minimum transaction period of 90 days was not met |
The minimum transaction count of 50 was not met |
Transactions without BookingDate |
Account balances are null |
- UK Environment (Production)
https://uk.api.atto.co/atto-score/v1/consents/{consentId}/accounts/{accountId}
- US Environment (Production)
https://us.api.atto.co/atto-score/v1/consents/{consentId}/accounts/{accountId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://uk.api.atto.co/atto-score/v1/consents/{consentId}/accounts/{accountId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": { "accountId": "string", "attoScore": 0, "probabilityOfDefault": 0.1, "dateGenerated": "string", "version": "string", "range": { … } }, "meta": {} }