List transactions for the given partner Deprecated
List all transactions for the given partner within the given time frame.
Path parameters
-
Partner name for which the transactions shall be returned.
Query parameters
-
page[number] integer
Number of the page that should be returned (sometimes referred to as "offset"). Page
0
is the first page. -
page[size] integer
Page size of the currently returned page (sometimes referred to as "limit").
-
Start date of the period for which transactions should be returned.
-
End date of the period for which transactions should be returned.
Responses
-
200 application/vnd.api+json
List of transactions for partner within the given time frame.
-
400 application/vnd.api+json
Bad request
-
401 application/vnd.api+json
OAuth token missing or invalid or a linked identity is missing.
Linked identity missing is a special case where you need to make sure that the user has additionally logged in / authorized with a third-party.
This is not relevant for most use-cases.
The specific error code that identifies a missing linked identity is
missing-linked-identity
Example:
{ "errors": [ { "id": "cbgmhslmp1o9or9kh1p0", "title": "Missing linked identity for authorized access", "detail": "Linked identity is needed to access this resource, please check why the user does not have a linked identity", "status": "401", "code": "missing-linked-identity" } ] }
-
404 application/vnd.api+json
Resource not found
-
406 application/vnd.api+json
The specified accept header is invalid
-
409 application/vnd.api+json
Resource conflicts
-
415 application/vnd.api+json
The specified content type header is invalid
-
422 application/vnd.api+json
The request was well-formed but was unable to be followed due to semantic errors.
-
500 application/vnd.api+json
Internal server error
curl \
-X GET https://api.pace.cloud/pay/2022-1/transactions/contracts/partners/pace?date_from=2020-01-01T00%3A00%3A00Z&date_to=2020-01-01T00%3A00%3A00Z \
-H "Authorization: Bearer $ACCESS_TOKEN"
{
"data": [
{
"type": "transaction",
"id": "c3f037ea-492e-4033-9b4b-4efc7beca16c",
"attributes": {
"createdAtLocaltime": "2017-07-21T18:32:28",
"createdAt": "2017-07-21T17:32:28Z",
"priceIncludingVAT": 68.17,
"priceWithoutVAT": 58.27,
"fuel": {
"pumpNumber": 1,
"unit": "liter",
"pricePerUnit": 1.112,
"amount": 55.12,
"productName": "Super Plus",
"type": "ron98"
},
"currency": "EUR",
"VAT": {
"amount": 10.88,
"rate": 0.19
},
"location": {
"latitude": 49.013,
"longitude": 8.425,
"brand": "JET",
"address": {
"street": "Haid-und-Neu-Str.",
"houseNo": "18",
"postalCode": "76131",
"city": "Karlsruhe",
"countryCode": "DE"
}
}
}
}
],
"meta": {
"count": 128
}
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"id": "string",
"links": {
"about": "string"
},
"status": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}