List all transactions

REQUEST OBJECT

ParametersTypeDescription
bid*StringGenerated by Metaprise for the merchant. It is a string of 32 bits long to uniquely identify the merchant generated by the system.
out_trade_noStringIt is a string of numbers to uniquely distribute the id to a specific order, which the id is created by merchants, required if card_num not provided.
card_numStringThe unique card number defined by Metaprise, required if out_trade_no not provided.
start_timeStringThe create date of transactions, format: YYYY-mm-dd.
end_timeStringThe create date of transactions, format: YYYY-mm-dd.
pageintIndicate the number of pages you wish to query, and the default is the first page.
page_lenintA limit on the number of objects to be returned. The limit can range between 1 and 100, and the default is 20.
sign*StringEncrypt data according to API ENDPOINTS>>Authentication.

RESPONSE OBJECT

ParametersTypeDescription
resultStringPossible enum values: success, fail
bidStringGenerated by Metaprise for the merchant. It is a string of 32 bits long to uniquely identify the merchant generated by the system.
card_numStringThe unique card number defined by Metaprise
total_recordintThe total number of transactions made on the specified card.
total_pageintThe total number of pages of transactions on the specified card.
page_lenintThe number of transactions returned per page on the specified card.
pageintThe page you query.
trans_listobjectThe transaction records

TRANS_LIST OBJECT

ParametersTypeDescription
trans_snstringThe unique transaction number defined by Metaprise
trans_date (will be deprecated)stringTransaction created date, this field will be deprecated in future releases.
createdtimestampTransaction created time
cardstringThe unique card number defined by Metaprise
trans_spend (will be deprecated)intThe spending amount, this field will be deprecated in future releases.
trans_income (will be deprecated)intThe incoming amount, this field will be deprecated in future releases.
amountintThe transaction amount.
currencystringThe transaction currency.
trans_type (will be deprecated)stringThe transaction type, this field will be deprecated in future releases.
statusstringThe transaction status.
trans_remarkstringThe description of the transaction.
Language