Get a Single Transaction
he following APIs returns you the details of a single transaction/order.
get
Path parameters
txnIdstringRequired
Header parameters
AuthorizationstringRequired
Authorization token in Bearer format. Example: Bearer dvakycjgw8liyd278y
Responses
200
Default Response
application/json
400
Bad Request. Wrong/Invalid params format.
application/json
401
UnAuthorized request. Invalid/Expired token
application/json
403
Forbidden Request. Action not allowed or Rate Limit exhausted.
application/json
500
Server Error.
application/json
get
GET /api/seller/legacy/transactions/{txnId} HTTP/1.1
Host: services.driffle.com
Authorization: text
Accept: */*
{
"message": "text",
"statusCode": 1,
"data": {
"txnId": "text",
"orderId": "text",
"orderItemId": 1,
"txnType": 1,
"product": {
"id": "text",
"title": "text"
},
"key": {
"id": "text"
},
"county": "text",
"amount": 1,
"commission": 1,
"campaignFee": 1,
"vatAmount": 1,
"txnDate": "text"
}
}
GET
/transactions/{txnId}
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Params
Param
Param Type
Type
Required
Description
txnId
query
Number
Yes
ID of the transaction
Response
{
"message": "string",
"statusCode": 200,
"data": {
"txnId": "string",
"orderId": "string",
"orderItemId": "number",
"txnType": 0,
"product": {
"id": "string",
"title": "string"
},
"key": {
"id": "string"
},
"county": "string",
"amount": "number",
"commission": "number",
"campaignFee": "number",
"vatAmount": "number",
"txnDate": "string"
}
}
Last updated