📈
Crossli
  • About Crossli
    • Introduction
    • Roadmap
      • Phase 1
      • Phase 2
      • Phase 3
    • Tokenomics
  • API Documentation
    • Generate API Key
    • Regenerate API Key and Secret
    • Create Order
    • Update Metadata
    • Get Order
    • Get All Orders
    • Webhook Setup
    • Initiate Ticket Purchase
Powered by GitBook
On this page
  1. API Documentation

Create Order

URL: POST https://backend.buildex.com/api/ticketing/createOrder

Sample Input:

{
  "amount": "1",
  "currency": "USD",
  "blockchain": "MATIC-AMOY",
  "metadata": {
    "buyername": "test",
    "buyerphone": 123456789
  }
}

Expected Output:

{
  "status": "success",
  "orderId": "41e0c1e0-d33e-4711-8890-3e7b0fbb514d",
  "amount": "1",
  "currency": "USD",
  "amountInCrypto": 1.03,
  "blockchain": "MATIC-AMOY",
  "wallet": "0xcc975ea16d8ec3c2ee2f214653da27fb35bf64a4",
  "paymentUrl": "https://buildex.com/orders/payment/41e0c1e0-d33e-4711-8890-3e7b0fbb514d",
  "metadata": {
    "buyername": "test",
    "buyerphone": 123456789
  }
}

Notes:

  • The amountInCrypto field represents the amount to be transferred in the given wallet or through the provided payment URL.

  • For supported currency codes, visit ExchangeRate-API Documentation.

  • For testing purposes, the available blockchains are MATIC-AMOY and ETH-SEPOLIA.

PreviousRegenerate API Key and SecretNextUpdate Metadata

Last updated 7 months ago