Transactions / API reference
Get transaction details
Check a transaction’s status and retrieve available delivery details, including electricity tokens.
GET
/transactions/detail/{id}Authentication
Send your live API key in the Authorization: Bearer header. All requests use https://api.celerlinks.com/api-service.
Only transactions owned by your account are accessible. Poll with a delay while pending; avoid tight loops or retrying a purchase with a new idempotency key.
Request parameters
idinteger · path · requiredNumeric transaction ID returned by a purchase or transaction list.
Examples are illustrative. Catalogue IDs, product codes, prices, and provider-specific fields must come from your current API responses.
cURL request
curl --request GET 'https://api.celerlinks.com/api-service/transactions/detail/YOUR_ID' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Accept: application/json'Illustrative response
{
"success": true,
"message": "Request completed successfully",
"data": {
"id": 123,
"reference": "TRANSACTION_REFERENCE",
"status": "successful",
"payment_status": "successful",
"amount": 1000,
"token": null,
"units": null
}
}