Description
To find out if a transaction request has been sent out already or not, action code 1 can be used.
This helps in preventing the client from sending out redundant requests.
If any of the below 4 matching criteria are sent as a part of request with action code 1, code validates the below parameters to match with the right transaction, thereby sending out the response same as the previously requested transaction .
- Transaction Amount
- Transaction Type
- Nonce
- If nonce is not available: Reference transaction ID.
- Account Last 4 (optional)
- Card Account Type
List of behavior for each transaction type
Transaction Type | Duplicate Nonce checked | If Action Code 1 is sent while | If Action Code 1 is missing/ not sent while resending initial transaction request |
---|---|---|---|
1 – Auth Only | Yes | Return the previous transaction | Level 1 error – Duplicate Nonce |
2- AuthCapture | Yes | Return the previous transaction | Level 1 error -Duplicate Nonce |
3 – PriorAuthCapture | No | If already captured: Give previous response | Level 1 error – Given reference transaction not an Auth only transaction. |
4 – CaptureOnly | Yes | Return the previous transaction | Level 1 error – Duplicate Nonce |
5 – Void(full void) | No | Return the previous transaction | Level 1 error – Already Voided |
5 – Void(partial void) | No | “Action code: 1 is not supported for partial void” | Partial void is processed |
7 – Refund | Yes | Return the previous transaction | Level 1 error – Duplicate Nonce |
8 – Forced Refund | Yes | Return the previous transaction | Level 1 error – Duplicate Nonce |
9 – Verification | Yes | Return the previous transaction | Level 1 error – Duplicate Nonce |
11 – Balance Inquiry | Yes | Return the previous transaction | Level 1 error – Duplicate Nonce |