Immediate Payment Flow

Immediate Payment Flow

This flow allows merchants to capture the full payment amount with a single API call. This flow completes the payment approval, starts the customer's payment plan, and settles the full order value with the merchant - all as a combined action.

  1. Merchant calls the Get Configuration endpoint to retrieve Wizit order limits and allow merchant to set the minimum and maximum for wizit from merchant side. This should be within wizit Limit. Merchant can also enable automatic capture. So that the immediate capture will be done if items are available in stock.
  2. Merchant stores these minimum and maximum order values server-side.
  3. At the checkout, Merchant uses the stored Wizit minimum and maximum order values to determine if Wizit should be presented as an available payment method.
  4. Merchant calls the Create Checkout endpoint to retrieve Wizit order token and the wizit redirect URL.
  5. Merchant uses this redirect URL to redirect the Customer through the Wizit screen flow.
  6. Upon completing the Wizit screen flow and the customer will be returned to the Merchant website.
  7. If the customer is redirected to the confirm URL, merchant has to initiate a transaction status call to know the transaction and payment status.
  8. If the transaction status api return transaction status as “APPROVE” and payment status as “AUTH_APPROVED” the merchant calls the Capture Full Payment endpoint to capture the payment.
  9. If the transaction status return transaction status as “DECLINED” or payment status as “AUTH_DECLINED” the Merchant presents an appropriate decline message to the Customer at the checkout.
  10. If the customer cancels the Wizit payment flow, the customer will be redirected to cancel URL and merchant can cancel the order.

Read more about Immediate Payment Flow API reference.