Create a new transaction (sell, pool settlement, or buy)
Documentation Index
Fetch the complete documentation index at: https://docs.stablepay.global/llms.txt
Use this file to discover all available pages before exploring further.
type parameter determines the flow.
See the Transaction Lifecycle guide for status flows and the Pool Settlement guide for the two-step pool workflow.
sell, pool_settlement, or buyUSDC or USDTpolygon, ethereum, arbitrum, base, trontransactionMode: sell or transactionMode: both.| Code | Description | Applies To |
|---|---|---|
IDEMPOTENCY_KEY_REQUIRED | Missing Idempotency-Key header | All |
INVALID_TYPE | Invalid transaction type | All |
USER_NOT_FOUND | User doesn’t exist | All |
KYC_INCOMPLETE | User hasn’t completed KYC | All |
NO_BANK_ACCOUNT | No verified bank account | All |
AMOUNT_TOO_LOW | Below minimum ($10) | All |
AMOUNT_TOO_HIGH | Above maximum ($50,000) | All |
PENDING_TRANSACTION_EXISTS | User has an active transaction | sell |
POOL_SELL_NOT_ALLOWED | Not enabled or insufficient pool balance | pool_settlement |
SWEEP_FAILED | Failed to initiate pool wallet sweep | pool_settlement |
TRANSACTION_TYPE_NOT_ALLOWED | Account not configured for this transaction type | sell, pool_settlement |