管理后台

供派娜(PayAny)聚合支付SaaS平台用户的员工进行管理合同、商户、终端、订单、退款、争议、运单、提现、报表等。

{platform}manager

coffee with coding...

报表

通常用来对账,金额核对等


交易流水

以分页形式提供交易流水的列表或查询结果。

请求地址:/accountdetail/list/{pageIndex}-{pageSize}

请求谓词:GET

请求参数:

名称类型长度必须说明
pageIndex数值>=1分页页码

为URL路径的一部分,非GET参数
pageSize数值1~100分页容量,建议20

为URL路径的一部分,非GET参数
contractId数值合同编号
merchantId数值商户编号
txnId数值交易号
type数值类型:(0:订单支付,1:交易手续费,2:交易处理费,3:押金,4:退款,5:退款处理费,6:争议,7:争议处理费, 8:提现,9:提现手续费,10:汇率差价,99:账目调整)
currency文本货币类型如:(CNY)
remark文本说明
dateStart时间

yyyy-mm-dd hh:mm:ss
起始时间,包含

如:2008-08-08 08:08:08
dateEnd时间

yyyy-mm-dd hh:mm:ss
截止时间,包含

如:2018-10-18 18:18:18

响应主体:

名称类型必须说明
pageIndex数值分页页码
pageSize数值分页容量
totalPageCount数值总页数
totalItemCount数值总记录数
items集合对象集合,可以为空
items[].tenantId数值同开发者帐号
items[].id数值编号
items[].contractId文本合同编号
items[].merchantId文本商户号
items[].txnId文本交易号
items[].type数值类型
items[].currency文本结算货币
items[].amount文本金额
items[].remark文本说明
items[].dateCreated时间创建时间

响应示例:

{    "status":200,    "message":"ok",    "data":{        "pageIndex":1,        "pageSize":20,        "totalPageCount":123,        "totalItemCount":2450,        "items":[            {                "tenantId":123456,                "id":12345678,                "contractId":12345678,                "merchantId":12345678,                "txnId":2021041616192001,                "type":2,                "currency":"CNY",                "amount":123.21,                "remark":"test",                "dateCreated":"2008-08-08T18:18:18"            },            {                "tenantId":123456,                "id":12345678,                "contractId":12345678,                "merchantId":12345678,                "txnId":2021041616192001,                "type":2,                "currency":"CNY",                "amount":123.21,                "remark":"test",                "dateCreated":"2008-08-08T18:18:18"            },            ....        ]    },    "timestamp":1218154088000}

汇总

以分页形式提供交易汇总的列表或查询结果。

请求地址:/reporttransaction/statistics/{pageIndex}-{pageSize}

请求谓词:GET

请求参数:

名称类型长度必须说明
pageIndex数值>=1分页页码

为URL路径的一部分,非GET参数
pageSize数值1~100分页容量,建议20

为URL路径的一部分,非GET参数
contractId数值合同编号
merchantId数值商户编号
currency文本货币类型如:(CNY)
dateStart时间

yyyy-mm-dd hh:mm:ss
起始时间,包含

如:2008-08-08 08:08:08
dateEnd时间

yyyy-mm-dd hh:mm:ss
截止时间,包含

如:2018-10-18 18:18:18

响应主体:

名称类型必须说明
pageIndex数值分页页码
pageSize数值分页容量
totalPageCount数值总页数
totalItemCount数值总记录数
items集合对象集合,可以为空
items[].date日期日期
items[].currency文本交易货币如:(USD)
items[].transactionAmount数值交易金额
items[].settleAmount数值结算金额
items[].totalCount数值交易笔数
items[].successCount数值成功笔数

响应示例:

{    "status":200,    "message":"ok",    "data":{        "pageIndex":1,        "pageSize":20,        "totalPageCount":123,        "totalItemCount":2450,        "items":[            {                "date":"2021-04-16",                "currency":"USD",                "transactionAmount":65000.00,                "settleAmount":6000.00,                "totalCount":100,                "successCount":95            },            {                "date":"2021-04-17",                "currency":"USD",                "transactionAmount":65000.00,                "settleAmount":6000.00,                "totalCount":100,                "successCount":95            },            ....        ]    },    "timestamp":1218154088000}

明细

以分页形式提供交易明细的列表或查询结果。

请求地址:/reporttransaction/list/{pageIndex}-{pageSize}

请求谓词:GET

请求参数:

名称类型长度必须说明
pageIndex数值>=1分页页码

为URL路径的一部分,非GET参数
pageSize数值1~100分页容量,建议20

为URL路径的一部分,非GET参数
contractId数值合同编号
merchantId数值商户编号
currency文本货币类型如:(CNY)
dateStart时间

yyyy-mm-dd hh:mm:ss
起始时间,包含

如:2008-08-08 08:08:08
dateEnd时间

yyyy-mm-dd hh:mm:ss
截止时间,包含

如:2018-10-18 18:18:18

响应主体:

名称类型必须说明
pageIndex数值分页页码
pageSize数值分页容量
totalPageCount数值总页数
totalItemCount数值总记录数
items集合对象集合,可以为空
items[].tenantId数值同开发者帐号
items[].date数值时间
items[].contractId数值合同编号
items[].merchantId数值商户号
items[].currency文本结算货币
items[].transactionAmount数值交易金额
items[].settleAmount数值结算货币
items[].totalCount数值总交易笔数
items[].successCount数值成功笔数
items[].dateCreated时间创建时间

响应示例:

