POST /void
The unique order reference that was provided when creating the order. This is your merchant-specific identifier for the order. Use this reference to identify which order to perform operations on (e.g., capture, void, refund, get status).
ORD-2024-001234A unique reference identifier for this void request. This must be unique per merchant.
12345679281An optional description or note for this void. This can be used to record the reason for voiding the order (e.g., "order cancelled", "customer requested cancellation"). This description is stored with the void record for reference.
voided order due to cancellation by customerThe amount to void from the authorized order. Must be a positive number with up to 2 decimal places. For full void, this should equal the remaining uncaptured authorized amount (order amount plus surcharge minus any previously captured amounts). For partial void (if the APM supports it), this can be any amount up to the remaining uncaptured authorized amount. The sum of all captures and voids cannot exceed the total order amount plus surcharge. If the APM does not support partial voids it must be equal to the full authorized amount.
2Sample Request/Response
{
"voidReference": "LatEHAuPtpN2HSrTMK-1",
"description": "Please void this order",
"amount": 100
}Last updated