curl --request POST \
--url https://api.getsly.ai/v1/v1/cards/vault \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processor": "stripe",
"processorToken": "<string>",
"cardLastFour": "<string>",
"cardBrand": "<string>",
"expiryMonth": 6,
"expiryYear": 123,
"label": "<string>",
"metadata": {}
}
'{
"data": {
"id": "<string>",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processor": "stripe",
"processor_token": "<string>",
"card_last_four": "<string>",
"card_brand": "<string>",
"expiry_month": 6,
"expiry_year": 123,
"created_at": "2023-11-07T05:31:56Z",
"label": "<string>",
"billing_address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"visa_token_id": "<string>",
"mastercard_token_id": "<string>",
"metadata": {}
}
}Store a card by reference to a processor token. Sly never sees PAN or CVV.
curl --request POST \
--url https://api.getsly.ai/v1/v1/cards/vault \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processor": "stripe",
"processorToken": "<string>",
"cardLastFour": "<string>",
"cardBrand": "<string>",
"expiryMonth": 6,
"expiryYear": 123,
"label": "<string>",
"metadata": {}
}
'{
"data": {
"id": "<string>",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processor": "stripe",
"processor_token": "<string>",
"card_last_four": "<string>",
"card_brand": "<string>",
"expiry_month": 6,
"expiry_year": 123,
"created_at": "2023-11-07T05:31:56Z",
"label": "<string>",
"billing_address": {
"line1": "<string>",
"city": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"visa_token_id": "<string>",
"mastercard_token_id": "<string>",
"metadata": {}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.getsly.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).
stripe, adyen 41 <= x <= 12255Show child attributes
Show child attributes
Vaulted
Show child attributes