Every partner error code
curl --request GET \
--url https://app.sahlfinancial.com/api/v1/partner/errors \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.sahlfinancial.com/api/v1/partner/errors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/partner/errors"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"notes": [
"<string>"
],
"errors": [
{
"code": "<string>",
"http_status": 123,
"meaning": "<string>",
"retry": true,
"where": "<string>"
}
],
"format": "{\"detail\": {\"code\": \"...\", \"message\": \"...\"}}"
}{
"detail": "Invalid or revoked API key"
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "internal_error",
"message": "Unexpected error. Quote X-Request-ID to support."
}
}Every partner error code
Any valid API key; no scope needed.
Every error code the partner routes answer with: HTTP status, meaning, retry.
GET
/
v1
/
partner
/
errors
Every partner error code
curl --request GET \
--url https://app.sahlfinancial.com/api/v1/partner/errors \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.sahlfinancial.com/api/v1/partner/errors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/partner/errors"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"notes": [
"<string>"
],
"errors": [
{
"code": "<string>",
"http_status": 123,
"meaning": "<string>",
"retry": true,
"where": "<string>"
}
],
"format": "{\"detail\": {\"code\": \"...\", \"message\": \"...\"}}"
}{
"detail": "Invalid or revoked API key"
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "internal_error",
"message": "Unexpected error. Quote X-Request-ID to support."
}
}Authorizations
API key created in the console. Scopes: kyc:extract, kyc:verify, kyc:eid; kyb:onboard, kyb:ice; statements:read; webhooks:manage; requests:read, requests:write; bank:read, bank:write (Growth plan, enabled per workspace by Sahl); registry:read; cases:read; scoring:read, scoring:write; policy:read, policy:write; usage:read. The Sandbox specimen routes, GET /v1/partner/me and GET /v1/partner/errors need any valid key.