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 Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request POST '{{baseURL}}/admin/orders//swaps//process-payment'