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.

🧭 Payment Flow

In this flow, the customer will be redirected first from the partner’s website to a domain hosted by Transact Bridge where the customer will enter the requisite information (depending on what compliances) to make payment, and after making payment the customer will be redirected back to the partner’s website. The redirection URL will be provided in response to the Create Session API requests.
  1. Merchant calls Create Billing Session API
  2. Transact Bridge returns a checkout URL
  3. Merchant shares link with customer
  4. Customer completes payment
  5. Webhook is triggered
  6. Customer is redirected to returnUrl

How to get session url

You can obtain the session url by creating a billing session using the Transact Bridge Sessions API. This API allows you to generate a unique payment session for one-time payments. Refer to the API documentation below for request structure, required parameters, and response details. For full flow reference:

One Time Payment API Docs

View the Postman API Collection

POST https://sandbox-api.transactbridge.com/billingSession/v1.0/generateBillingSession

✅ Required Parameters

ParameterTypeType
emailStringCustomer email
returnUrlStringRedirect URL after session completion
quoteCurrCode(Currency code)StringCurrency (USD, EURO, INR, etc)
items(Product Information)ArrayProduct details

📦 Sample Request

{
  "email": "example@gmail.com",
  "quoteCurrCode": "INR",
  "returnUrl": "https://www.transactbridge.com",(Your website url)
  "userId": "692406f30e7db4832a0a7987",
  "items": [
    {
      "name": "Product name",
      "description": "Product description",
      "amount": 100,
      "quantity": 5,
    }
  ]
}