Skip to main content
GET
/
customers
/
sessions
/
{customer_session}
/
payment-methods
Retrieve Payment Methods To Enroll
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>'
"{\n    \"payment_methods\": [\n        {\n            \"name\": \"Visa Credit Card\",\n            \"description\": \"Visa Credit Card\",\n            \"type\": \"VISA\",\n            \"category\": \"CARD\",\n            \"icon\": \"https://icons.prod.y.uno/visa_logosimbolo.png\",\n            \"enrollment\": {\n                \"session\": \"6641e30d-ca7a-440f-b97c-24231eac6dab\",\n                \"sdk_required_action\": false\n            }\n        },\n        {\n            \"name\": \"Mastercard Credit Card\",\n            \"description\": \"Mastercard Credit Card\",\n            \"type\": \"MASTERCARD\",\n            \"category\": \"CARD\",\n            \"icon\": \"https://icons.prod.y.uno/mastercard_logosimbolo.png\",\n            \"enrollment\": {\n                \"session\": \"6641e30d-ca7a-440f-b97c-24231eac6dab\",\n                \"sdk_required_action\": false\n            }\n        },\n        {\n            \"name\": \"PayPal Wallet\",\n            \"description\": \"PayPal Wallet\",\n            \"type\": \"PAYPAL\",\n            \"category\": \"WALLET\",\n            \"icon\": \"https://icons.prod.y.uno/paypal_logosimbolo.png\",\n            \"enrollment\": {\n                \"session\": \"6641e30d-ca7a-440f-b97c-24231eac6dab\",\n                \"sdk_required_action\": false\n            }\n        }\n    ]\n}\n"
Get the list of payment methods the user has available for enrollment.

Authorizations

public-api-key
string
header
default:<Your public-api-key>
required
private-secret-key
string
header
default:<Your private-secret-key>
required

Path Parameters

customer_session
string
required

The customer session that has been created for the enrollment using the Create Customer Session endpoint (UUID, 36 chars).

Response

200

payment_methods
object[]