API Endpoints
This page contais API endpoints
// Some code
x-api-key: YOUR_API_KEY
Content-Type: application/jsonCreate Order - POST api/payments/createOrder
Body
{
"userId": "680a495518220e7e4e07114c",
"amount": 1,
"token": "USDC",
"network": "base",
"memo": "well",
"returnAddress": "0xe9b34E87386b5fA5E611c947730D88E773d2DBb0"
}
{
"message": "Payment order initiated successfully",
"status": "success",
"data": {
"id": "8b0099f2-1307-439c-8fa2-853a588177d7",
"amount": "1",
"token": "USDC",
"network": "base",
"receiveAddress": "0x66D55c9Dec20328342668C7dc78C5704023F45aC",
"validUntil": "2025-05-07T01:20:12.961915157Z",
"senderFee": "0",
"transactionFee": "0",
"reference": ""
}
}Order Status - GET /api/payments/checkOrderStatus/:id
Query Params
Last updated