Create a withdraw voucher request to be redeemed by anyone. Money will be deducted from your lightning wallet.
Method
POST https://prod.ninjapay.me/lapi/v1/requestToken
Parameters
Body (application/json)
{
widget_mode: string, // Add "onramp" for receiving or "offramp" for withdrawing.
amount: number, // The amount in BTC(not SAT)
order_id?: string; // Optional From title for voucher giveaway
callback_url?: string, // Add this if you want a success response upon
}