POST/v1/tenants/{tenantId}/ecom_stores/{eComStoreId}/orders/{salesOrderId}/captures/{captureId}/payment_capture
Update payment capture status
Updates the payment capture status for a capture. Send CONFIRMED to unblock shipment after successful payment capture, or FAILED if capture failed. A failed capture can be retried by sending a new status. Once confirmed, the capture cannot be changed.
Parameters
tenantIdrequiredeComStoreIdrequiredsalesOrderIdrequiredcaptureIdrequired
Request body (optional)
application/jsoncapturedAmountoptionalAmount captured, if applicable
- Format: BigDecimal
Example"1499.00"statusrequiredPayment capture status
Allowed values"CONFIRMED""FAILED"Example"CONFIRMED"
Responses
No response body documented.
401Unauthorized - Invalid or missing authentication
Unauthorized - Invalid or missing authentication
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
404Not Found - Capture not found or does not belong to this ecom store's order
Not Found - Capture not found or does not belong to this ecom store's order
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
409Conflict - Payment capture has already been confirmed or was abandoned
Conflict - Payment capture has already been confirmed or was abandoned
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
500
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"