Void API
This will be used to void an authorized transaction.
Status Understanding:
|
Payment Gateway Response
|
Juspay Transaction Status
|
|---|---|
Pending
| VOID_INITIATED
|
Success
| VOIDED
|
Failure
| VOID_FAILED
|
Timeout/no response from gateway
| AUTHORIZED
|
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:- Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
The unique id generated by Juspay for a particular transaction. Can be used as an identifier in case of UPI transaction
Example : eulvW58PbNNojAJXR7B
Example : txn_uuid
Example : VOID_INITIATED
Example : https://api.juspay.in
Example : CARD
Example : MASTERCARD
https://api.juspay.in/merchant/pay/ord_be69837b0a4b4fe486967e1ce1cd0477
https://api.juspay.in/merchant/pay/ord_be69837b0a4b4fe486967e1ce1cd0477?mobile=true
https://api.juspay.in/merchant/ipay/ord_be69837b0a4b4fe486967e1ce1cd0477
Example : 8342jhd9
Example : Void is Pending
Example :PENDING
Example :14327074
Example :2019-03-01T08:38:44Z
Example :NA
Example : 183782
Example : merchant_id
Example : ord_be69837b0a4b4fe486967e1ce1cd0477
2019-03-01T08:37:10Z
Example : FUR14920977945
Example : BRL
Example : test
Example : 2022
Example : 07
Example : DEBIT
Example : aa301450fe38c65cd813a8c33897942b
Example : HDFC Bank
Example : 541919
Example : 6rds4re1p3678ftk333q64gs1g
Example : MASTERCARD
Example : Void is Pending
Example : PENDING
Example : THREE_DS
Bad Request
Invalid state for void operation.
Invalid
error
access_denied
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

