商户后台

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

{platform}merchant

coffee with coding...

订单

商户订单列表。


测试订单

以分页形式提供测试订单的列表或查询结果。

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

请求谓词:GET

请求参数:

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

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

为URL路径的一部分,非GET参数
terminalId数值8终端编号
source网址80来源
orderId文本50订单号
cardTypes[]数组卡类型
cardNumber数值16卡号
email文本100邮箱
ipAddress文本150IP地址
status[]数组订单状态:(0:处理中,1:已授权,2:待审核,3:已捕获,4:已失败,5:已拒绝,6:已结算,98:已超时,99:未引用)
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

响应主体:

名称类型必须说明
tenantId数值同开发者帐号
txnId数值交易号
merchantId数值商户
terminalId数值终端编号
gatewayId数值网关编号
orderId文本订单号
email文本邮箱
source文本来源
iPAddress文本IP地址
cardType数值卡类型:(0:无,1:维萨卡,2:万事达卡,4:JCB卡,8:美国运通卡,16:发现卡,32:大莱卡,64:银联卡)
cardNumber文本卡号
originalCurrency文本原始货币
originalAmount数值原始金额
transactionCurrency文本交易货币
transactionAmount数值交易金额
settleCurrency文本结算货币
settleAmount数值结算金额
billingCountry文本账单国家
shippingCountry文本订单国家
hasRefund布尔是否退款
hasChargeback布尔是否拒付
hasCopyRequest布尔是否调单
hasWaybill布尔是否上传运单
reason文本原因
status数值订单状态
test布尔是否测试
dateCreated时间创建时间
dateUpdated时间最后变更时间
dateSuccess时间成功日期

响应示例:

{    "status":200,    "message":"ok",    "data":{        "pageIndex":1,        "pageSize":20,        "totalPageCount":123,        "totalItemCount":2450,        "items":[            {                "txnId":2021041416012001,                "merchantId":12345678,                "tenantId":123456,                "terminalId":79618052,                "gatewayId":123,                "orderId":"123-123",                "email":"tester@168.com",                "source":"example.com",                "iPAddress":"127.0.0.1",                "cardType":1,                "cardNumber":"4111111111111111",                "originalCurrency":"USD",                "originalAmount":100.00,                "transactionCurrency":"CNY",                "transactionAmount":681.26,                "settleCurrency":"CNY",                "settleAmount":660.25,                "billingCountry":"US",                "shippingCountry":"US",                "hasRefund":"0",                "hasChargeback":"0",                "hasCopyRequest":"0",                "hasWaybill":"1",                "reason":1,                "status":3,                "test":"0",                             "dateCreated":"2008-08-08T18:18:18",                "dateUpdated":null,                "dateSuccess":"2008-08-08T18:18:18",            },            {                "txnId":2021041416012002,                "merchantId":12345678,                "tenantId":123456,                "terminalId":79618052,                "gatewayId":123,                "orderId":"123-123",                "email":"tester@168.com",                "source":"example.com",                "iPAddress":"127.0.0.1",                "cardType":1,                "cardNumber":"4111111111111111",                "originalCurrency":"USD",                "originalAmount":100.00,                "transactionCurrency":"CNY",                "transactionAmount":681.26,                "settleCurrency":"CNY",                "settleAmount":660.25,                "billingCountry":"US",                "shippingCountry":"US",                "hasRefund":"0",                "hasChargeback":"0",                "hasCopyRequest":"0",                "hasWaybill":"1",                "reason":1,                "status":3,                "test":"0",                             "dateCreated":"2008-08-08T18:18:18",                "dateUpdated":null,                "dateSuccess":"2008-08-08T18:18:18",            },            ....        ]    },    "timestamp":1218154088000}

正式订单

以分页形式提供正式订单的列表或查询结果。

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

请求谓词:GET

请求参数:

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

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

