Skip to main content

Documentation Index

Fetch the complete documentation index at: https://devs.elementpay.net/llms.txt

Use this file to discover all available pages before exploring further.

  1. Choose direction: order_type 0=ONRAMP, 1=OFFRAMP.
  2. Pick token address: see /meta/tokens in the API Reference.
  3. Provide fiat payload:
    • PHONE works for both ON/OFF ramp.
    • TILL/PAYBILL/BANK are off-ramp only.
  4. Submit POST /orders/create and capture tx_hash.
  5. Track via /orders/tx/{tx_hash} and webhooks.
For OFFRAMP, the contract allowance must be sufficient. Otherwise you’ll get 400 insufficient_allowance with {required,current}.