签名示例
代收订单创建
请求传参如下
{
"appId":"appidxxx",
"amount":100,
"currency":"BRL",
"devedor":{
"cpf":"12345678901",
"nome":"test"
},
"notifyUrl":"http://example.com/notify",
"returnUrl":"http://example.com/notify.html",
"merOrderNo":"orderxxx"
}
签名拼接如下
{
signStr: 'amount=100&appId=appidxxx¤cy=BRL&devedor={"cpf":"12345678901","nome":"test"}&merOrderNo=orderxxx¬ifyUrl=http://example.com/notify&returnUrl=http://example.com/notify.html&key=xxxx',
sign: '66bd4cfce259f0311857071d69e6fc88fe2b3a3b5882e20d6493eaf702d25b7c'
}
代收订单响应
请求传参如下
{
"amount":100,
"params":{
"qrcode":"00020126940014BR.GOV.BCB.PIX2572api-pix.bancobs2.com.br/spi/v2/cobv/255f36f7-6d7d-48fc-9f56-47181be823aa520400005303986540530.005802BR5924Voluti Gestao Financeira6011Pato Branco61088550338162070503***63045F27",
"url":"https://xxx.h.betcatpay.com/payment/94230311013500999186060015?amount=100¤cy=BRL&qrcode=00020126940014BR.GOV.BCB.PIX2572api-pix.bancobs2.com.br%2Fspi%2Fv2%2Fcobv%2F255f36f7-6d7d-48fc-9f56-47181be823aa520400005303986540530.005802BR5924Voluti%20Gestao%20Financeira6011Pato%20Branco61088550338162070503***63045F27"
},
"orderStatus":1,
"orderNo":"94230311013500999186060015",
"currency":"BRL",
"createTime":1678498652499,
"merOrderNo":"orderxxx",
"updateTime":1678498652719
}
签名拼接如下
{
"signStr":"amount=100&createTime=1678498652499¤cy=BRL&merOrderNo=orderxxx&orderNo=94230311013500999186060015&orderStatus=1¶ms={\"qrcode\":\"00020126940014BR.GOV.BCB.PIX2572api-pix.bancobs2.com.br/spi/v2/cobv/255f36f7-6d7d-48fc-9f56-47181be823aa520400005303986540530.005802BR5924Voluti Gestao Financeira6011Pato Branco61088550338162070503***63045F27\",\"url\":\"https://xxx.h.betcatpay.com/payment/94230311013500999186060015?amount=100¤cy=BRL&qrcode=00020126940014BR.GOV.BCB.PIX2572api-pix.bancobs2.com.br%2Fspi%2Fv2%2Fcobv%2F255f36f7-6d7d-48fc-9f56-47181be823aa520400005303986540530.005802BR5924Voluti%20Gestao%20Financeira6011Pato%20Branco61088550338162070503***63045F27\"}&updateTime=1678498652719&key=xxxx",
"sign":"8cb34aa05c7ed76e842edd163ecd08cb785e7c34cf1077343a74b6a598305c93"
}
代付订单创建
请求传参如下
{
"amount":100,
"appId":"appidxxx",
"currency":"BRL",
"extra":{
"accountName":"TEST",
"accountNo":"123@gmail.com",
"bankCode":"EMAIL"
},
"merOrderNo":"orderxxx",
"notifyUrl":"http://example.com/notify"
}
签名拼接如下
{
"signStr":"amount=100&appId=appidxxx¤cy=BRL&extra=accountName=TEST&accountNo=123@gmail.com&bankCode=EMAIL&merOrderNo=orderxxx¬ifyUrl=http://example.com/notify&key=xxxx",
"sign":"351d5a348525c752ff9301bf2d26bdb8b8e104a64277c5a72cca0c7673c1caff"
}
代付订单响应
请求传参如下
{
"amount": 100,
"orderStatus": 1,
"orderNo": "20230311020048373298884606",
"currency": "BRL",
"createTime": 1678500048373,
"merOrderNo": "orderxxx",
"updateTime": 1678500048835
}
签名拼接如下
{
"signStr":"amount=100&createTime=1678500048373¤cy=BRL&merOrderNo=orderxxx&orderNo=20230311020048373298884606&orderStatus=1&updateTime=1678500048835&key=xxxx",
"sign":"81924dd069829ac60bf2b54b94cf7309d26785b6250ecb6069fd17b326e0ef4f"
}
最后修改时间: 2 个月前