Skip to content
Portal

Conventions

The large lists (operations, cards, cardholders) are read by pages, with a grid parameter holding, as URL-encoded JSON, the search, the filters, the sort, the page size and the cursor.

{ "q": "martin", "filters": { "status": ["active"] }, "sort": { "key": "created_at", "dir": "desc" }, "limit": 50 }
Fenêtre de terminal
curl -G http://localhost:3000/cards -H "Authorization: Bearer $TOKEN" \
--data-urlencode 'grid={"q":"martin","filters":{"status":["active"]},"limit":50}'
{ "cards": [ … ], "total": 128, "total_exact": true, "next_cursor": "eyJ2IjoiMjAyNi0xMS0yN1QxO…", "holders": { … } }
  • Next page: send the same request again with "cursor": "<next_cursor>". No next_cursor: it is the last page. The cursor keeps its position even if rows arrive between two pages.
  • Total: counted up to 10,000 rows and within a bounded time; beyond, total_exact is false and total is a lower bound.
  • Page size: 25 by default, 500 at most.
  • Counts per filter value: &facet=<filter> returns the number of rows for each value.

Every error has the same shape:

{ "error": { "code": 409, "message": "Transition created → active non autorisée" } }
Status When
400 Invalid request: missing or wrong field, value outside the list
401 No token, expired or invalid token
403 Permission missing, or object outside your scope
404 Unknown object (or another bank’s: it does not exist for you)
409 Action impossible in the object’s state (status transition, operation already presented)
429 Quota exceeded (see below)
500 Platform error: retry later, report it if it persists

The message is in French, written for the portal’s users; do not treat it as a code.

Quota Set by Beyond it
Calls per minute, per user The platform, per bank 429
Calls per minute, for the bank The platform, per bank 429
Authorizations per second and burst The platform, per bank 429 on the API, 91 on the networks
Simultaneous authorizations The platform, per bank same

A 429 answer carries Retry-After: the number of seconds to wait. Wait at least that long before retrying, with an increasing delay if it repeats.

  • A file whose content was already received is refused as a duplicate: sending a file again does not process it twice.
  • A dispute financial decision has one effect only, even approved twice.
  • Events are delivered at least once: deduplicate on their identifier.
  • API authorizations are not deduplicated: do not send the same request twice without having read the first one’s answer (when in doubt, read GET /authorizations?grid=… again).

The API is version 1. A field may be added to an answer without notice: ignore the fields you do not know. A removal or a change of meaning will come with a new version, announced in the release notes.