Skip to main content
GET
/
card
cURL
curl --request GET \
  --url https://api.covenance.com/card \
  --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

subAccountId
string
required
status
enum<string>

Filter by status

Available options:
active,
paused,
inactive,
closed
sort
string

Sorts card by creation date or name.

sortDirection
enum<string>

The direction to apply the sort filter by. Default ASC.

Available options:
ASC,
DESC
cursor
string

Cursor for pagination

Response

OK

items
object[]
metadata
object