Skip to navigation

Transaction created

A card transaction was recorded: an authorization, a declined authorization, a spend or refund recorded already posted, or a dispute credit. Refunds are transactions of their own with type CARD_REFUND. Only card transactions on issued cards have events; read every other transaction, including one on an external card, with GET /transactions.

This event carries transition with field: status and no from: to is the status the transaction was recorded in (PENDING, POSTED, DECLINED or REVERSED). data.object carries its type, amount and merchant.

Payload

The payload of this webhook request is an object.
idstringRequiredformat: "uuid"
Event identifier, identical on every delivery attempt and replay.
object"event"Required

Always event.

typestringRequiredformat: "^[a-z][A-Za-z]*(\.[a-z][A-Za-z]*){1,2}$"<=64 characters

<object>.<pastTenseVerb> or <object>.<child>.<pastTenseVerb>.

apiVersion"2.0"Required

Always 2.0.

createdAtdatetimeRequired

When the change committed; not an ordering token.

livemodebooleanRequired

true on a live platform in production, false on a Sandbox platform and outside production.

relatedObjectobjectRequired
accountHolderIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

cardProgramIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

A resource ID. Treat it as an opaque, case-sensitive string.

transitionobjectOptional

A committed state change of an allowlisted field; not an ordered delta or a history.

requestIdstringOptionalformat: "^[A-Za-z0-9._:-]+$"<=128 characters
The v2 request that caused the change, when one did.
dataobjectOptional
The resource the event names, as committed by its change. Absent only on events recorded before resources were added to events.

Response

200
Any 2xx response acknowledges the delivery.