merchant

Payout to a user via Merchant Self-Custodial Wallet

Changed on

Get a transaction which will payout a user's account upon successful sending of the transaction.

post/merchant/withdraws/payout

Request

  • Base URL
    https://api-sandbox.coinflow.cash/api
  • URL
    https://api-sandbox.coinflow.cash/api/merchant/withdraws/payout
  • Auth
    API key in header Authorization

Request body

walletstring required
blockchain'solana' | 'eth' | 'polygon' | 'base' | 'user' | 'arbitrum' | 'stellar' | 'monad' | 'tempo' required
userIdstring required

The Merchant generated userId for the user.

speed'asap' | 'same_day' | 'standard' | 'card' | 'iban' | 'pix' | 'eft' | 'venmo' | 'paypal' | 'wire' | 'interac' | 'swift' | 'crypto' required
accountstring required

The debit card, bank or Iban pci-compliant token

Response

Ok

transactionsstring[] required

The transactions to be signed by the user and sent to the blockchain.

Solana - Transactions are base58 encoded. You can reconstruct them by calling Transaction.from(base58.decode(transaction)) Evm - Transactions are JSON stringified. You can reconstruct them by calling JSON.parse(transaction)

Changes