Create withdrawal
Creates a withdrawal for the merchant associated with your secret key. SpacePay converts the requested USD amount to crypto and sends it to the specified recipient address on the chosen chain.Withdrawals must be enabled for your merchant account. If withdrawals are
disabled, contact the SpacePay support team.
Request Parameters
Withdrawal amount in cents (for example, 5000 = $50.00). Minimum: 100
cents, maximum: 100000000 cents.
EVM chain ID to settle the withdrawal on. Use your withdrawal config endpoint
to get supported chain IDs.
Beneficiary wallet address that will receive the funds.
Your order or reference ID for reconciliation. Maximum 255 characters.
Currency of the withdrawal amount. Supports
USD.Optional metadata as a JSON string. Maximum 2048 characters.
Response Fields
Unique withdrawal identifier.
ID of the merchant who created the withdrawal.
Withdrawal amount in USD cents.
EVM chain ID used for settlement.
Beneficiary wallet address that receives the funds.
Initial status will be
pending. Possible values: pending, processing,
completed, failed, cancelled.Withdrawal currency (
USD).Merchant’s order identifier, if provided.
Custom metadata string, if provided.
Error description.
null on creation; populated if the withdrawal later
fails.On-chain settlement details.
null on creation; populated once the withdrawal
is completed.Timestamp when the withdrawal was created.
Timestamp when the withdrawal was last updated.