v1
latestOpenAPI 3.1.02026-07-241653251.3 MBWithdrawals
Request UMA Withdrawal
Requests a withdrawal to an UMA address (on Lightning Network).
post/withdrawals/uma
Headers
X-SCX-SIGNEDstring required
HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.
X-SCX-TIMESTAMPstring required
Example:1678901234
Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.
Request body
Example request
{
"participant_code": "D3SCYB",
"recipient_uma_address": "$satoshi@vasp.com",
"amount_sats": "1000",
"receiving_currency": "SAT",
"amount_receiving_currency": "1000",
"client_withdrawal_request_id": "5c080f8a-f993-4cc4-9b33-326c4b765105"
}Response
Successfully created UMA withdrawal request. Returns the created resource with generated IDs and timestamps.
Example response
{
"platform_code": "JDNQGG",
"participant_code": "D3SCYB",
"sender_uma_address": "$sender@uma.zerohash.id",
"recipient_uma_address": "$satoshi@vasp.com",
"amount_sats": "900",
"sender_fee_sats": "179",
"receiving_currency": "SAT",
"amount_receiving_currency": "900",
"receiving_currency_multiplier": "1.000000000",
"receiver_exchange_fee_sats": "100",
"invoice": "lnbcrt...nvrx9",
"payee_name": "John Doe",
"payee_email": "john.doe@example.com"
}