Capture the draft order's payment. This will also set the draft order's status to completed and create an Order from the draft order. The payment is captured through Medusa's system payment, which is manual payment that isn't integrated with any third-party payment provider. It is assumed that the payment capturing is handled manually by the admin.
Request
Path Params
Responses
🟢200OK
application/json
Body
🟠400Client Error or Multiple Errors
🟠401User is not authorized. Must log in first
🟠404Not Found Error
🟠409Invalid State Error
🟠422Invalid Request Error
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request POST '{{baseURL}}/admin/draft-orders//pay'