Retrieve
POST/retrieve/:apiKey
Retrieves a list of transactions between from
and to
along with the fees associated with them.
If both a request body and GET parameters are specified, the GET parameters take precedence.
Request
Path Parameters
Possible values: <= 50 characters
API key of connector.
Query Parameters
- application/x-www-form-urlencoded
Bodyrequired
required
Date range start, must be before to
and the duration between from
—to
cannot be more than 30 days.
Use the RFC 3339 date-time
format, but replace "T"
with a space (" "
) and exclude the timezone.
2001-02-03T 04:05:06
Date range end, must be after from
and the duration between from
—to
cannot be more than 30 days.
Use the RFC 3339 date-time
format, but replace "T"
with a space (" "
) and exclude the timezone.
2001-02-03 04:05:06
Page number.
Possible values: >= 1
1
Responses
- 200
A paged response of reconciled transactions.
Each request will return a maximum of 100 data sets.
In order to fetch the next page, simply indicate this using the page
property.
The response has the next_page_exists
field that indicates if more data needs to be retrieved.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
Total number of entries.
Total number of pages.
Current page of data set.
Entry count of current page.
Possible values: <= 100
Whether there is a next page.
transactions
object[]
List of transactions on the current page (maximum 100
).
Transaction ID.
20230315-6d432fb7217843388847
Transaction's merchant ID.
null
ed0687ad-a876-42fd-bfc2-ce7c91d9700d
ID of an initial transaction if it exists, e.g. a refund.
null
20230315-6d432fb7217843388847
Transaction type.
Possible values: [debit
, capture
, deregister
, preauthorize
, refund
, register
, void
, chargeback
, payout
, cb-reversal
, prepare-debit
, prepare-preauthorize
, inc-auth
]
null
debit
null
success
Transaction creation date.
null
2001-02-03T04:05:06+02:00
Decimal amount separated by .
, maximum of 3 decimals.
Possible values: Value must match regular expression ^(([0-9]+)|([0-9]+\.[0-9]{1,3}))$
null
9.99
ISO 4217 three-letter currency code.
Possible values: Value must match regular expression ^[A-Z]{3}$
null
EUR
Was a debit
transaction performed with registering the payment instrument.
false
Transaction description.
null
errors
object[]
nullable
Errors of a transaction.
Error message.
null
Transaction declined.
Error code.
null
3002
Adapter specific error message, passed verbatim from the upstream Adapter.
null
Do not honour
Adapter specific error code, passed verbatim from the upstream Adapter.
null
5
fees
object[]
nullable
Transaction fees.
Decimal amount separated by .
, maximum of 3 decimals.
Possible values: Value must match regular expression ^(([0-9]+)|([0-9]+\.[0-9]{1,3}))$
null
9.99
ISO 4217 three-letter currency code.
Possible values: Value must match regular expression ^[A-Z]{3}$
null
EUR
Type of fee.
Possible values: [normal
, markup
, interchange
, scheme
, scheme-2
, scheme-3
, conversion
, gateway
, commission
, merchant-normal
, merchant-markup
, merchant-interchange
, merchant-scheme
, merchant-conversion
, surcharge
]
{
"total_entry_count": 0,
"page_count": 0,
"current_page": 0,
"current_page_entry_count": 0,
"next_page_exists": true,
"transactions": [
{
"uuid": "20230315-6d432fb7217843388847",
"merchantTransactionId": "ed0687ad-a876-42fd-bfc2-ce7c91d9700d",
"referenceUuid": "20230315-6d432fb7217843388847",
"type": "debit",
"status": "success",
"createdAt": "2001-02-03T04:05:06+02:00",
"amount": "9.99",
"currency": "EUR",
"withRegister": false,
"description": "string",
"errors": [
{
"message": "Transaction declined.",
"code": 3002,
"adapter_message": "Do not honour",
"adapter_code": 5
}
],
"fees": [
{
"amount": 0.5,
"currency": "EUR"
}
]
}
]
}