The request must provide the followng header:
x-api-key: {merchantKey}
We use cookies (our own and those of third parties) to make our websites easier for you to use in accordance with your browser settings. By continuing to use our websites, you consent to the use of cookies. Please see our Cookie Policy for more information on cookies and information on how you can change your browser's cookie settings: Cookie Policy.
Last changes: 11-29-2021
Returns a list of all events linked to a specific object (e.g subscription) with pagination.
The request must provide the followng header:
x-api-key: {merchantKey}
Path:
GET {{BaseUrl}}/events?origin=api&page=7&objectType=transaction&pageSize=1
Header:
Content-Type:
application/json
Accept-Language:
en-US
Field | Description | Type |
page | Number of the page for which the data is to be returned. | Int |
pageSize | Number of the records to display per page. | Int |
count | Number of total records(events) returned for the made search/request. | Int |
totalPages | Number of pages returned for the made search/request. | Int |
data | Data of the object linked to the events | Object |
Status Code:
200 (OK)
Header:
Content-Type:
application/json
Accept-Language:
en-US
{
"page": 7,
"pageSize": 1,
"count": 8,
"totalPages": 8,
"data": [
{
"id": "Event-0d51a439-7e17-4dc8-9060-5c2ec9ac9ce7",
"createdAt": "2021-06-08T08:37:03.14Z",
"origin": "api",
"eventType": "created",
"objectId": "Transaction-cc9b3585-c7bf-4ae0-9be7-545778593299",
"objectType": "transaction",
"data": {
"id": "Transaction-cc9b3585-c7bf-4ae0-9be7-545778593299",
"customerAccountId": "NewcustomerTestPSerie00",
"storedPaymentOptionReference": "8ac7a49f79ea7b760179eaae946a4ff7",
"modificationId": "783ad3b1-69a6-4fe1-9c3e-1742dd81e4a6",
"paymentStatus": null,
"payment": {
"description": "MerchantExternalIDPSerie01",
"amount": 6.0,
"currencyIsoCode": "EUR"
},
"billingAddress": {
"addressLine1": "Leopoldstrasse",
"addressLine2": null,
"addressLine3": null,
"number": "244",
"city": "Munich",
"postCode": "80807",
"countryCode": "DE",
"state": null
},
"shippingAddress": {
"addressLine1": "Leopoldstrasse",
"addressLine2": null,
"addressLine3": null,
"number": "244",
"city": "Munich",
"postCode": "80807",
"countryCode": "DE",
"state": null
},
"consumer": {
"firstName": "FirstNameA",
"lastName": "LastNameA",
"middleName": null,
"emailAddress": "NewcustomerTestPSerie00@mail.com",
"title": "Mr",
"culture": "en-en",
"dateOfBirth": "1995-01-26",
"gender": "M",
"mobilePhone": "1234567890",
"homePhone": "1234567891",
"workPhone": "1234567892",
"taxId": null
},
"transactionLogs": null
},
"context": "{\"description\":\"first TRX PS!\",\"amount\":6.00}"
}
]
}
For error handling, please refer to this section.