为URL路径的一部分,非GET参数
terminalId数值8终端编号
source网址200来源
orderId文本50订单号
cardTypes[]数组卡类型
cardNumber数值16卡号
email文本100邮箱
ipAddress文本150IP地址
originalCurrency文本3原始货币
originalAmountMin数值原始最小金额
originalAmountMax数值原始最大金额
settleCurrency文本3结算货币
settleAmountMin数值结算最小金额
settleAmountMax数值>=1结算最大金额
billingCountry文本2账单国家
shippingCountry数值2收货地址国家
hasRefund布尔是否退款:(true/false)
hasChargeback布尔是否拒付:(true/false)
hasCopyRequest布尔是否调单:(true/false)
hasWaybill布尔是否上传运单:(true/false)
test布尔是否为测试订单:(true/false)
status[]数组订单状态:(0:处理中,1:已授权,2:待审核,3:已捕获,4:已失败,5:已拒绝,6:已结算,98:已超时,99:未引用)
reasonCode数值1-2原因码:(0:其他,1:不予承兑,2:卡号无效,3:卡片已过期,4:账户没有足够的资金,5:卡片丢失或者被盗,6:卡片未激活,7:超过账户信用额度限制,8:安全码无效,
9:受限卡,10:发卡行返回超时,11:超过重试次数限制,12:重复订单,13:无效交易,14:未授权,15:高风险,
16:OTP/3D验证,17:网关处理超时,18:网关异常,19:托管,99:成功)
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

响应主体:

名称类型必须说明
tenantId数值同开发者帐号
txnId数值交易号
merchantId数值商户
terminalId数值终端编号
gatewayId数值网关编号
orderId文本订单号
email文本邮箱
source文本来源
iPAddress文本IP地址
cardType数值卡类型:(0:无,1:维萨卡,2:万事达卡,4:JCB卡,8:美国运通卡,16:发现卡,32:大莱卡,64:银联卡)
cardNumber文本卡号
originalCurrency文本原始货币
originalAmount数值原始金额
transactionCurrency文本交易货币
transactionAmount数值交易金额
settleCurrency文本结算货币
settleAmount数值结算金额
billingCountry文本账单国家
shippingCountry文本订单国家
hasRefund布尔是否退款
hasChargeback布尔是否拒付
hasCopyRequest布尔是否调单
hasWaybill布尔是否上传运单
reason文本原因
status数值订单状态
test布尔是否测试
dateCreated时间创建时间
dateUpdated时间最后变更时间
dateSuccess时间成功日期

响应示例:

{    "status":200,    "message":"ok",    "data":{        "pageIndex":1,        "pageSize":20,        "totalPageCount":123,        "totalItemCount":2450,        "items":[            {                "txnId":2021041416012001,                "merchantId":12345678,                "tenantId":123456,                "terminalId":79618052,                "gatewayId":123,                "orderId":"123-123",                "email":"tester@168.com",                "source":"example.com",                "iPAddress":"127.0.0.1",                "cardType":1,                "cardNumber":"4111111111111111",                "originalCurrency":"USD",                "originalAmount":100.00,                "transactionCurrency":"CNY",                "transactionAmount":681.26,                "settleCurrency":"CNY",                "settleAmount":660.25,                "billingCountry":"US",                "shippingCountry":"US",                "hasRefund":"0",                "hasChargeback":"0",                "hasCopyRequest":"0",                "hasWaybill":"1",                "reason":1,                "status":3,                "test":"0",                             "dateCreated":"2008-08-08T18:18:18",                "dateUpdated":null,                "dateSuccess":"2008-08-08T18:18:18",            },            {                "txnId":2021041416012002,                "merchantId":12345678,                "tenantId":123456,                "terminalId":79618052,                "gatewayId":123,                "orderId":"123-123",                "email":"tester@168.com",                "source":"example.com",                "iPAddress":"127.0.0.1",                "cardType":1,                "cardNumber":"4111111111111111",                "originalCurrency":"USD",                "originalAmount":100.00,                "transactionCurrency":"CNY",                "transactionAmount":681.26,                "settleCurrency":"CNY",                "settleAmount":660.25,                "billingCountry":"US",                "shippingCountry":"US",                "hasRefund":"0",                "hasChargeback":"0",                "hasCopyRequest":"0",                "hasWaybill":"1",                "reason":1,                "status":3,                "test":"0",                             "dateCreated":"2008-08-08T18:18:18",                "dateUpdated":null,                "dateSuccess":"2008-08-08T18:18:18",            },            ....        ]    },    "timestamp":1218154088000}