1. PayIn
Setu
  • Setu API documentation
  • Introduction
  • Signature & Code samples
  • Webhook Verification
  • India
    • PayIn
      • Payment Webhook
      • Payment Redirect
      • Create Payment
        POST
      • Fetch Payment Status
        POST
      • Initiate Refund
        POST
    • PayOut
      • Payout Webhook
      • Initiate Payout
      • Fetch Payout Status
  • Egypt
    • PayIn
      • Payment Webhook
      • Initiate Refund
      • Create Payment
      • Fetch Payment Status
    • PayOut
      • Payout Webhook
      • Initiate Payout
      • Fetch Payout Status
  • Nigeria
    • PayIn
      • Payment Webhook
      • Initiate Refund
      • Create Payment
      • Fetch Payment Status
    • PayOut
      • Payout Webhook
      • Initiate Payout
      • Fetch Payout Status
      • Bank Code
  • Indonesia
    • PayIn
      • Payment Webhook
      • Initiate Refund
      • Create Payment
      • Fetch Payment Status
    • PayOut
      • Payout Webhook
      • Initiate Payout
      • Fetch Payout Status
      • Bank Code
  • Account Balance
    POST
  • USDT Exchange Rate
    POST
  1. PayIn

Payment Redirect

Payment Redirect#

After payment, the Setu checkout page redirects the payer's browser to the redirectUrl you passed to Create Payment.
The redirect is a GET request. The order result is in the query string. Show it on a result page only. Do not treat it as the webhook. Update the order from the payment webhook or Fetch Payment Status.

Query parameters#

ParameterDescription
transactionRefSetu transaction reference.
merchantRefMerchant reference for the transaction.
currencyIndian currency code (INR).
methodPayment method.. Values: NATIVE, COMPANY, PERSONAL
amountOrder amount.
paidAmountAmount actually paid (use this field when reconciling account balance changes).
feeProcessing fee.
statusOrder status.
status values:
ValueMeaning
SuccessSuccess
TimeoutTimeout
FailedFailed
RefundRefund
ChargebackChargeback
Modified at 2026-10-08 20:03:55
Previous
Payment Webhook
Next
Create Payment
Built with