Skip to content

GetTransactionDetails

Use this api to get transaction details.

POST /openapi/finance/v1/get-transaction-details

Request Parameters

Parameter Type Required Description
channel string true LAZADA_ID, only support this channel
shopId string true Shop id in channel
startTime string true start date, 2021-09-01
endTime string true End date, 2021-09-23
page integer true page no, greater than or equal to 0
size integer true page size, greater than 0, less than 500

Response Parameters

Name Type Description
orderNo string Order ID
transactionDate string Date of the transaction
amount string Total transaction value
paidStatus string Yes / No
shippingProvider string The shipping provider
lazadaSku string The Lazada SKU
transactionType string Transaction type or fee name
orderItemNo string Order item number
orderItemStatus string The order item status
reference string The Order Item ID (the Sub-order ID of "Order ID" parameter)
feeName string feeName
shippingSpeed string The shipping speed
transactionNumber string Unique ID of the transaction in the format "Seller code- xxxxxxx"
sellerSku string The seller SKU
statement string Statement ID
details string Transaction details
shipmentType string The shipment type
vatInAmount string The VAT in amount
whtIncludedInAmount string The WHT included in amount or not
whtAmount string The WHT amount

Request Example

Example

curl -X POST  \
-H "X-Advai-Country: ID" \
-H "Authorization: {Your Access Key} + ':' + signature" \
-H "Content-Type: application/json" \
-d '{
        "channel":"LAZADA_ID",
        "shopId":"100221048",
        "size": 10,
        "page": 0,
        "startTime":"2001-08-11",
        "endTime":"2021-08-31"
    }' \
"{Ginee Host}/openapi/finance/v1/get-transaction-details

Response Example

Success

{
    "code": "SUCCESS",
    "message": "OK",
    "data": {
        "transactionDetailList": [
            {
                "orderNo": null,
                "orderItemNo": "null",
                "orderItemStatus": null,
                "transactionDate": "05 Aug 2021",
                "amount": "10.00",
                "paidStatus": "Not paid",
                "shippingProvider": null,
                "whtIncludedInAmount": "No",
                "paymentRefId": null,
                "lazadaSku": null,
                "transactionType": "Orders-Sales",
                "reference": "",
                "feeName": "ToSellerAccountThird",
                "shippingSpeed": null,
                "whtAmount": "0.00",
                "transactionNumber": "transfer-test-002",
                "sellerSku": null,
                "statement": "05 Aug 2021 - 05 Aug 2021",
                "details": null,
                "comment": "0",
                "vatInAmount": "0.00",
                "shipmentType": null
            },
            {
                "orderNo": null,
                "orderItemNo": "null",
                "orderItemStatus": null,
                "transactionDate": "05 Aug 2021",
                "amount": "10.00",
                "paidStatus": "Not paid",
                "shippingProvider": null,
                "whtIncludedInAmount": "No",
                "paymentRefId": null,
                "lazadaSku": null,
                "transactionType": "Orders-Sales",
                "reference": "",
                "feeName": "ToSellerAccountThird",
                "shippingSpeed": null,
                "whtAmount": "0.00",
                "transactionNumber": "transfer-test-001",
                "sellerSku": null,
                "statement": "05 Aug 2021 - 05 Aug 2021",
                "details": null,
                "comment": "0",
                "vatInAmount": "0.00",
                "shipmentType": null
            }
        ]
    },
    "extra": null,
    "transactionId": "20b9c9e91ae01cd3"
}

Failure

{
    "code": "DATA_NOT_EXISTED",
    "message": "The data you requested does not exist",
    "data": null,
    "extra": null
}