Online Checkout Flow
Integrate Amwal Bank Installments into your web checkout using the Installment Links API. This flow covers generating a payment link, redirecting the shopper, and reconciling order results through both callbacks and signed webhooks.
Online Checkout Practice
Rendering diagram...
Implementation Steps
- Add Amwal as a Payment Method: Add Amwal to your checkout page's list of available payment methods.
- Generate Installment Link via API: Call
POST /payment_links/{store_id}/createwith order amount, currency, customer phone/email, and callback URL. - Redirect or Share: Direct the shopper to Amwal's secure hosted payment URL.
- Complete Payment: The customer selects their preferred installment tenure (3, 6, 12, 24 months) and completes 3DS authentication.
- Callback URL: Amwal redirects the customer back to your
callback_urlwith thetransaction_idparameter. - Webhook Reconciliation: Amwal delivers an asynchronous, RSA-PSS signed
order.successnotification to your backend webhook endpoint. - Order Confirmation: Mark the order as paid in your database and fulfill goods.
