Transaction Query
TranQuery
POST
https://mapi.yuansfer.com/app-data-search/v3/tran-query
This API gets the transaction details by ID of a transaction in the merchant's system.
Request Body
Name | Type | Description |
---|---|---|
merchantNo* | string | Merchant ID |
storeNo* | string | Store ID |
transactionNo | string | The Transaction ID in the Yuansfer system. |
reference | string | The Invoice Number of the transaction in the merchant's system. |
verifySign* | string | The parameter signature. |
Response
Parameter | Type | Description |
result | object | The result object. |
ret_msg | string | The response return message. |
ret_code | string | The response return code. For more details, see here. |
Result Object
Parameter | Type | Description |
transactionNo | string | The Transaction ID in the Yuansfer system. |
reference | string | The Invoice Number of the transaction in the merchant’s system. |
amount | number | The transaction amount. |
status | string | The status of the transaction. |
currency | string | The supported transaction currency is "USD", "CNY". |
settleCurrency | string | The supported settlement currency is "USD", "CNY". |
transactionType | string | The type will be either "payment" or "refund". |
RefundInfo Object
Parameter | Type | Description |
refundTransactionId | string | The ID of the refund transaction in the Yuansfer system. |
refundReference | string | The ID of the refund transaction in the merchant’s system. |
refundAmount | string | The transaction refund amount. This parameter will be returned only when the payment order contains a 'Amount'. |
refundRmbAmount | string | The transaction refund amount of CNY. This parameter will be returned only when the payment order contains a 'rmbAmount'. |
currency | string | The supported transaction currency is "USD", "CNY". |
settleCurrency | string | The supported settlement currency is "USD", "CNY". |
Last updated