POST
/
v1
/
tokens
curl --request POST \
  --url https://api.malga.io/v1/tokens \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>'
{
  "tokenId": "cc0b1e41-2936-45c5-947f-93995ffcdc00"
}

Authorizations

X-Client-Id
string
headerrequired
X-Api-Key
string
headerrequired

Body

application/json
tokenização
object

Pode ser tokenizado o cartão e/ou cvv de acordo com a passagem dos atributos

Response

201 - application/json
tokenId
string

Identificador do token gerado