Authorization Request Webhook Events
The following events are triggered for authorization request-related activities. For detailed information about setting up webhooks, see Webhooks.
authorizationRequest.approved
Occurs when an AuthorizationRequest is approved. The outcome attribute reflects what your integration produced when the request reached a terminal decision. See Understanding authorization decisions.
{
"data": [
{
"id": "412",
"type": "authorizationRequest.approved",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"available": 2500,
"status": "Approved",
"approvedAmount": 2000,
"outcome": "Approved",
"partialApprovalAllowed": false,
"merchant": {
"name": "Merchant name",
"type": "6012",
"id": "311204598883"
},
"recurring": false,
"tags": {
"tag": "value"
}
},
"relationships": {
"authorizationRequest": {
"data": {
"id": "6",
"type": "purchaseAuthorizationRequest"
}
},
"account": {
"data": {
"id": "10001",
"type": "account"
}
},
"customer": {
"data": {
"id": "10000",
"type": "customer"
}
},
"card": {
"data": {
"id": "7",
"type": "card"
}
}
}
}
]
}
Occurs when an ATM AuthorizationRequest is approved. The ATM variant includes atmName, surcharge, and direction, and does not include merchant or recurring.
| Attribute | Type | Description |
|---|---|---|
| createdAt | Request for Comments (RFC) 3339 Date string | The date the event was created. |
| amount | integer | The requested amount (in cents). |
| available | integer | The available balance (in cents). |
| status | string | The authorization request status. |
| approvedAmount | integer | The approved amount (in cents). |
| partialApprovalAllowed | boolean | Whether partial approval is allowed. |
| direction | string | The direction of the transaction. |
| atmName | string | The name of the ATM. |
| surcharge | integer | The ATM surcharge (in cents). |
| tags | object | See Tags. |
| atmLocation | string | Optional. The location of the ATM. |
| internationalServiceFee | integer | Optional. The international service fee (in cents). |
| currencyConversion | object | Optional. Currency conversion details for the transaction. |
| isInternational | boolean | Optional. Whether the transaction is international. |
| outcome | string | Optional. What your integration produced when the request reached a terminal decision. |
| Relationship | Type | Description |
|---|---|---|
| authorizationRequest | JSON:API Relationship | The ATM authorization request. Resource type: atmAuthorizationRequest. |
| account | JSON:API Relationship | The account of the card. Resource type: account. |
| customer | JSON:API Relationship | The customer. Resource type: customer. |
| card | JSON:API Relationship | The card used. Resource type: card. |
{
"data": [
{
"id": "412",
"type": "authorizationRequest.approved",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"available": 2500,
"status": "Approved",
"approvedAmount": 2000,
"outcome": "Approved",
"partialApprovalAllowed": false,
"direction": "Debit",
"atmName": "HOME FED SAV BK",
"atmLocation": "Cupertino, CA, US",
"surcharge": 300,
"internationalServiceFee": 150,
"currencyConversion": {
"originalCurrency": "EUR",
"amountInOriginalCurrency": 1000,
"fxRate": "1.164"
},
"isInternational": true,
"tags": {
"tag": "value"
}
},
"relationships": {
"authorizationRequest": {
"data": {
"id": "6",
"type": "atmAuthorizationRequest"
}
},
"account": {
"data": {
"id": "10001",
"type": "account"
}
},
"customer": {
"data": {
"id": "10000",
"type": "customer"
}
},
"card": {
"data": {
"id": "7",
"type": "card"
}
}
}
}
]
}
authorizationRequest.declined
Occurs when an AuthorizationRequest is declined. The outcome attribute reflects what your integration produced when the request reached a terminal decision. See Understanding authorization decisions.
{
"data": [
{
"id": "412",
"type": "authorizationRequest.declined",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"available": 1900,
"status": "Declined",
"declineReason": "InsufficientFunds",
"outcome": "Declined",
"partialApprovalAllowed": false,
"merchant": {
"name": "Merchant name",
"type": "6012",
"id": "311204598883"
},
"recurring": false,
"tags": {
"tag": "value"
}
},
"relationships": {
"authorizationRequest": {
"data": {
"id": "6",
"type": "purchaseAuthorizationRequest"
}
},
"account": {
"data": {
"id": "10001",
"type": "account"
}
},
"customer": {
"data": {
"id": "10000",
"type": "customer"
}
},
"card": {
"data": {
"id": "7",
"type": "card"
}
}
}
}
]
}
Occurs when an ATM AuthorizationRequest is declined. The ATM variant includes atmName, surcharge, and direction, and does not include merchant or recurring.
| Attribute | Type | Description |
|---|---|---|
| createdAt | RFC3339 Date string | The date the event was created. |
| amount | integer | The requested amount (in cents). |
| available | integer | The available balance (in cents). |
| status | string | The authorization request status. |
| declineReason | string | The reason the authorization request was declined. |
| partialApprovalAllowed | boolean | Whether partial approval is allowed. |
| direction | string | The direction of the transaction. |
| atmName | string | The name of the ATM. |
| surcharge | integer | The ATM surcharge (in cents). |
| tags | object | See Tags. |
| atmLocation | string | Optional. The location of the ATM. |
| internationalServiceFee | integer | Optional. The international service fee (in cents). |
| currencyConversion | object | Optional. Currency conversion details for the transaction. |
| isInternational | boolean | Optional. Whether the transaction is international. |
| outcome | string | Optional. What your integration produced when the request reached a terminal decision. |
| Relationship | Type | Description |
|---|---|---|
| authorizationRequest | JSON:API Relationship | The ATM authorization request. Resource type: atmAuthorizationRequest. |
| account | JSON:API Relationship | The account of the card. Resource type: account. |
| customer | JSON:API Relationship | The customer. Resource type: customer. |
| card | JSON:API Relationship | The card used. Resource type: card. |
{
"data": [
{
"id": "412",
"type": "authorizationRequest.declined",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"available": 1900,
"status": "Declined",
"declineReason": "InsufficientFunds",
"outcome": "Declined",
"partialApprovalAllowed": false,
"direction": "Debit",
"atmName": "HOME FED SAV BK",
"atmLocation": "Cupertino, CA, US",
"surcharge": 300,
"internationalServiceFee": 150,
"currencyConversion": {
"originalCurrency": "EUR",
"amountInOriginalCurrency": 1000,
"fxRate": "1.164"
},
"isInternational": true,
"tags": {
"tag": "value"
}
},
"relationships": {
"authorizationRequest": {
"data": {
"id": "6",
"type": "atmAuthorizationRequest"
}
},
"account": {
"data": {
"id": "10001",
"type": "account"
}
},
"customer": {
"data": {
"id": "10000",
"type": "customer"
}
},
"card": {
"data": {
"id": "7",
"type": "card"
}
}
}
}
]
}
authorizationRequest.pending
Occurs when an AuthorizationRequest is pending approval. See Programmatic authorization of card use. The outcome attribute is not present while the request is pending.
For healthcare card transactions on purchaseAuthorizationRequest, the authorizationRequest.pending (and the corresponding .approved / .declined) payload may carry the Healthcare Amounts breakdown under two keys with identical content: healthcareAmounts (lowercase, the canonical key — matches the persisted resource attribute) and healthCareAmounts (mixed case, retained for backward compatibility). Read whichever is present and treat them as the same value; do not sum them. cardTransactionAuthorizationRequest and atmAuthorizationRequest events do not carry healthcare amounts.
{
"data": [
{
"id": "412",
"type": "authorizationRequest.pending",
"attributes": {
"createdAt": "2021-06-24T08:10:08.081Z",
"amount": 2000,
"available": 150000,
"status": "Pending",
"partialApprovalAllowed": false,
"merchant": {
"name": "Merchant name",
"type": "6012",
"id": "311204598883"
},
"recurring": false,
"ecommerce": true,
"cardPresent": false,
"direction": "Debit",
"mustBeApproved": false,
"tags": {
"tag": "value"
}
},
"relationships": {
"authorizationRequest": {
"data": {
"id": "6",
"type": "purchaseAuthorizationRequest"
}
},
"account": {
"data": {
"id": "10001",
"type": "account"
}
},
"customer": {
"data": {
"id": "10000",
"type": "customer"
}
},
"card": {
"data": {
"id": "7",
"type": "card"
}
}
}
}
]
}