Skip to main content
GET
/
transaction
cURL
curl --request GET \
  --url https://api.covenance.com/transaction \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "date": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "amountCents": 123,
      "status": "pending",
      "referenceNumber": "<string>",
      "authorizedAt": "2023-11-07T05:31:56Z",
      "merchantData": {
        "description": "<string>",
        "categoryCode": "<string>"
      },
      "cardId": "<string>",
      "originalCurrency": {
        "code": "<string>",
        "amountCents": 123,
        "conversionRate": 123
      },
      "declineReason": "<string>"
    }
  ],
  "metadata": {
    "nextCursor": "<string>",
    "count": 123
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

from_date
string

Unix timestamp in milliseconds. This will return all transactions that occurred on or after the date passed in

to_date
string

Unix timestamp in milliseconds. This will return all transactions that occurred on or before the date passed in

status
enum<string>

Filter transactions by detailed status

Available options:
pending,
canceled,
failed,
settled,
declined,
refund,
reversed,
returned,
dispute
card_id
string

Filter transactions by card id

cursor
string

A cursor string to fetch the next page of results

Response

OK

items
object[]
metadata
object