Payment Flow

Explore two flexible payment methods — one-time and recurring — to help businesses optimize user experience and automate revenue collection.


One-time Payment

The one-time payment flow allows customers to pay immediately for a specific order.

Detailed steps:

  1. Customer selects product: Adds to cart and clicks “Checkout”
  2. Website creates order: Stores order details in the database
  3. Generate checkout form: Prepare data and create HMAC-SHA256 signature
  4. Send request to SePay: POST form to /v1/checkout/init endpoint
  5. Validate signature: SePay verifies the signature validity
  6. Redirect customer: To SePay’s payment page
  7. Choose payment method: Card, QR Banking, or QR NAPAS
  8. Process payment: SePay communicates with the bank/card system
  9. Receive result: From the banking system
  10. Callback to website: Trigger corresponding callback URLs
  11. IPN notification: Notify payment result via IPN
  12. Redirect customer: Back to result page on your website
  13. Display result: Success / Failure / Canceled page

Recurring Payment

Coming Soon

Recurring payments are currently under development and will be released in the near future.
Please stay tuned for official updates from SePay regarding the launch schedule.