Skip to main content
GET
Retrieve card details

Authorizations

X-API-Key
string
header
required

User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.

Headers

The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.

Pattern: ^le_[a-zA-Z0-9]+$

Path Parameters

cardId
string
required

Card id with the c_ prefix.

Response

The card details.

number
string
required
Example:

"4242424242424242"

cvc
string
required
Example:

"123"

expiryMonth
integer
required
Example:

9

expiryYear
integer
required
Example:

2030