Headless Checkout
1. Retrieve Payment Configuration from Sylius
GET /api/v2/shop/orders/{tokenValue}/payments/{paymentId}/configuration{
"method": "ideal",
"issuer": "ideal_ABNANL2A",
"cardToken": null,
"amount": {
"value": "18.75",
"currency": "EUR"
},
"customerId": null,
"description": "000000157",
"redirectUrl": "{redirect_url}",
"webhookUrl": "{webhook_url}",
"metadata": {
"order_id": 170,
"customer_id": 22,
"molliePaymentMethods": "ideal",
"cartToken": null,
"saveCardInfo": null,
"useSavedCards": null,
"selected_issuer": "ideal_ABNANL2A",
"methodType": "Payments API",
"refund_token": "{token}"
},
"locale": "en_US"
}2. Create the Payment on Mollie
3. Redirect Customer to Mollie Checkout
4. Complete the Payment
Last updated
Was this helpful?
