Prefunded payouts must be enabled for your organization. Ask your Zapyd account manager for a prefunded wallet. Without one,
GET /payout/balance returns This endpoint is not available for your organization. (PREFUNDED_FLOW_NOT_ENABLED).https://api-sandbox.zapyd.com/pos/api/v1
Flow
Top up the balance
GET /payout/balance returns your prefunded wallet and its balance:wallet_address on network. The balance is cached briefly, so a top-up can take a moment to appear.Create a quotation
Call For a remittance payout, use
POST /payout/quotation with the standard body. Set network to your prefunded wallet’s network; any other returns Network does not match the prefunded wallet network.POST /remittance-payout/quotation with the same network rule.Check the balance covers it
Compare the quotation’s
sending_amount with available_balance for that asset. If the balance is too low, top up before you initiate.Initiate
Call Zapyd reserves
POST /payout/initiate, or POST /remittance-payout/initiate for a remittance payout, without a transaction_hash.sending_amount from your balance, and the payout starts as PROCESSING. A short balance returns Insufficient pre-funded wallet balance. (INSUFFICIENT_PREFUNDED_BALANCE).Track
Statuses, webhooks and polling are the same as for standard payouts. A payout that ends
FAILED or REFUNDED returns its amount to your balance.