Play your partSUPPORTLOGINGET STARTED →
EXPLOREWHY GRAJAGENTSLEARNFEESPIONEER
GETREADYANDJUMP.COM · BUILT IN DETROIT
API

THE HTTP
SURFACE.

Live now

Everything GRAJ does — orders, catalog, settlements, tax positions, verification — is behind an HTTP interface, because a dashboard that is the only way in keeps everybody who builds things out.

What to know
Shape
REST over HTTPS, JSON in and out, bearer authentication, versioned under /api/v1. Errors return a message intended for a person to read rather than a code to look up, on the basis that most integration debugging is done by whoever wrote it at the time.
The guard is the same one the UI uses
Routes resolve the actor from the token and check what that actor may do. There is no separate permission model for programmatic access, which is deliberate: two permission systems are two chances to disagree, and the disagreement is always a hole.
What money endpoints refuse to do
Amounts are never accepted from a caller where they can be computed. A tax figure, a commission or a settlement share supplied by a client is a figure a client can edit, and the liability for getting it wrong sits with the participant rather than with whoever sent it.
Idempotency where it matters
Anything that moves money carries an idempotency key, so a retried request settles once. Duplicate charges are the failure customers never forgive and the one that is entirely preventable.
Where to go next
GRAJ

READY TO
RUN YOUR GAME ON GRAJ.

Free to join. Participants keep 95% of every transaction; GRAJ takes 5%. Built for 195 countries — payments live in the United States.