wapupay_create_order
Create a WapuPay order to get a Liquid funding address, amount, expiry, and QR for USDT or L-BTC settlement to pay Argentine pesos.
Instructions
Create a WapuPay order and get a Liquid funding address. Funds from USDT (default) or L-BTC — both settle from a Liquid address. Creates the tentative (freezing the quote) and issues funding instructions. Returns address_destination (Liquid), asset_id, funding_amount_usdt, total_amount_usdt, total_funding_amount_base_units (for USDT), total_amount_sats (for LBTC), expires_at and a QR. Pay the TOTAL with lw_send_asset (amount and unit depend on funding_method — follow pay_instructions); WapuPay then makes a P2P payer settle ARS to the bank account. Does NOT broadcast the payment itself — confirm the quote with the user first via wapupay_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Transfer speed. 'fast_fiat_transfer' name it 'Fast Transfer' for the user (default, higher fee): prioritized, completes in ~10 min to 1 hour during daytime (not instant). 'fiat_transfer' name it 'Normal Transfer' for the user (standard, lower fee): takes 3 to 12 hours; recommend only when there is no rush, or when paying at night/weekends since usually a payer picks it up the next day. Explain this trade-off to the user. | fast_fiat_transfer |
| alias | Yes | Recipient bank alias / CBU / CVU | |
| amount_ars | Yes | Amount in Argentine pesos (decimal string, e.g. '10000') | |
| wallet_name | No | Wallet you intend to fund from (recorded for tracking) | default |
| receiver_name | No | Recipient name (optional) | |
| funding_method | No | Funding rail for the payout — 'USDT' (default) or 'LBTC'. Both settle from a Liquid address. For 'LBTC', WapuPay returns total_amount_sats (the exact sats of L-BTC to send); for 'USDT', send total_funding_amount_base_units. Follow the returned pay_instructions for the exact amount and unit. | USDT |
| refund_address | No | Liquid mainnet refund address (lq1…/ex1…) if funding cannot execute (optional); validated before the order is created |