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

卡直付接口

Developing
POST
/v3/payin/create/card
创建代收订单接口

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/v3/payin/create/card' \
--header 'Content-Type: application/json' \
--data-raw '{
    "currency": "USD",
    "merchantId": 8820250900009,
    "notifyUrl": "https://webhook.site/7bae2180-3529-4e8e-8d0c-2b894ea3da2c",
    "orderAmount": "10",
    "orderNo": "local-test-card-payin-779",
    "sign": "c4a02e0e9270ec884fa050cdf0e916ad",
    "cardHolderName": "Test User",
    "cardNumber": "4111111111111111",
    "cardExpiry": "2028-09",
    "cardCVV": "123"
}'
Response Response Example
{
    "code": 880004,
    "message": "remote error: request order to payment service error"
}
Modified at 2025-11-27 01:14:16
Previous
渠道风控确认
Next
转账接口
Built with