PaymentEvent
Payment event structure linked to change in payment objects:
- Transfer
- Deposit
- Withdrawal
- Refund
Each event has common header structure and payment event specific content.
Event identifier.
Enumerations holding the supported payment event types. Each specific event relates to specific payment type and a state change of the payment object.
Possible values: [TRANSFER_UPDATE
, DEPOSIT_UPDATE
, WITHDRAWAL_UPDATE
]
TRANSFER_UPDATE
Payment identifier.
urn:tfr:01JHQA6KBQM9S4X6P82FS7JQ3Z
owner object
Reference to customer object. Optionally can hold external id for easier cross reference of the customer representation in external system.
Customer id.
12345
External id of the customer.
55551111
links object[]required
Resource reference semantic.
Possible values: [self
, related
, urn:x-skrill:payment-redirect
]
Resource link.
HTTP Method of accessing the linked resource.
Possible values: [GET
, POST
]
GET
GET
Merchant reference for the operation.
29389283
content PaymentContentrequired
Contains the change in Payment object. Here are the valid eventType values:
- TRANSFER_UPDATE - Changes of the updated transfer object.
- DEPOSIT_UPDATE - Changes of the updated deposit object.
- WITHDRAWAL_UPDATE - Changes of the updated withdrawal object.
Enumerations holding the supported payment event types. Each specific event relates to specific payment type and a state change of the payment object.
Possible values: [TRANSFER_UPDATE
, DEPOSIT_UPDATE
, WITHDRAWAL_UPDATE
]
TRANSFER_UPDATE
{
"id": "string",
"timestamp": "2021-07-15T17:54:12Z",
"eventType": "TRANSFER_UPDATE",
"paymentId": "urn:tfr:01JHQA6KBQM9S4X6P82FS7JQ3Z",
"owner": {
"id": "12345",
"externalId": "55551111"
},
"links": [
{
"rel": "self",
"href": "string",
"method": "GET"
}
],
"merchantRefNum": "29389283",
"content": {
"eventType": "TRANSFER_UPDATE"
}
}