{
"id": "<string>",
"type": "CARD_AUTHORIZATION_REQUEST",
"data": {
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currency": "USD",
"amount": 100.5,
"originalCurrency": "USD",
"originalAmount": 100.5,
"fees": {
"atm": 100.5,
"fx": 100.5
},
"merchant": {
"name": "<string>",
"city": "<string>",
"postCode": "<string>",
"state": "<string>",
"mccCode": "5411",
"mccCategory": "Grocery Stores",
"country": "US"
},
"occurredAt": "2024-01-15T10:30:00Z"
}
}{
"decision": "APPROVE"
}Requests
Card authorization request
Sent synchronously to an External-authorization project. Reap POSTs the proposed authorization and blocks on your approve/decline decision, which you return in the HTTP response body within the request timeout. This is the only webhook whose response Reap consumes: a non-2xx, timeout, or unparseable body is treated as a decline (fail closed).
WEBHOOK
CARD_AUTHORIZATION_REQUEST
{
"id": "<string>",
"type": "CARD_AUTHORIZATION_REQUEST",
"data": {
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"currency": "USD",
"amount": 100.5,
"originalCurrency": "USD",
"originalAmount": 100.5,
"fees": {
"atm": 100.5,
"fx": 100.5
},
"merchant": {
"name": "<string>",
"city": "<string>",
"postCode": "<string>",
"state": "<string>",
"mccCode": "5411",
"mccCategory": "Grocery Stores",
"country": "US"
},
"occurredAt": "2024-01-15T10:30:00Z"
}
}{
"decision": "APPROVE"
}Body
application/json
Response
200 - application/json
Your approve/decline decision. Reap must receive a 2xx with this body within the request timeout; any non-2xx, timeout, or unparseable body is treated as a decline (fail closed).
- Approve
- Decline
Approve or decline decision for an external authorization request
Allowed value:
"APPROVE"