TrustPay
en
  • en
  • zh
  1. v3
TrustPay
en
  • en
  • zh
  • Integration Guide
  • Risk Control – Merchant Integration
  • Enums
  • v3
    • c16
      • Payin Order Create(Counter)
    • Balance
      POST
    • Payin
      POST
    • Payment Callback
      POST
    • Order Query
      POST
    • Risk Confirmation
      POST
    • Card Direct Payin
      POST
  • v2
    • Payout(INR)
      POST
  1. v3

Payin

POST
/v3/payin/create/order
Create a new incoming payment (collection) 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/v3/payin/create/order' \
--header 'Content-Type: application/json' \
--data-raw '{
    "currency": "USD",
    "merchantId": 8820250900009,
    "notifyUrl": "https://webhook.site/7bae2180-3529-4e8e-8d0c-2b894ea3da2c",
    "orderAmount": "5",
    "orderNo": "local-test-payin-1",
    "sign": "c4a02e0e9270ec884fa050cdf0e916ad"
}'
Response Response Example
{
    "code": 880001,
    "message": "success",
    "data": {
        "merchantId": 8820250900009,
        "orderNo": "TEST-PAYIN-C15-prod-t7",
        "platformOrderNo": "vAlE1xm8MR7wA0fYMdEeh9mk",
        "currency": "USD",
        "amount": "10",
        "fee": "0.5",
        "payUrl": "https://pay.goopter.com/checkout.html?token=ae4150da1a50efcc685b1990"
    }
}
Modified at 2025-11-15 00:48:17
Previous
Balance
Next
Payment Callback
Built with