Query a transaction
POST
https://test-api.star-saas.com/v1/retrievalTrans
Merchant may use this interface to synchronise order status on merchant’s internal systems to our gateway system.
Please note, due to security concern, merchant needs to provide the IP addresses to our gateway system for registration before using this interface.
Request
Header Params
Content-Type
string
required
Example:
application/x-www-form-urlencoded
Body Params application/x-www-form-urlencoded
merchant_id
string
required
<= 7 characters
Example:
{{merchant_id}}
account_id
string
required
<= 10 characters
Example:
{{account_id}}
orders
string
optional
Order number defined by merchant
Up to 100 orders can be queried in a single request, divided by “,”
At least one of the three parameters is not empty
<= 1000 characters
Example:
1726890189565
trades
string
optional
Up to 100 transactions can be queried in a single request, divided by “,”
At least one of the three parameters is not empty
<= 1000 characters
encryption_data
string
required
encryption_data=sha256(merchant_id + account_id + sign_key);
<= 64 characters