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.
Represents RFC 3339, section 5.6 date-time.
2021-07-15T17:54:12ZEnumerations 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_UPDATEPayment identifier.
urn:tfr:01JHQA6KBQM9S4X6P82FS7JQ3ZRepresents RFC 3339, section 5.6 date-time.
2021-07-15T17:54:12Zowner objectrequired
Reference to customer object. Optionally can hold external id for easier cross reference of the customer representation in external system.
Customer id.
12345External id of the customer.
55551111links 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]
GETGETMerchant reference for the operation.
29389283content 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",
"paymentCreationTimestamp": "2021-07-15T17:54:12Z",
"owner": {
"id": "12345",
"externalId": "55551111"
},
"links": [
{
"rel": "self",
"href": "string",
"method": "GET"
}
],
"merchantRefNum": "29389283",
"content": {
"eventType": "TRANSFER_UPDATE"
}
}