AICAPAY
    尼日利亚
    • 尼日利亚
    • 肯尼亚
    • 墨西哥
    • 赞比亚
    • 巴西
    • Introduce
    • 响应码
    • 测试账号数据
    • 接口规则
      • 安全规范
    • Pay In(代收)
      • 结果通知
      • 创建订单
        POST
      • 查询订单结果
        POST
    • Pay Out (代付)
      • 结果通知
      • 创建订单
        POST
      • 查询订单结果
        POST
    • Validate
      • Name Enquiry
        POST
    • Merchant Api
      • queryMerchantBalance
        POST
    • Institution List
      • Bank List
        POST
    • Virtual Account
      • 入帐通知
      • 入帐结果查询
        POST
      • Update Virtual Account Status
        POST
      • Query Virtual Account List
        POST
      • Query Virtual Account Detail
        POST
      • Create Virtual Account
        POST
    • 代付(巴西)
    • 支付(赞比亚)
    • 代收(墨西哥)
    • 代收(巴西)
    • 创建订单
      POST
    • 查询订单结果
      POST
    • 查询订单结果
      POST
    • 创建订单
      POST
    • 查询订单结果
      POST
    • 创建订单
      POST
    • 创建订单
      POST
    • 查询订单结果
      POST

      创建订单

      sandbox
      https://openapi-sandbox.aicapay.com/merchant-order-biz
      sandbox
      https://openapi-sandbox.aicapay.com/merchant-order-biz
      POST
      https://openapi-sandbox.aicapay.com/merchant-order-biz
      /openapi/transactions/payment
      创建付款订单,
      目前只支持赞比亚电子钱包,用户需要在收到支付提示之后授权确认完成支付

      请求参数

      Header 参数

      Body 参数application/json必填

      示例
      {
          "merchantOrderId": "AC71EC46019F49BBA7B61176E96843B4",
          "desc": "Airtime Recharge 100NGN",
          "amount": 10000,
          "payType": 8,
          "payerUserId": "john.doe@gmail.com",
          "notifyUrl": "https://example.com/notify",
          "transactionLocation": "1.38716,3.05117",
          "walletReq": {
              "network": "A000784",
              "walletAccNo": "0100210499",
              "walletAccName": "Samuel Udochukwu"
          }
      }

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://openapi-sandbox.aicapay.com/merchant-order-biz/openapi/transactions/payment' \
      --header 'timestamp;' \
      --header 'nonce;' \
      --header 'access-key;' \
      --header 'signature;' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "merchantOrderId": "AC71EC46019F49BBA7B61176E96843B4",
          "desc": "Airtime Recharge 100NGN",
          "amount": 10000,
          "payType": 8,
          "payerUserId": "john.doe@gmail.com",
          "notifyUrl": "https://example.com/notify",
          "transactionLocation": "1.38716,3.05117",
          "walletReq": {
              "network": "A000784",
              "walletAccNo": "0100210499",
              "walletAccName": "Samuel Udochukwu"
          }
      }'

      返回响应

      🟢200OK
      */*
      OK
      Body

      示例
      {
          "transId": "B6864C218481468FBEB2640DB11078AD",
          "sessionId": "string",
          "merchantOrderId": "AC71EC46019F49BBA7B61176E96843B4",
          "status": 1,
          "errorCode": "string",
          "errorMsg": "string",
          "verifyMethod": "string",
          "openUrl": "string"
      }
      上一页
      查询订单结果
      下一页
      创建订单
      Built with