EasyPayment
  1. 代收接口
EasyPayment
  • 签名与验证签名
  • 系统错误码枚举值
  • 相关场景问题与解决方案
    • 美元代收代付常见问题
  • 代收接口
    • 创建代收订单
      POST
    • 银行卡支付
      POST
    • 查询代收订单
      POST
    • 代收结果通知
      POST
    • 代收订单补单
      POST
  • 代付接口
    • 创建代付订单
      POST
    • 查询代付订单
      POST
    • 代付结果通知
      POST
    • 查询账号余额
      POST
  • 代付配置参数 - PayConfig
    • 印度 - INR
      POST
    • 菲律宾 - PHP
      POST
    • 巴西雷亚尔 - BRL
      POST
    • 印尼盾 - IDR
      POST
    • 墨西哥 - MXN
      POST
    • 秘鲁 - PEN
      POST
    • 哥伦比亚 - COP
      POST
    • 越南 - VND
      POST
    • 美国 - USD
      POST
    • 泰国 - THB
      POST
  • Schemas
    • CurType
    • PayinOrderStatus
    • PayoutOrderStatus
    • Language
  1. 代收接口

创建代收订单

POST
/api/v1/payin/order/create
使用方法,构建支付链接进行让用户打开浏览器进行访问,即可正常支付。
接入时,不返回真实收银台,接入完成后,上线前先和运营确认,由运营上线商户后可以返回正式收银台

Request

Body Params application/json

Examples
{
    "time": 1765869082,
    "uid": 1065,
    "merchantTradeNo": "9de96950-dd86-4b66-a43d-ce39adf3b6ce",
    "notifyUrl": "https://possible-heartache.net/",
    "amount": "200",
    "userMobileNumber": "91234144",
    "language": "en-us",
    "sign": "5UR=sD-/r="
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST '/api/v1/payin/order/create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "time": 1765869082,
    "uid": 1065,
    "merchantTradeNo": "9de96950-dd86-4b66-a43d-ce39adf3b6ce",
    "notifyUrl": "https://possible-heartache.net/",
    "amount": "200",
    "userMobileNumber": "91234144",
    "language": "en-us",
    "sign": "5UR=sD-/r="
}'

Responses

🟢200OK
application/json
Body

Examples
{
    "code": 0,
    "msg": "创建订单成功。",
    "data": {
        "platformTradeNo": "213",
        "merchantTradeNo": "123",
        "payUrl": "https://baidu.com",
        "deepLink": "pph://baidu.com"
    }
}
Modified at 2025-12-23 09:17:14
Previous
美元代收代付常见问题
Next
银行卡支付
Built with