Skip to main content
One-Time Payment Link Flow You can generate a unique payment link for a customer using the Create Order / Payment API. This works similarly to payment link providers like Cashfree, where a secure checkout URL is generated and shared with the customer.

Workflow

  1. The merchant creates a session by calling the Create Session API from the backend.
  2. Create Session API in return gives a unique session ID and a redirect URL.
  3. The merchant uses the returned redirect URL to redirect the user to the payment page. Or can use the same redirect url as the Payment Link and shares it with the customer through email, SMS, WhatsApp, or any other communication channel.
  4. The customer lands to Transact Bridge hosted checkout page, where the customer enters their payment details and completes the payment.
  5. Once the payment is completed, Transact Bridge processes the payment and updates the session and transaction status.
  6. Customer is redirected to the return url provided in the create session API call. The return URL can be a success page or a failure page based on the payment status.
  7. If the payment is successful and the invoice is generated, the session moves to CLOSED state.
  8. If the payment/transaction is unsuccessful, the session remains in STARTED state.
  9. Transact Bridge triggers a Webhook to the server URL configured by the merchant. The webhook contains the relevant session and payment event information.
  10. For the successfull transactions an invoice is generated by Transact Bridge and sent to the customer.
  • In case the payment fails, TB does not mark the session as FAILED OR CLOSED and allows multiple transactions until there is a successful transaction on that session. The customer can retry the transaction within the same session.
  • In case the payment fails, the customer can retry the payment from the same checkout session/payment link, subject to the configured session and payment validity.
  • The merchant should always verify the final payment status through the webhook before fulfilling the order or providing the purchased service.
  • The payment link should be treated as a secure checkout URL and should be shared only with the intended customer.

Payment Flow