Skip to main content
GET
/
card
/
{cardId}
cURL
curl --request GET \
  --url https://api.covenance.com/card/{cardId} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "last4": "<string>",
  "name": "<string>",
  "expiryMonth": "<string>",
  "expiryYear": "<string>",
  "status": "active",
  "createdAt": "2023-11-07T05:31:56Z",
  "spendingConstraint": {
    "spendingRule": {
      "utilizationLimit": {
        "preset": "daily",
        "timezone": "<string>",
        "limitAmount": {
          "amountCents": 123
        },
        "startDate": "<string>"
      },
      "transactionSizeLimit": {
        "minimum": {
          "amountCents": 123
        },
        "maximum": {
          "amountCents": 123
        }
      }
    }
  },
  "pan": "<string>",
  "cvv": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

cardId
string
required

Query Parameters

include_pan
enum<string>

Include PAN in card details

Available options:
true,
false
include_cvv
enum<string>

Include CVV in card details

Available options:
true,
false

Response

OK

id
string
required

Id of the card

last4
string
required

Last 4 digits of the card number

name
string
required

Name of the card holder

expiryMonth
string
required

Expiry month of the card

expiryYear
string
required

Expiry year of the card

status
enum<string>
required

Status of the card

Available options:
active,
paused,
inactive,
closed
createdAt
string<date-time>
required

Creation date of the card

spendingConstraint
object

Spending constraint of the card

pan
string

Pan of the card

cvv
string

CVV of the card