Skip to content

Authorization Decision

POST/internal/slash/connections/{connectionBizId}/authorization-decisions None

Evaluates a card authorization request and returns an approval or denial decision. This is an internal endpoint called by the Slash platform webhook system.

Required Headers

HeaderExample ValueDescription
Content-Typeapplication/jsonRequest content type
Acceptapplication/jsonExpected response type
X-Client-HashClient device fingerprint
Accept-Languageen, zh, zh-Hant, ja, viResponse language (default: en)
X-Workspace-IdTarget workspace ID

Request Parameters

NameTypeRequiredInDescription
connectionBizIdStringRequiredpathSlash connection business ID. Path parameter
authorizationIdStringOptionalbodyAuthorization request ID.
eventIdStringOptionalbodyWebhook event ID.
eventTypeStringOptionalbodyWebhook event type.
signatureStringOptionalbodyWebhook signature for verification.
occurredAtLongOptionalbodyTimestamp when the event occurred (epoch ms).
receivedAtLongOptionalbodyTimestamp when the event was received (epoch ms).
payloadObjectOptionalbodyRaw authorization event payload.
rawPayloadStringOptionalbodyRaw payload as string for signature verification.
cardBizIdStringOptionalbodyInternal card business ID.
cardIdStringOptionalbodySlash card ID.
amountLongOptionalbodyTransaction amount in cents.
currencyStringOptionalbodyTransaction currency code.

Success Response

Declined 200
{
  "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.

SlaunchX Internal Documentation