withdraw

Create Transactions

Changed on

Creates the transaction to be signed by the user and sent to the blockchain.

post/withdraw/transaction

Request

  • Base URL
    https://api-sandbox.coinflow.cash/api
  • URL
    https://api-sandbox.coinflow.cash/api/withdraw/transaction
  • Auth
    API key in header x-coinflow-auth-wallet

Request body

amountnumber double required
merchantIdstring required
speed'asap' | 'same_day' | 'standard' | 'card' | 'iban' | 'pix' | 'eft' | 'venmo' | 'paypal' | 'wire' | 'interac' | 'swift' | 'crypto' required
ownerOverridestring

For Solana currency token transactions, the public key of the wallet owner that will sign the transaction. This will replace the public key associated with the user wallet.

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

    • warning

      deleted the header request parameter x-coinflow-auth-wallet

    • info

      the endpoint scheme security wallet was added to the API

    • info

      api operation id get-transaction removed and replaced with withdraw_GetTransaction