Skip to main content

PaymentEventList

Represents a list of events related to this payment.

paymentEvents object[]
  • Array [
  • idstringrequired

    Event identifier.

    timestampdate-timerequired

    Represents RFC 3339, section 5.6 date-time.

    Example: 2021-07-15T17:54:12Z
    eventTypePaymentEventType (string)required

    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]

    Example: TRANSFER_UPDATE
    paymentIdstringrequired

    Payment identifier.

    Example: 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.

    idstringrequired

    Customer id.

    Example: 12345
    externalIdstring

    External id of the customer.

    Example: 55551111
    links object[]required
  • Array [
  • relstringrequired

    Resource reference semantic.

    Possible values: [self, related, urn:x-skrill:payment-redirect]

    hrefurirequired

    Resource link.

    methodstring

    HTTP Method of accessing the linked resource.

    Possible values: [GET, POST]

    Default value: GET
    Example: GET
  • ]
  • merchantRefNumstring

    Merchant reference for the operation.

    Example: 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.
    eventTypePaymentEventType (string)required

    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]

    Example: 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 returned numberOfRecords is 0.

    The number of previous pages can be calculated by dividing offset to limit.

    numberOfRecordsinteger

    This is the number of records returned in the lookup. Always numberOfRecords is smaller than or equal to limit.

    Example: 1
    limitinteger

    This is the requested number of records to be returned per page.

    Example: 10
    offsetinteger

    This is the requested starting position of the response, where 0 is the first record.

    Example: 0
    pageinteger

    This is the page of records on which the lookup starts. The starting page is 1.

    Example: 1
    PaymentEventList
    {
    "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
    }
    }