TrustPay
zh
  • en
  • zh
  1. v2
TrustPay
zh
  • en
  • zh
  • 接入说明
  • 支付风控接口 - 商户接入指南
  • 枚举类型说明
  • v3
    • 余额查询
      POST
    • 代收接口
      POST
    • 订单查询
      POST
    • 渠道风控确认
      POST
    • 卡直付接口
      POST
  • v2
    • 转账接口
      POST
    • 直接代付
      POST
    • 余额查询
      POST
    • 代收接口
      POST
    • 间接代付
      POST
    • 订单查询
      POST
    • 商户提现
      POST
    • 支付回调
      POST
  1. v2

代收接口

Deprecated
POST
/v2/payin/create/order
创建代收订单接口

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trustpay.money/v2/payin/create/order' \
--header 'Content-Type: application/json' \
--data-raw '{
    "currency": "USD",
    "merchantId": 8820250900009,
    "notifyUrl": "https://webhook.site/7bae2180-3529-4e8e-8d0c-2b894ea3da2c",
    "orderAmount": "50",
    "orderNo": "TEST-PAYIN-C15-1762786987",
    "sign": "c4a02e0e9270ec884fa050cdf0e916ad"
}'
Response Response Example
{
    "code": 880001,
    "message": "success",
    "merchantId": 8820250900009,
    "orderNo": "TEST-PAYIN-C15-1762786987",
    "platformOrderNo": "l4DH6HRXsdlW9OZND4CYLZsL",
    "currency": "USD",
    "amount": "50",
    "fee": "2.5",
    "payUrl": "https://mock.c15.pay/TEST-PAYIN-C15"
}
Modified at 2025-11-13 12:00:29
Previous
余额查询
Next
间接代付
Built with