GET
/
card
/
{cardId}

To reveal the full PAN or CVV of the card, you must:

  1. Set the query params include_pan=true and/or include_cvv=true.
  2. Set the base URL of the request to https://vault.joinslash.com.
curl --request GET \
  --url "https://vault.joinslash.com/card/<cardId>?include_pan=true&include_cvv=true" \
  --header 'X-API-Key: <x-api-key>'

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Path Parameters

cardId
string
required

Query Parameters

include_pan
enum<string>
Available options:
true,
false
include_cvv
enum<string>
Available options:
true,
false

Response

200 - application/json
accountId
string
required

The account that this card is associated with

expiryMonth
string
required

The month the card expires formatted as MM (01, 02, ..., 12)

expiryYear
string
required

The year the card expires formatted as YYYY (2024, 2025, ...)

id
string
required
isPhysical
boolean
required

When true, a physical card has been issued. Otherwise, this is a virtual card.

last4
string
required

The last 4 digits of the card number

name
string
required

The name assigned to the card that appears on the user dashboard

status
enum<string>
required

The status of the card

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

The card group the card belongs to.

cardProductId
string

The ID of the card product this card was created with.

createdAt
string
cvv
string

This field will contain full CVV which will only be sent on a request for a single card when you set the query param "include_pan" to "true"

isSingleUse
boolean

When true, the card will be automatically closed after a single authorization attempt. Note that the card will be closed even if the authorization declines or drops

pan
string

This field contains the full PAN which will only be sent on a request for a single card when you set the query param "include_pan" to "true"

spendingConstraint
object

The spending constraint applied to the card

userData
object

Arbitrary information that can be attached to the card. See the PATCH /card/{cardId} endpoint for more details on how to add user data.

virtualAccountId
string

The virtual account that this card is associated with