v1
latestOpenAPI 3.0.12026-07-24501176.6 MBGet Transaction Details With ID
Retrieves the details of a specific transaction. Monetary fields in line items may be rounded based on configuration.
get/transactions/{id}
Path parameters
idstring required
Unique transaction id to fetch details.
Query parameters
type'REGULAR' | 'RETURN' | 'NOT_INTERESTED' | 'NOT_INTERESTED_RETURN'
Type of transaction to fetch.
tendersboolean
Pass true to retrieve payment mode details. Default value is false.
credit_notesboolean
Pass true to retrieve credit notes details (added through v1.1 transaction/add).
Response
200
Example response
{
"loyaltiesPointDetails": [
{
"issuedPoints": 1,
"availablePoints": 1,
"expiryDate": "2025-05-06T23:59:59Z",
"programId": 983,
"redeemableFrom": "2025-04-10T14:10:02Z",
"pointsBreakup": {
"currentPoints": {
"regularPointsBreakup": [
{
"programId": 983,
"issued": 0.333,
"expiryDate": "2025-05-06T23:59:59Z",
"expiryType": "fixed",
"awardedDate": "2025-04-10T14:10:02Z",
"allocationType": "LINEITEM"
}
]
}
}
}
],
"attribution": {
"createDate": "2025-04-10T07:00:00Z",
"createdBy": {
"id": 75155297,
"code": "tj_capillary",
"name": "tj_capillary",
"type": "TILL",
"referenceId": -1,
"adminType": "GENERAL",
"isActive": true,
"timeZoneId": 191,
"currencyId": 95,
"languageId": 148
},
"modifiedBy": {
"referenceId": -1
},
"modifiedDate": "2025-04-10T08:40:02Z"
},
"billDetails": {
"amount": 6000,
"billingStore": {
"id": 75152715,
"code": "doc123",
"name": "DocStore",
"type": "STORE",
"referenceId": -1,
"adminType": "GENERAL",
"isActive": true,
"timeZoneId": 191,
"currencyId": 95,
"languageId": 148
},
"billNumber": "test00transact080",
"billingTime": "2025-04-10T07:00:00Z",
"discount": 2000,
"grossAmount": 8000,
"note": "This is transaction number 80"
},
"customFields": {
"booking_date": "2025-04-10",
"origin": "instore",
"paymentmode": "card"
},
"source": "instore",
"customerId": 564703252,
"id": 884754745,
"lineItems": [
{
"id": 4006733182,
"details": {
"amount": 2000,
"description": "Steel Bottle",
"discount": 1000,
"itemCode": "model_id_001",
"qty": 4,
"rate": 750,
"value": 3000,
"returnable": true,
"returnableDays": -1
},
"outlierStatus": "NORMAL",
"valid": true
}
],
"outlierStatus": "NORMAL",
"type": "REGULAR",
"extendedFields": {
"card_used": "1111222233334444"
},
"autoUpdateTime": "2025-04-10T08:40:02Z",
"basketSize": 7
}