Payment Methods (Checkout)
cURL
curl --request GET \ --url https://api-sandbox.y.uno/v1/checkout/customers/sessions/{customer_session}/payment-methods \ --header 'private-secret-key: <api-key>' \ --header 'public-api-key: <api-key>'
{ "payment_methods": [ { "name": "Visa Credit Card", "description": "Visa Credit Card", "type": "VISA", "category": "CARD", "icon": "https://icons.prod.y.uno/visa_logosimbolo.png", "enrollment": { "session": "6641e30d-ca7a-440f-b97c-24231eac6dab", "sdk_required_action": false } }, { "name": "Mastercard Credit Card", "description": "Mastercard Credit Card", "type": "MASTERCARD", "category": "CARD", "icon": "https://icons.prod.y.uno/mastercard_logosimbolo.png", "enrollment": { "session": "6641e30d-ca7a-440f-b97c-24231eac6dab", "sdk_required_action": false } }, { "name": "PayPal Wallet", "description": "PayPal Wallet", "type": "PAYPAL", "category": "WALLET", "icon": "https://icons.prod.y.uno/paypal_logosimbolo.png", "enrollment": { "session": "6641e30d-ca7a-440f-b97c-24231eac6dab", "sdk_required_action": false } } ] }
The customer session that has been created for the enrollment using the Create Customer Session endpoint (UUID, 36 chars).
200
Show child attributes
Was this page helpful?
Contact support