PaymentEventList
Represents a list of events related to this payment.
paymentEvents object[]
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
meta object
Contains paging information regarding the returned records, when response is paginated.
The input for paginated query contains two parameters:
- limit - This is the requested number of records to return. Defaults to 10 and maximum is 50.
- offset - This is the requested starting position of the response, where 0 is the first record. Default = 0.
Note! The total number of records is not returned, to prevent queries spanning on all records. If
numberOfRecords
<limit
, this means no further pages are available. On request of offset beyond the last record, the returnednumberOfRecords
is 0.
The number of previous pages can be calculated by dividing offset
to limit
.
This is the number of records returned in the lookup. Always numberOfRecords
is smaller than or equal to limit
.
1
This is the requested number of records to be returned per page.
10
This is the requested starting position of the response, where 0 is the first record.
0
This is the page of records on which the lookup starts. The starting page is 1.
1
{
"paymentEvents": [
{
"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"
}
}
],
"meta": {
"numberOfRecords": 1,
"limit": 10,
"offset": 0,
"page": 1
}
}