Overview
Entities
Legal Entity
Account Authorization Webhooks
Virtual Account
Transaction
Card
Card Group
Card
Retrieve card
Fetch details for a single card by card ID
GET
/
card
/
{cardId}
Copy
Ask AI
curl --request GET \
--url https://api.joinslash.com/card/{cardId} \
--header 'X-API-Key: <api-key>'
Copy
Ask AI
{
"id": "<string>",
"accountId": "<string>",
"virtualAccountId": "<string>",
"last4": "<string>",
"name": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>",
"status": "active",
"isPhysical": true,
"isSingleUse": true,
"pan": "<string>",
"cvv": "<string>",
"cardGroupId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"spendingConstraint": {
"merchantCategoryRule": {
"merchantCategories": [
"<string>"
],
"restriction": "allowlist"
},
"merchantRule": {
"merchants": [
"<string>"
],
"restriction": "allowlist"
},
"spendingRule": {
"utilizationLimit": {
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
},
"utilizationLimitV2": [
{
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
}
],
"transactionSizeLimit": {
"minimum": {
"amountCents": 123
},
"maximum": {
"amountCents": 123
}
}
},
"countryRule": {
"countries": [
"<string>"
],
"restriction": "allowlist"
},
"merchantCategoryCodeRule": {
"merchantCategoryCodes": [
"<string>"
],
"restriction": "allowlist"
}
},
"userData": {},
"cardProductId": "<string>"
}
To reveal the full PAN or CVV of the card, you must:
- Set the query params
include_pan=true
and/orinclude_cvv=true
. - Set the base URL of the request to
https://vault.joinslash.com
.
Copy
Ask AI
curl --request GET \
--url "https://vault.joinslash.com/card/<cardId>?include_pan=true&include_cvv=true" \
--header 'X-API-Key: <x-api-key>'
Authorizations
Authentication from public API requests
Path Parameters
Query Parameters
Available options:
true
, false
Available options:
true
, false
Response
200
application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.joinslash.com/card/{cardId} \
--header 'X-API-Key: <api-key>'
Copy
Ask AI
{
"id": "<string>",
"accountId": "<string>",
"virtualAccountId": "<string>",
"last4": "<string>",
"name": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>",
"status": "active",
"isPhysical": true,
"isSingleUse": true,
"pan": "<string>",
"cvv": "<string>",
"cardGroupId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"spendingConstraint": {
"merchantCategoryRule": {
"merchantCategories": [
"<string>"
],
"restriction": "allowlist"
},
"merchantRule": {
"merchants": [
"<string>"
],
"restriction": "allowlist"
},
"spendingRule": {
"utilizationLimit": {
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
},
"utilizationLimitV2": [
{
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
}
],
"transactionSizeLimit": {
"minimum": {
"amountCents": 123
},
"maximum": {
"amountCents": 123
}
}
},
"countryRule": {
"countries": [
"<string>"
],
"restriction": "allowlist"
},
"merchantCategoryCodeRule": {
"merchantCategoryCodes": [
"<string>"
],
"restriction": "allowlist"
}
},
"userData": {},
"cardProductId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.