Process a swap's payment either by refunding or issuing a payment. This depends on the difference_due of the swap. If difference_due is negative, the amount is refunded. If difference_due is positive, the amount is captured.
Request
Path Params
Query 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/orders//swaps//process-payment'