Skip to main content

Retrieve

POST 

/retrieve/:apiKey

Retrieves a list of transactions between from and to along with the fees associated with them.

Request parameters

If both a request body and GET parameters are specified, the GET parameters take precedence.

Request

Path Parameters

    apiKey stringrequired

    Possible values: <= 50 characters

    API key of connector.

Query Parameters

    retrieve object

Body

required

    from date-timerequired

    Date range start, must be before to and the duration between fromto cannot be more than 30 days.

    Use the RFC 3339 date-time format, but replace "T" with a space (" ") and exclude the timezone.

    to date-timerequired

    Date range end, must be after from and the duration between fromto cannot be more than 30 days.

    Use the RFC 3339 date-time format, but replace "T" with a space (" ") and exclude the timezone.

    page int64required

    Possible values: >= 1

    Page number.

Responses

A paged response of reconciled transactions.

Pagination

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.

Schema

    total_entry_count int64

    Total number of entries.

    page_count int64

    Total number of pages.

    current_page int64

    Current page of data set.

    current_page_entry_count int64

    Possible values: <= 100

    Entry count of current page.

    next_page_exists boolean

    Whether there is a next page.

    transactions

    object[]

    List of transactions on the current page (maximum 100).

  • Array [

  • uuid stringrequired

    Transaction ID.

    merchantTransactionId stringnullable

    Transaction's merchant ID.

    referenceUuid stringnullable

    ID of an initial transaction if it exists, e.g. a refund.

    type stringnullable

    Possible values: [debit, capture, deregister, preauthorize, refund, register, void, chargeback, payout, cb-reversal, prepare-debit, prepare-preauthorize, inc-auth]

    Transaction type.

    status stringnullable
    createdAt date-timenullable

    Transaction creation date.

    amount Amount (string)nullable

    Possible values: Value must match regular expression ^(([0-9]+)|([0-9]+\.[0-9]{1,3}))$

    Decimal amount separated by ., maximum of 3 decimals.

    currency Currency (string)nullable

    Possible values: Value must match regular expression ^[A-Z]{3}$

    ISO 4217 three-letter currency code.

    withRegister boolean

    Was a debit transaction performed with registering the payment instrument.

    description stringnullable

    Transaction description.

    errors

    object[]

    nullable

    Errors of a transaction.

  • Array [

  • message stringnullable

    Error message.

    code stringnullable

    Error code.

    adapter_message stringnullable

    Adapter specific error message, passed verbatim from the upstream Adapter.

    adapter_code stringnullable

    Adapter specific error code, passed verbatim from the upstream Adapter.

  • ]

  • fees

    object[]

    nullable

    Transaction fees.

  • Array [

  • amount Amount (string)nullable

    Possible values: Value must match regular expression ^(([0-9]+)|([0-9]+\.[0-9]{1,3}))$

    Decimal amount separated by ., maximum of 3 decimals.

    currency Currency (string)nullable

    Possible values: Value must match regular expression ^[A-Z]{3}$

    ISO 4217 three-letter currency code.

    entity_type FeeEntityType (string)

    Possible values: [normal, markup, interchange, scheme, scheme-2, scheme-3, conversion, gateway, commission, merchant-normal, merchant-markup, merchant-interchange, merchant-scheme, merchant-conversion, surcharge]

    Type of fee.

  • ]

  • ]

  • property name* any
Loading...