v1

latestOpenAPI 3.0.02026-07-24270120.1 KB

Invoice refund

post/tsp/pg/portal/pay/paymentInvoice/refund

Request body

merchantId string required

Merchant account ID. Size- 12

aggregatorIdstring

Aggregator account ID. Required if request is initiated from aggregator. Size- 12

invoiceNostring required

Unique Ref/Invoice number for the payment request. Should be same as sent in original request. Size- 32

amountstring required

The amount to be refunded, it cannot exceed the original order amount. Size- 12

loyaltyBurnRefundIdstring

The id given by loyalty system for the Burn refund. For LJI this will refer to burn_cancel_bit_reference. Size- 32

loyaltyEarnRefundIdstring

The id given by the loyalty system for the Earn refund. For LJI this will refer to earn_cancel_bit_reference. Size- 32

secureHashstring

Hash value. Size- 64

Response

responseCodestring required

Response code indicating success/failure. R1000 / 0000 – Success, Any other value failure. Size- 4

respDescription string required

Description of failure. Ignore for success response. Size- 45

merchantId string

Merchant account ID. Echo of request field

aggregagtorId string

Aggregator account ID. Echo of request field

invoiceNostring

Merchant Txn ref Number. Echo of request field

secureHash string required

Hash Value. Size- 64