Capture API
This will capture the transaction which is in the AUTHORIZED state.
Status Understanding:
Scroll inside to view more
|
Payment Gateway Response
|
Juspay Transaction Status
|
|---|---|
Success
| CHARGED
|
Failed
| CAPTURE_FAILED
|
Accepted and pending by gateway
| CAPTURE_INITIATED
|
Timeout/ No response from gateway
| AUTHORIZED
|
Request
Response
API Endpoints
Sandbox Link
POST
https://api.sandbox.juspay.io/v2/txns/{txn_uuid}/capture
Production Link
POST
https://api.juspay.io/v2/txns/{txn_uuid}/capture
Path Params
200 : Success
400 : Invalid Input data
401 : Authentication Failed

