Skip to main content
POST
/
v1
/
cards
/
vault
/
{id}
/
tokenize
/
mastercard
Get a Mastercard network token
curl --request POST \
  --url https://api.getsly.ai/v1/v1/cards/vault/{id}/tokenize/mastercard \
  --header 'Authorization: Bearer <token>'
{
  "mastercard_token_id": "<string>",
  "tokenized_at": "2023-11-07T05:31:56Z"
}

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.

Authorizations

Authorization
string
header
required

API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).

Path Parameters

id
string
required

Response

200 - application/json

Mastercard token

mastercard_token_id
string
required
tokenized_at
string<date-time>
required