{    "status":200,    "message":"ok",    "data":{        "pageIndex":1,        "pageSize":20,        "totalPageCount":123,        "totalItemCount":2450,        "items":[            {                "tenantId":123456,                "date":12345678,                "contractId":12345678,                "merchantId":12345678,                "currency":"USD",                "transactionAmount":670.00,                "settleAmount":630.00,                "totalCount":52,                "successCount":29,                "dateCreated":"2008-08-08T18:18:18"            },            {                "tenantId":123456,                "date":12345678,                "contractId":12345678,                "merchantId":12345678,                "currency":"USD",                "transactionAmount":670.00,                "settleAmount":630.00,                "totalCount":52,                "successCount":29,                "dateCreated":"2008-08-08T18:18:18"            },            ....        ]    },    "timestamp":1218154088000}

汇总

以分页形式提供结算明细的列表或查询结果。

请求地址:/reportsettlement/statistics/{pageIndex}-{pageSize}

请求谓词:GET

请求参数:

名称类型长度必须说明
pageIndex数值>=1分页页码

为URL路径的一部分,非GET参数
pageSize数值1~100分页容量,建议20

为URL路径的一部分,非GET参数
contractId数值合同编号
merchantId数值商户编号
currency文本货币类型如:(CNY)
dateStart时间

yyyy-mm-dd hh:mm:ss
起始时间,包含

如:2008-08-08 08:08:08
dateEnd时间

yyyy-mm-dd hh:mm:ss
截止时间,包含

如:2018-10-18 18:18:18

响应主体:

名称类型必须说明
pageIndex数值分页页码
pageSize数值分页容量
totalPageCount数值总页数
totalItemCount数值总记录数
items集合对象集合,可以为空
items[].date日期日期
items[].currency文本结算货币如:(USD)
items[].orderPay数值交易额
items[].deposit数值押金
items[].orderFee数值交易手续费
items[].fixedFee数值交易处理费
items[].refund数值退款金额
items[].refundFee数值退款手续费
items[].dispute数值争议金额
items[].disputeFee数值争议手续费
items[].drawcash数值提现金额
items[].drawcashFee数值提现手续费
items[].rateDifference数值汇率差
items[].manualAdjust数值账目调整

响应示例:

{    "status":200,    "message":"ok",    "data":{        "pageIndex":1,        "pageSize":20,        "totalPageCount":123,        "totalItemCount":2450,        "items":[            {                "date":"2021-04-16",                "currency":"CNY",                "orderPay":65000.00,                "deposit":6000.00,                "orderFee":1.00,                "fixedFee":95.00,                "refund":900.00,                "refundFee":17.00,                "dispute":800.00,                "disputeFee":256.00,                "drawcash":20000.00,                "drawcashFee":20.00,                "rateDifference":90.00,                "manualAdjust":0.00,            },            {                "date":"2021-04-16",                "currency":"CNY",                "orderPay":65000.00,                "deposit":6000.00,                "orderFee":1.00,                "fixedFee":95.00,                "refund":900.00,                "refundFee":17.00,                "dispute":800.00,                "disputeFee":256.00,                "drawcash":20000.00,                "drawcashFee":20.00,                "rateDifference":90.00,                "manualAdjust":0.00,            },            ....        ]    },    "timestamp":1218154088000}

明细

以分页形式提供结算明细的列表或查询结果。

请求地址:/reportsettlement/list/{pageIndex}-{pageSize}

请求谓词:GET

请求参数:

名称类型长度必须说明
pageIndex数值>=1分页页码

为URL路径的一部分,非GET参数
pageSize数值1~100分页容量,建议20

为URL路径的一部分,非GET参数
contractId数值合同编号
merchantId数值商户编号
currency文本货币类型如:(CNY)
dateStart时间

yyyy-mm-dd hh:mm:ss
起始时间,包含

如:2008-08-08 08:08:08
dateEnd时间

yyyy-mm-dd hh:mm:ss
截止时间,包含

如:2018-10-18 18:18:18

响应主体:

名称类型必须说明
pageIndex数值分页页码
pageSize数值分页容量
totalPageCount数值总页数
totalItemCount数值总记录数
items集合对象集合,可以为空
items[].tenantId数值同开发者帐号
items[].date数值时间
items[].contractId数值合同编号
items[].merchantId数值商户号
items[].currency文本结算货币
items[].orderPay数值交易额
items[].deposit数值结算货币
items[].orderFee数值交易手续费
items[].fixedFee数值交易处理费
items[].refund数值退款额
items[].refundFee数值退款手续费
items[].dispute数值争议额
items[].disputeFee数值争议手续费
items[].drawcash数值提现额
items[].drawcashFee数值提现手续费
items[].rateDifference数值汇率差
items[].manualAdjust数值账目调整
items[].dateCreated时间创建时间

响应示例:

{    "status":200,    "message":"ok",    "data":{        "pageIndex":1,        "pageSize":20,        "totalPageCount":123,        "totalItemCount":2450,        "items":[            {                "tenantId":123456,                "date":12345678,                "contractId":12345678,                "merchantId":12345678,                "currency":"CNY",                "orderPay":670.00,                "deposit":630.00,                "orderFee":52,                "fixedFee":29,                "refund":29,                "refundFee":29,                "dispute":29,                "disputeFee":29,                "drawcash":29,                "drawcashFee":29,                "rateDifference":29,                "manualAdjust":29,                "dateCreated":"2008-08-08T18:18:18"            },            {                "tenantId":123456,                "date":12345678,                "contractId":12345678,                "merchantId":12345678,                "currency":"CNY",                "orderPay":670.00,                "deposit":630.00,                "orderFee":52,                "fixedFee":29,                "refund":29,                "refundFee":29,                "dispute":29,                "disputeFee":29,                "drawcash":29,                "drawcashFee":29,                "rateDifference":29,                "manualAdjust":29,                "dateCreated":"2008-08-08T18:18:18"            },            ....        ]    },    "timestamp":1218154088000}