List transactions as CSV Deprecated
List all transactions for the current user as csv.
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").
-
sort string
Sort by given attribute, plus and minus are used to indicate ascending and descending order.
Values are
id
,createdAt
,updatedAt
,paymentMethodId
,paymentMethodKind
,purposePRN
,providerPRN
,fuel.productName
,fuel.type
,-id
,-createdAt
,-updatedAt
,-paymentMethodId
,-paymentMethodKind
,-purposePRN
,-providerPRN
,-fuel.productName
, or-fuel.type
. -
filter[id] string
ID of the payment transaction
-
filter[createdAt] string(date-time)
Time the transaction was created.
-
filter[updatedAt] string(date-time)
Time the transaction was last updated.
-
filter[paymentMethodId] string(uuid)
Payment method ID of the transaction.
-
filter[paymentMethodKind] string
Payment method kind of the transaction.
-
filter[purposePRN] string
PACE resource name of the resource, for which the payment was authorized.
-
filter[providerPRN] string
PACE resource name - referring to the transaction purpose with provider details.
-
filter[fuel.productName] string
Product name of the fuel that was used in the transaction.
-
filter[fuel.type] string
Fuel type which was used in the transaction.
Responses
-
200 text/csv
List of transactions
-
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/2021-2/transactions.csv \
-H "Authorization: Bearer $ACCESS_TOKEN"
PaymentModel;CountryCode;MerchantName;TransactionID;TransactionIDb58;UserID;PaymentMethodKind;PaymentMethodVendorName;Currency;PriceIncludingVAT;PriceExcludingVAT;VatAmount;VatRate;CreatedAt;UpdatedAt;FuelType;FuelAmount;PricePerUnit;PumpID;GasStationID;TwoFactorType
reseller;DE;Dummy Merchant;794f9405-e96d-4a1e-b081-be6d74e51c8b;UQjiV72bwY3Y6kxChvBD1;e34304553f1ee1d82ba7df9387806888a69d1db1;creditcard;visa;EUR;23.37;13.37;3.37;0.19;%s;%s;ron95e10;55.37;1.337;0e6a2c66-78ee-434f-9433-0fdb08686ec5;e3211b77-03f0-4d49-83aa-4adaa46d95ae;fingerprint
{
"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": {}
}
]
}