Payout
Change status of a Payout.
Changes status of payout depending on action provided in request. Note that without opting-in to the new payouts flow, using other actions than CONFIRM and CANCEL will result into an error.
patch/v3/payouts/{id}
Request
- Base URLhttps://confirmo.net/api
- URLhttps://confirmo.net/api/v3/payouts/{id}
- AuthHTTP bearer
Path parameters
idstring required
The Payout ID.
Request body
Example request
{
"action": "CONFIRM"
}Response
OK
Example response
{
"address": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy",
"btcPriority": "HIGH",
"completedAt": 1484056304,
"createdAt": 1484055304,
"currencyFrom": "EUR",
"currencyTo": "BTC",
"customerEmail": "customerEmail@email.com",
"customerProfile": {
"profileId": "profile-12345"
},
"debitedAmount": 10,
"expiration": 1484055424,
"feeCurrency": "USD",
"feePaymentMode": "MERCHANT",
"id": "WDRnwMw9LIF",
"layer2Attributes": {
"protocolName": "LIGHTNING"
},
"notifyEmail": "customerEmail@email.com",
"notifyUrl": "https://yourEShop.com/payoutProcess",
"paymentMethodId": "BITCOIN-BLOCKCHAIN-MAINNET-BTC-CURRENCY",
"sentAt": 1484055304,
"sourceAddresses": [
"6D5a012e39a77800D492420245662406A03e",
"54SDdf800D492420245662406A03e"
],
"status": "DONE",
"substatus": "manually_canceled",
"treatAsGrossAmount": true,
"txid": "cf3c7…03bcf",
"url": "https://pay.confirmo.com/public/payout/NOLvQIt2na6kfXBb",
"validTo": 1484056304
}Changes
No recorded changes to this operation across all 1 revision of this API.