Capture the payment for an order. When there are no payment method validation issues, the capture process is successful, the payment_status updates to capture pending, and the payment request is scheduled. The payment request itself occurs asynchronously.
Requires at least one of the following scopes:
store_v2_orders
store_v2_transactions
Authentication
X-Auth-Token in header
Parameters
store_hash in path - string
Accept in header with default of application/json - string
Void the payment for an order. When there are no payment method validation issues, the void process is successful, the payment_status updates to void pending, and the void payment request is scheduled. The payment request itself occurs asynchronously.
Requires at least one of the following scopes:
store_v2_orders
store_v2_transactions
Authentication
X-Auth-Token in header
Parameters
store_hash in path - string
Accept in header with default of application/json - string
Calculate the tax amount, total refund amount and get available payment options for an order refund by providing items and costs or quantities to refund.
Requires at least one of the following scopes:
store_v2_orders
store_v2_transactions
Notes:
Create a refund quote before performing a refund request to best avoid a 422 error. Check the refund quote's response body for the refund_methods array. The amount given in the array must match the amount used in the refund request body.
Order refunds should be processed sequentially. Processing multiple concurrent refunds on the same order is not yet supported.
Authentication
X-Auth-Token in header
Parameters
store_hash in path - string
Accept in header with default of application/json - string
Creates a refund. When there are no payment method validation issues, the refund process is successful and the refund payment request is scheduled. The payment request itself occurs asynchronously.
Requires at least one of the following scopes:
store_v2_orders
store_v2_transactions
Note:
Order refunds should be processed sequentially. Processing multiple concurrent refunds on the same order are not yet supported.
Authentication
X-Auth-Token in headerAuthentication details
Parameters
store_hash in path - string
Accept in header with default of application/json - string