Payment Sessions

Use a Yorlet-hosted payment page to accept a payment.

A Payment Session is a Yorlet-hosted payment page that lets you collect payments quickly and securely. It is simpler to integrate and dynamically handles 3D Secure for you.

Payment Sessions API is currently in beta. If you'd like to help us test it please contact Yorlet support.

curl \
-H "Authorization: Bearer {{API_KEY}}" \
-H "Content-Type: application/json" \
-d '{
"amount": 10000,
"currency": "gbp",
"customer": "{{CUSTOMER_ID}}",
"payment_method_types": ["card"],
"return_url": ""

Redirect your customer to the url returned in the response.

"id": "ps_test",
"object": "payment_session",
"url": ""