User Payment Records and Earnings Records Interface
Description
This interface is used to obtain the data of user payment records and earnings records.
URL
/operator/api/paymentHistory.htm
Parameter
Parameter | Type | Description |
---|---|---|
opId | String | Operator ID |
coin | String | Coin type(BTC、LTC、ZEC……) |
params | String | Check the table below |
sign | String | Signature,check "Interface Authorization" description for details. |
record description:
Name | Type | Description |
---|---|---|
key | String | API key |
nonce | Long | Incremental random number |
userId | String | User ID |
page | Integer | Page number |
pageSize | Integer | Quantity of each page |
Return Value
payout type:
{ "code": "000000", "data": { "rows": [ { "timestamp": "2015-01-01 00:00:00", "walletAddress": "1Mp3atombUR6iLLYoLEdN9uPfPscsKBXfi", "txId": "191138d1aa04f8c898139d69fc821a5e0b92b4ecb3225629012fcc1a7558736d", "amount": "0.01" } ], "page": 1, "totalPage": 1, "pageSize": 10, "totalRecord": 1 }, "message": "ok" }
pps type:
{ "code": "000000", "data": { "rows": [ { "timestamp": "2015-01-01 00:00:00", "networkDiff": "35985640265", "diff1ShareCount": "1000", "fee": "0.01", "amount": "0.01" } ], "page": 1, "totalPage": 1, "pageSize": 10, "totalRecord": 1 }, "message": "ok" }