Enroll a card authorization endpoint
Enroll the endpoint Grid calls to ask your platform for a real-time decision on each card authorization that Grid’s own checks approve. See the CARD_AUTHORIZATION.REQUEST webhook for the request your endpoint receives and the decision it must return.
Before enrolling, Grid sends your endpoint one signed CARD_AUTHORIZATION.REQUEST with data.isTest: true and example data. Answer it without running your business checks. Enrollment succeeds only if your endpoint returns 200 with a valid CardAuthorizationDecision within responseTimeoutMs; the decision in that response is ignored. Otherwise this returns 400 WEBHOOK_DELIVERY_ERROR and the enrolled endpoint, if any, is unchanged.
This setting has its own resource, outside PATCH /platform/config, because enrolling calls your endpoint and can fail on that call alone.
Calling this again replaces the enrolled endpoint. The change applies to authorizations that arrive after this call returns.
Authorizations
API token authentication using format <api token id>:<api client secret>
Body
HTTPS URL that receives CARD_AUTHORIZATION.REQUEST requests. It must resolve to a public host. It can differ from the webhookEndpoint in your platform config.
255^https://"https://api.mycompany.com/grid/card-authorizations"
What Grid answers when your endpoint does not return a valid decision in time. Defaults to DECLINE.
DECLINE, APPROVE "DECLINE"
Response
The enrolled card authorization endpoint.
The endpoint Grid calls to ask your platform for a real-time decision on each card authorization that Grid's own checks approve.
HTTPS URL that receives CARD_AUTHORIZATION.REQUEST requests.
"https://api.mycompany.com/grid/card-authorizations"
What Grid answers for a card authorization when your authorization endpoint does not return a valid decision in time.
A non-200 status, a body that does not match
CardAuthorizationDecision, a network error, and a timeout all count as no
valid decision.
DECLINE, APPROVE "DECLINE"
How long Grid waits for your endpoint's decision, in milliseconds, before applying timeoutBehavior. Grid sets this value.
1500
When an endpoint was first enrolled.
"2026-10-20T15:04:05Z"
When the endpoint was last enrolled or replaced.
"2026-10-20T15:04:05Z"