Authorization Decision
POST
/internal/slash/connections/{connectionBizId}/authorization-decisionsNoneEvaluates a card authorization request and returns an approval or denial decision. This is an internal endpoint called by the Slash platform webhook system.
Authentication
No JWT required. This is an internal endpoint with no portal restriction.
Request Parameters
| Name | Type | Required | In | Description |
|---|---|---|---|---|
connectionBizId | String | Yes | path | Slash connection business ID. |
authorizationId | String | No | body | Authorization request ID. |
eventId | String | No | body | Webhook event ID. |
eventType | String | No | body | Webhook event type. |
signature | String | No | body | Webhook signature for verification. |
occurredAt | Long | No | body | Timestamp when the event occurred (epoch ms). |
receivedAt | Long | No | body | Timestamp when the event was received (epoch ms). |
payload | Object | No | body | Raw authorization event payload. |
rawPayload | String | No | body | Raw payload as string for signature verification. |
cardBizId | String | No | body | Internal card business ID. |
cardId | String | No | body | Slash card ID. |
amount | Long | No | body | Transaction amount in cents. |
currency | String | No | body | Transaction currency code. |
Success Response
Declined200
{
"decision": "DECLINED",
"approvedAmount": null,
"reason": "Insufficient balance"
}Error Responses
| HTTP Status | Code | Description |
|---|---|---|
| 404 | 4040 | Connection not found |
| 500 | 5000 | Internal processing error |
Notes
- This endpoint does NOT return the standard
ApiResponsewrapper. It returnsSlashAuthorizationDecisionHttpResponsedirectly. - The response is consumed by the Slash platform to approve or decline card authorization requests.
- The
decisionfield contains values such asAPPROVEDorDECLINED.