Transaction Event
Webhook
Transaction Event
Request
- application/json
Body
The version of the CloudEvents specification which the event uses. This enables the interpretation of the context. Compliant event producers MUST use a value of 1.0 when referring to this version of the specification.
The unique id of the event.
Identifies the context in which an event happened
Timestamp of when the occurrence happened.
Content type of data value
Possible values: [TransactionDeclined
, TransactionCancelled
, TransactionCompleted
]
The type of the event, defining also the attributes of which entity are to be found in the data property
data
object
The id of the transaction
The amount of the transaction. For deposits the maximum is 10.000,00
Possible values: [EUR
]
The currency code as ISO 4217 3-digit code (https://en.wikipedia.org/wiki/ISO_4217).
The unique id of the customer participating in the transaction.
The unique id of the merchant participating in the transaction.
The distributor at which the transaction got created/modified. Available only to merchants which have been configured to receive it.
Possible values: [PassthroughDeposit
, PassthroughWithdrawal
, CustomerToMerchantTransfer
, CustomerToMerchantPassthrough
, MerchantToCustomerTransfer
, MerchantToCustomerPassthrough
]
The type of the transaction, defining which other transaction properties are mandatory, e.g. PassthroughDeposit requires customerId, merchantId, documents, card
Possible values: [Declined
, Completed
, Cancelled
]
The current(last) state of the transaction.
stateDetails
object
State-specific additional attributes, e.g. declineReason for Declined state
Possible values: [DistributorNotActive
, CustomerPermissionDenied
, MissingTransactionProofOfIdentity
, InsufficientFunds
, LimitAmountThresholdExceeded
, LimitTimeThresholdExceeded
, OneOrMoreLimitThresholdsExceeded
, LimitAccountSetNotFound
, DisallowedByConfig
]
Available if state is Declined
Possible values: [BeingProcessed
, Succeeded
, Failed
]
The overall status/outcome of the transaction.
Possible values: non-empty
and <= 50 characters
, Value must match regular expression ^[\d\p{L}]([\d\p{L}\-\. ]{0,48}[\d\p{L}])$
A reference to a transaction in an external system e.g. bank transfer.
The server-generated timestamp of the initial creation of the transaction record, in ISO 8601 format of YYYY-MM-DDThh:mm:ssZ in UTC time
The server-generated timestamp of the last update to the transaction record, in ISO 8601 format of YYYY-MM-DDThh:mm:ssZ in UTC time
Responses
- 204
Return a 204 status to indicate that the data was received successfully