PagosTokenización

Obtener access token de tokenización

Obtiene el access token requerido para tokenizar tarjetas. Úsalo de inmediato: es de corta duración. Por requisitos PCI DSS, tu empresa debe compartir la documentación de certificación antes de que Tonder active el acceso en producción.

GET
/tokenization/auth/

Autorización

Authorization
Authorization<token>

Your public API key, with the word Token and a space in front of it. Example: Token 6534bc0a7e1f4d2b9c8e3a5f7b1d2c4e6f8a9b0c — that whole value is the header. Sending the key alone returns 401 'Authentication credentials were not provided'. In this playground you may paste just the key; the prefix is added for you.

In: header

Cuerpo de la respuesta

application/json

application/json

curl -X GET "https://example.com/tokenization/auth/"
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
{
  "error": {
    "code": "string",
    "message": "string",
    "type": "request_error",
    "details": {}
  },
  "request_id": "string"
}
¿Te resultó útil esta página?