Skip to main content

v2.payment.get_billing_transaction_info

POST /api/v2/payment/get_billing_transaction_info

This API is applicable for Cross Border (CB) sellers only to get the detailed payout transaction data, both released and to-be released transaction can be found in here

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/payment/get_billing_transaction_info

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Request Parameters

NameTypeRequiredSampleDescription
billing_transaction_info_typeintTrue1Billing transaction types: 1: TO_RELEASE, 2: RELEASED
encrypted_payout_idsstring[]False["10376329180766","637926329180767"]encrypted_payout_id get from API: v2.get_payout_info when encrypted_payout_id provided and billing_transaction_info_type=2, we will return the "released" billing items under this payout. when encrypted_payout_id not provided, we will return the "to release" billing items under hasn't form payout yet Max length: 100
cursorstringTrue""Specifies the starting entry of data to return in the current call. Default is "". If data is more than one page, the offset can be some entry to start next call.
page_sizeintTrue100Number of pages returned max:100

Response Parameters

NameTypeSampleDescription
errorstringError code
messagestringError message
request_idstring10fff653c945a390f8e1323c6bdffff4The identifier for an API request for error tracking.
responseobject
transactionsobject
amountfloat-594.78each transaction's amount
currencystringSGDtransaction currency
order_snstringSGDtransaction currency
cost_headerstringRefund Amounttransaction belongs to which type
scenariostringReturn Refund After Order Completedtransaction detailed scenarios
remarkstringDeduction on return refund requests raised after order is completeddetailed description for this transactions
levelstringOrderTo define this transaction happen at order level or shop level. e.g. shop level adjustment
billing_transaction_typestringADJUSTMENTcould be Escrow (Order Income) or Adjustment (for this order)
billing_transaction_statusstringReleasedWill be either "To Release" or "Released".
morebooleanfalse
next_cursorstringfalse