Skip to content

INR Immediate Payment Service withdrawals#

Withdrawal endpoint#

Make a withdrawal request using the API V.2 endpoint (see the withdrawal initiation with API page for the full OpenAPI specification):

POST https://api.xgateway.tech/api/v2/withdrawal

Required Payload#

To initiate a withdrawal in INR currency using IMPS, please provide the following parameters in the withdrawal request:

ParameterMandatoryDescription
amounttrueThe amount to be withdrawn
applicationIdfalseApplication ID in case the application is used
customerIdtrueCustomer id in the merchant system
orderIdfalseInvoice id in the merchant system. If provided, used as an idempotency key
currencytrueString representation of the requested currency. Should be INR in this case
bankAccountNamefalseThe bank account name, if the bank account transfer is selected (optional)
bankAccountNumbertrueThe bank account number, if the bank account transfer is selected
bankNamefalseThe bank name, if the bank account transfer is selected (optional)
bankIfscCodetrueThe IFSC code
paymentSystemtrueString representation of the payment system used. Should be IMPS in this case

Fields marked as optional - such as bankAccountName, bankName - may be omitted. However, providing them can improve success rates and reduce processing time.

Payload example
{
  "amount": "5000",
  "customerId": "ceb5a846-0394-4f08-a1de-efa8581ebfc6",
  "orderId": "ceb5a846-1394-4f08-a1de-efa8581xbad9",
  "currency": "INR",
  "bankAccountName": "R V ENTERPRISE",
  "bankAccountNumber": "112233602699",
  "bankName": "STATE BANK OF INDIA",
  "bankIfscCode": "SBIN0001239",
  "paymentSystem": "IMPS"
}