discount object in the payment request.
Steps for Integration
- Merchant creates and validates the discount in their own system.
- Merchant passes the discount details in the
discountobject while creating the one-time payment using Create Session API. - The
discountobject defines how the discount should be applied to the payment. - For a fixed discount, the merchant specifies the discount amount using
discountQuoteAmount. - Transact Bridge receives the discount information along with the payment request.
- Transact Bridge applies the discount to the applicable payment amount.
- Merchant renders the Checkout page using the redirect URL received in the response.
- The customer completes the payment using the discounted amount.
Supported Discount Type
For one-time payments, merchants can configure a fixed-amount discount.Integration Flow
Request Example
The following example demonstrates a fixed-amount discount of ₹100 applied to a one-time payment. Thisdiscount object needs to be passed in the Create Session API.
Example
If the original payment amount is ₹2,000 and the configured fixed discount is ₹100:The merchant is responsible for creating and validating the coupon or discount in their own system. Transact Bridge receives the discount details provided by the merchant in the API request and applies the configured discount to the one-time payment.