Skip to main content
You can generate a unique payment link for a customer using the Billing Session API. This works similarly to payment link providers like Cashfree, where a secure checkout URL is generated and shared with the customer. ​
  1. The merchant creates a subscription by calling the Create Subscription API from the backend.
  2. Create subs API in return gives a unique subscription 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 subscription and transaction status.
  6. Customer is redirected to the return url provided in the create subscription 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:
    • The subscription moves to ACTIVE state.
    • The customer gets access to the subscribed service according to the subscription configuration.
  8. If the payment is unsuccessful, the subscription/payment remains unsuccessful and the appropriate payment status is returned.
  9. Transact Bridge triggers a Webhook to the server URL configured by the merchant. The webhook contains the relevant subscription and payment event information.
  10. Based on the subscription configuration, an invoice is generated by Transact Bridge and sent to the customer.
  • In case the payment fails, TB does not mark the subscription as inactive and allows multiple transactions until there is a successful transaction on that session. The customer can retry the transaction within the same session.

Payment Flow