From 8933956333973bc1bb1c648c9ee0727bac609b27 Mon Sep 17 00:00:00 2001 From: frank Date: Wed, 19 Oct 2022 05:19:53 +0800 Subject: [PATCH] retrieving payouts record --- payouts.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/payouts.md b/payouts.md index b563b1a..1726471 100644 --- a/payouts.md +++ b/payouts.md @@ -162,5 +162,43 @@ } ``` +# Retrieve Payouts + +--- + +* `transactionNo` 和 `invoiceId` 二者都可以用来查询交易记录,二选一 + +### Request + +```json +{ + "merchantNo":"202333", + "storeNo":"301854", + "verifySign":"41af5995afd170329ed0a268fac3e0a1", + "invoiceId":"85cfabefaebc265c87da15a0504656b4", + "timestamp":"2022-10-18T21:16:32Z", + "transactionNo":"305448035595256529" +} +``` + +### Response + +```json +{ + "result": { + "amount": "100.00", + "transactionFee": "12.00", + "transactionNo": "305448035595256529", + "createdTime": "2022-10-18T15:45:11Z", + "invoiceId": "85cfabefaebc265c87da15a0504656b4", + "currency": "USD", + "accountToken": "2010305228264750806137", + "paymentTime": "2022-10-18T15:45:11Z", + "status": "pending" + }, + "ret_msg": "query success", + "ret_code": "000100" +} +```