Void API

This will be used to void an authorized transaction. Please find the mapping of gateway response and transaction status below:

Scroll inside to view more
Payment Gateway Response
Juspay Transaction Status
Pending
VOID_INITIATED
Success
VOIDED
Failure
VOID_FAILED
Timeout/no response from gateway
AUTHORIZED
API Endpoints
Sandbox Link
POST
https://api.sandbox.juspay.io/v2/txns/{txn_uuid}/void
Production Link
POST
https://api.juspay.io/v2/txns/{txn_uuid}/void
Authorization Header
Path Params
Body
200 : Success
400 : Invalid Input data
401 : Authentication Failed
Last updated 1 year ago