whalet-acquiring
首页
开放API
  • 收款
  • 鲸卡
  • 收单
首页
开放API
  • 收款
  • 鲸卡
  • 收单
  1. 支付
  • 首页
  • 店铺
    • 获取可申请的支付方式
      POST
    • 添加店铺
      POST
    • 添加店铺结果通知
      POST
    • 查询店铺详情
      POST
    • 申请店铺支付方式
      POST
    • 申请店铺支付方式结果通知
      POST
  • 支付
    • 创建支付链接
      POST
    • 查询交易信息
      POST
    • 支付结果通知
      POST
    • 创建支付
      POST
    • 提交支付信息
      POST
    • 获取银行列表
      POST
    • 获取钱包列表
      POST
    • 创建支付 Copy
      POST
  • 退款
    • 退款申请
      POST
    • 退款结果通知
      POST
  • 拒付
    • 拒付产生通知
      POST
    • 拒付详情
      POST
    • 查询拒付原因
      POST
    • 拒付申诉
      POST
    • 拒付接受
      POST
    • 拒付结果通知
      POST
  1. 支付

创建支付

开发中
POST
/payment

请求参数

Body 参数application/json必填

示例
{
    "userId": "string",
    "acquiringShopId": "string",
    "amount": 0,
    "currency": "CNY",
    "merchantTradeNo": "string",
    "order": {
        "products": [
            {
                "name": "string",
                "unitPrice": 0,
                "quantity": 0
            }
        ],
        "shippingAddress": {
            "countryCode": "CN",
            "city": "string",
            "state": "string",
            "street": "string",
            "postCode": "string"
        }
    },
    "customer": {
        "name": "string",
        "email": "string",
        "countryCode": "CN",
        "phoneNumber": "string",
        "customerId": "string",
        "address": {
            "countryCode": "CN",
            "city": "string",
            "state": "string",
            "street": "string",
            "postCode": "string"
        }
    },
    "deviceData": {
        "browserInfo": {
            "acceptHeader": "string",
            "colorDepth": "string",
            "javaEnabled": true,
            "javaScriptEnabled": true,
            "language": "string",
            "screenHeight": 0,
            "screenWidth": 0,
            "timeZoneOffset": 0,
            "userAgent": "string"
        },
        "clientIp": "string",
        "origin": "string",
        "channel": "iOS"
    },
    "billingAddress": {
        "countryCode": "CN",
        "city": "string",
        "state": "string",
        "street": "string",
        "postCode": "string"
    },
    "returnUrl": "string",
    "paymentMethodDetail": {
        "encryptedCardNumber": "string",
        "encryptedExpiryMonth": "string",
        "encryptedExpiryYear": "string",
        "cvc": "string",
        "holderName": "string",
        "type": "card_visa"
    }
}

返回响应

🟢200成功
application/json
Body

示例
{
    "userId": "string",
    "tradeId": "string",
    "merchantTradeNo": "string",
    "action": {
        "paymentMethodType": "card_visa",
        "redirectUrl": "string",
        "qrCodeData": "string",
        "qrImage": "string",
        "voucherAmount": 0,
        "voucherPin": "string",
        "voucherExpiry": "string",
        "actionType": "string"
    }
}
修改于 2025-10-28 07:36:51
上一页
支付结果通知
下一页
提交支付信息
Built with