cURL
curl --request GET \ --url https://uat-api.clinkbill.com/api/order/{id} \ --header 'X-API-KEY: <api-key>' \ --header 'X-Timestamp: <api-key>'
{ "code": 200, "msg": "success", "data": { "orderId": "<string>", "merchantReferenceId": "<string>", "invoiceId": "<string>", "customerId": "<string>", "createTime": 1754819711382, "productId": "<string>", "priceId": "<string>", "priceDataList": [ { "name": "<string>", "unitAmount": 1, "quantity": 2, "currency": "<string>", "imageUrl": "<string>" } ], "paymentMethod": { "paymentMethodType": "CARD", "paymentInstrumentId": "<string>" }, "amountSubtotal": 9.99, "amountTotal": 9.99, "paymentCurrency": "USD", "originalCurrency": "USD", "status": "success", "sessionId": "<string>", "metadata": {} } }
Get detailed information about a specific order
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
Unique identifier of the order
Order details retrieved successfully
Response status code, 200 when success
200
Brief description of what happened, 'success' when happy case
"success"
Show child attributes