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.

Last updated