Checkout Sessions
cURL
curl --request POST \ --url https://api-sandbox.y.uno/v1/checkout/sessions/{checkout_session}/token \ --header 'Content-Type: application/json' \ --header 'private-secret-key: <api-key>' \ --header 'public-api-key: <api-key>' \ --data ' { "account_id": "{{account_id}}", "card_data": { "number": "4111111111111111", "expiration_month": 12, "expiration_year": 29, "security_code": "123", "holder_name": "John Doe" }, "payment_method": { "type": "CARD", "card": { "number": "4111111111111111", "expiration_month": 12, "expiration_year": 29, "security_code": "123", "holder_name": "John Doe" } } } '
{ "token": "dab106a6-9067-4418-ae43-6045663531dc", "vaulted_token": null, "vault_on_success": false, "type": "CARD", "card_data": { "holder_name": "John Doe", "iin": "41111111", "lfd": "1111", "number_length": 16, "security_code_length": 3, "brand": "VISA", "type": "DEBIT", "category": "CLASSIC", "issuer_name": "CONOTOXIA SP Z O O", "issuer_code": null, "fingerprint": null, "country_code": "PL" }, "customer": null, "installment": null, "country": "BR", "customer_session": null }
Checkout session identifier (UUID).
Created
"dab106a6-9067-4418-ae43-6045663531dc"
false
"CARD"
Show child attributes
"BR"