Skip to main content
Withdrawals let you move funds from your IteraPay merchant balance to an external crypto wallet address. Before creating a withdrawal, you should verify that you have sufficient funds, understand any applicable fees, and confirm that your withdrawal amount meets the minimum threshold. This guide walks you through each step.

Prerequisites

  • A funded merchant balance (see Collect Funds)
  • The destination wallet address
  • The payment method ID for the network you’re withdrawing on
  • Your merchantID and a valid API key or JWT bearer token

Withdrawal flow

1

Check your available balance

Before creating a withdrawal, confirm that you have enough funds in your merchant balance.
Expected response:
Use the available field. Funds that are still pending (e.g., in an active collection) cannot yet be withdrawn.
2

Check withdrawal limits

Retrieve the minimum and maximum withdrawal limits for your account. Submitting a withdrawal below the minimum will be rejected.
Expected response:
3

Preview withdrawal fees

Check the fee that will be applied to your withdrawal before submitting. This lets you calculate the exact net amount that will arrive at the destination.
Expected response:
Network (gas) fees may apply in addition to the IteraPay withdrawal fee, depending on the blockchain you’re withdrawing on. These are reflected in the final transaction.
4

Create the withdrawal

Submit the withdrawal order with the destination address, amount, and payment method ID.
Expected response:
Save the id to track the withdrawal status.
5

Monitor withdrawal status

Check the status of a specific withdrawal using its ID.
Expected response:
Possible status values are pending, processing, and completed. A txHash is included once the on-chain transaction is broadcast.

View pending withdrawals

To see all withdrawals that haven’t completed yet, use the pending withdrawals endpoint:
Expected response:
Do not submit duplicate withdrawal requests while a withdrawal is still pending or processing. Check the pending withdrawals list before creating a new one.

Next steps

To receive automatic notifications when withdrawals complete or when payments arrive, configure a webhook endpoint. See Webhooks for setup instructions.