OXXO Pay

Oxxo Pay 由 Oxxo 提供,Oxxo 是全国最大的便利店连锁之一。Oxxo Pay 允许客户在 Oxxo 门店进行各种支付,如账单和在线购物。最终客户会收到一个参考编号/条形码,他们可以带着它去任何 Okxo 门店完成交易。在店里,顾客向收银员出示参考编号/条形码,收银员会读取并收取付款。客户随后可以收到收据作为付款证明。Oxxo Pay 为那些无法使用信用卡或偏好现金支付的个人提供了便捷且广泛可用的支付选项。


支付方式属性

字段名称内容
可用国家代码墨西哥(MX)
消费者货币MXN
处理货币MXN
结算货币美元 (USD)
类型 I线下付款
类型 IIoxxopay
退款支持退款
拒付
集成类型异步

交易流程

  1. 当客户选择 Wero 作为支付方式时, 会将他们重定向到 Wero 的认证页面。在这一页,客户只需扫描二维码即可在手机上启动 Wero 应用,并可批准付款。付款即时完成,通常不到 10 秒,客户会被重定向回你的网站。

集成

请求参数说明:

参数名类型必填说明
referenceString订单唯一标识
amountObject订单金额信息
├── currencyString货币类型(如 MXN)
├── valueNumber金额数值,单位为最小货币单位
productDetailString订单描述
countryCodeString国家代码(如 MX)
originString订单来源,如商城域名
paymentMethodObject支付方式信息
├── shopperEmailString付款人邮箱
├── typeString支付方式(如 oxxopay)
├── holderNameString姓名
browserInfoString浏览器信息
├── terminalTypeString浏览器类型(WAP/WEB/PC)
returnUrlString支付完成后返回的 URL
shopperReferenceString付款人唯一标识

交易调用输入示例

{
    "amount": {
        "currency": "USD",
        "value": 1000
    },
    "countryCode": "US",
    "origin": "fffmall.com",
    "paymentMethod": {
        "shopperEmail": "[email protected]",
        "holderName": "JW L",
        "type": "oxxopay"
       
    },
    browserInfo:{
        terminalType: "WAP"
    },
    "productDetail": "ljwtest",
    "productName": "WEWQ",
    "reference": "ljw1769658309659",
    "returnUrl": "https://www.baidu.com/",
    "shopperReference": "LLL3211321",
    "webhookUrl": "https://develop.futureshop.global/api/checkout/payment/123"
}

响应参数说明

参数名类型必填说明
codeString响应状态码,"0" 表示成功
msgString响应消息
serverTimeNumber服务器时间戳,单位毫秒
dataObject业务数据对象
├── actionObject支付跳转相关信息
│ ├── paymentMethodTypeString支付方式类型(如 oxxopay)
│ ├── urlStringWeb 端支付 URL
│ ├── methodString请求方法(如 Get)
│ ├── typeString操作类型(如 redirect)
│ ├── qrCodeString操作类型(如 redirect)
├── amountObject订单金额信息
│ ├── currencyString货币类型(如 HKD, USD)
│ ├── valueNumber金额数值,单位为最小货币单位
├── additionalDataObject支付额外信息
│ ├── expireTimeString过期时间
│ ├── qrTypeNumber二维码类型
├── merchantReferenceString商户订单号
├── pspReferenceString支付平台交易号
├── resultCodeString支付结果状态(如 PENDING)
successBoolean是否成功(true 表示成功)

交易调用输出示例

{
    "code": "0",
    "msg": "success",
    "serverTime": 1770627304189,
    "data": {
        "action": {
            "paymentMethodType": "oxxopay",
            "url": "https://pm-redirects.stripe.com/authorize/acct_1RgMuM08pryDCbBW/pa_nonce_TwjiN9uiYurcrlxvVoR6sI88PPyKcUx",
            "method": "Get",
            "type": "redirect"
        },
        "amount": {
            "currency": "USD",
            "value": 1000
        },
        "merchantReference": "ljw1770627300088",
        "pspReference": "2020783486851481600",
        "resultCode": "PENDING",
        "providerReference": "pi_3SyqFG08pryDCbBW0FkSj95k"
    },
    "success": true
}

附加信息