Skip to main content
POST
/
v1
/
orders
Create Order
curl --request POST \
  --url https://api.chessa.ai/v1/orders \
  --header 'Content-Type: application/json' \
  --data '
{
  "chain": "Solana",
  "destinationAsset": "NGN",
  "originAmount": 10,
  "originAsset": "USDC",
  "recipientId": "cd9bcac5-5710-4e6c-ba15-63b8fb7b44e3"
}
'
{
  "order": {
    "createdAt": "2025-03-18T06:05:27.754Z",
    "cryptoAddress": null,
    "cryptoAddressChain": "Solana",
    "cryptoAddressId": null,
    "cryptoAddressTag": null,
    "cryptoDepositId": null,
    "destinationAmount": "1500",
    "destinationAsset": "NGN",
    "destinationCountry": "NG",
    "expiresAt": "2025-03-18T08:05:27.751Z",
    "feeAmount": "0.00000000",
    "feeCurrency": "USDC",
    "feeUsd": "0.00000000",
    "id": "b647214f-3c33-4027-986b-3a46f041e800",
    "note": null,
    "originAmount": "0.95",
    "originAsset": "USDC",
    "partnerId": "4646e61e-33cf-452b-8bba-c138b78a57f0",
    "recipientId": "f12b990c-d4dc-4dc7-8b42-cbaa90308820",
    "refundAddress": null,
    "senderConfirmedAt": null,
    "shortId": "N3LBXEUI",
    "status": "created",
    "updatedAt": "2025-03-18T06:05:27.754Z",
    "userId": "02e31a45-9474-4858-a833-06e89e494003"
  }
}

Headers

x-client-id
string
Example:

""

x-client-secret
string
Example:

""

Body

application/json
chain
string
Example:

"Solana"

destinationAsset
string
Example:

"NGN"

originAmount
number
Example:

10

originAsset
string
Example:

"USDC"

recipientId
string
Example:

"cd9bcac5-5710-4e6c-ba15-63b8fb7b44e3"

Response

Success Response

order
object