Skip to content

Authorization Decision

POST/internal/slash/connections/{connectionBizId}/authorization-decisionsNone

Evaluates 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

NameTypeRequiredInDescription
connectionBizIdStringYespathSlash connection business ID.
authorizationIdStringNobodyAuthorization request ID.
eventIdStringNobodyWebhook event ID.
eventTypeStringNobodyWebhook event type.
signatureStringNobodyWebhook signature for verification.
occurredAtLongNobodyTimestamp when the event occurred (epoch ms).
receivedAtLongNobodyTimestamp when the event was received (epoch ms).
payloadObjectNobodyRaw authorization event payload.
rawPayloadStringNobodyRaw payload as string for signature verification.
cardBizIdStringNobodyInternal card business ID.
cardIdStringNobodySlash card ID.
amountLongNobodyTransaction amount in cents.
currencyStringNobodyTransaction currency code.

Success Response

Declined200
{
  "decision": "DECLINED",
  "approvedAmount": null,
  "reason": "Insufficient balance"
}

Error Responses

HTTP StatusCodeDescription
4044040Connection not found
5005000Internal processing error

Notes

  • This endpoint does NOT return the standard ApiResponse wrapper. It returns SlashAuthorizationDecisionHttpResponse directly.
  • The response is consumed by the Slash platform to approve or decline card authorization requests.
  • The decision field contains values such as APPROVED or DECLINED.

Internal Documentation