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
}
}Get all of your cards
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
}
}Filter by status
active, paused, inactive, closed Sorts card by creation date or name.
The direction to apply the sort filter by. Default ASC.
ASC, DESC Cursor for pagination
OK
Show child attributes
Identification of the transaction
Date in UTC time when the transaction was posted
Description of the transaction
The amount of the transaction in cents in USD. If the transaction amount is negative, the transaction is a debit. If the transaction amount is positive, the transaction is a credit
Status of the transaction
pending, canceled, failed, settled, declined, refund, reversed, returned, dispute The reference number provided by Visa for this transaction
UTC timestamp of when the transaction was authorized. Only exists for card transactions
For card transactions, contains description of the transaction as reported by the merchant and merchant category code. For other transactions, this field is undefined
Identification of the card
Decline reason of the transaction