Enabling the auto-capture
How to enable the auto-capture option for a selected payment method
Problem
You want to enable the auto capture option for a payment method, in order to automatically settle the payment upon authorization.
Solution
To enable the auto-capture option you need to send a PATCH
request to the /api/payment_method/:id
endpoint, setting the auto_capture
attribute to true
.
Example
The following request updates the payment method identified by the "hJGrTfdaEW " ID to enable the auto-capture:
Additional notes
Gateways support
Payment instruments support
Order cancellation
More to read
Last updated