Commit invoice refund

If the invoice refund wasn’t committed upon creation, you will further need to commit it manually.

patch
Commit invoice refund

https://sandbox.cryptopay.me/api/v2/invoices/:invoice_uuid/refunds/:uuid/commit
Request
Response
Headers
Content-Type
required
string
application/json
x-api-key
required
string
Your API key
Query Parameters
invoice_uuid
required
string
Invoice UUID
uuid
required
string
Refund UUID
200: OK
{
"id": "f78825cc-95c6-4c9b-b4bc-4394f5febd54",
"amount": 20.05,
"btc_address": "2NBMLRikKuoXch4YbC5kz9YAxXq9WmT1Dck",
"status": "completed",
"error_message": null,
"refund_account": "c1232fd8-d703-4cc5-94e4-51478d6901b0",
"created_at": "2017-02-06T09:34:17.321+00:00",
"updated_at": "2017-02-06T09:34:17.321+00:00"
}