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

Payin Order Create(Counter)

Developing
POST
/v3/c16/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/v3/c16/payin/create/order' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchantId": 8820250900009,
    "orderNo": "test_order_0017",
    "currency": "USD",
    "paymentMethod": "CARD",
    "notifyUrl": "https://webhook.site/d3be2258-6ad3-4293-aa0c-22f40b0e22ee",
    "paymentRedirectUrl": "https://webhook.site/d3be2258-6ad3-4293-aa0c-22f40b0e22ee",
    "orderAmount": "10.00",
    "fullName": "TestName",
    "email": "123@email",
    "phone": "17156270987",
    "sign": "string"
}'
Response Response Example
{"code":880001,"message":"Payment processing, please finish the payment quickly","data":{"merchantId":8820250900009,"orderNo":"test_order_0017","platformOrderNo":"CwQxaNqdOkjCWVkzBwDj2i7G","currency":"USD","amount":"10","fee":"0.8","payUrl":"https://checkout.antom.com/checkout-page/pages/payment/index.html?shadow=true&sessionData=HOrqMcahHWZWM3djWEphcqIjtVyUvq0HZNyDTHpdBFONWQmOqh502fwHjldYpugrT9BKcch4j%2BSh8gJBnM5Dfw%3D%3D%26%26SG%26%26188%26%26eyJlbGlnaWJsZUVhc3lQYXlNYXJrZXRpbmciOmZhbHNlLCJleHRlbmRJbmZvIjoie1wiZGlzcGxheUFudG9tTG9nb1wiOlwidHJ1ZVwifSIsIm5lZWRBY2NvdW50Q29uZmlybVBhZ2UiOmZhbHNlLCJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiQ0hFQ0tPVVRfUEFZTUVOVCIsInByb2R1Y3RTY2VuZVZlcnNpb24iOiIxLjAifSwic2tpcFJlbmRlclBheW1lbnRNZXRob2QiOmZhbHNlfQ%3D%3D&shadow=true"}}
Modified at 2025-12-10 03:20:05
Previous
Enums
Next
Balance
Built with