1. Payment Gateway
TrustPay
en
  • en
  • zh
  • Integration Guide
  • Payment Gateway
    • Payment Callback Specification
    • Enums
    • Risk Control – Merchant Integration
    • C21 Suport Regions
      • TrustPay Supported Billing Countries and US/Canada Regions
    • Card Direct Payin
      POST
    • Cashier Payin
      POST
    • Payment Callback
      POST
    • Balance
      POST
    • Order Query
      POST
    • Order Refund
      POST
    • Fee Query
      POST
  • Credit Card Issuer
    • Available Card
      POST
    • Open Card
      POST
    • Open/Recharge Card Callback
      POST
    • Get Card Detail
      POST
    • Card Recharge
      POST
    • Order List
      POST
    • Card List
      POST
    • Transaction List
      POST
    • Fee Query
      POST
  • Physical Card Issuer
    • Create Cardholder
      POST
    • List Cardholders
      POST
    • Assign Physical Cards
      POST
    • List Assigned Physical Cards
      POST
    • Query Card Balance
      POST
    • Query Card Transactions
      POST
    • Query Account
      POST
    • Card Charge
      POST
  • Schemas
    • VCardDetail
    • VOrderDetail
  1. Payment Gateway

Enums

Order Transaction#

FieldDescription
0Collection (Incoming Payment)
1Payout (Outgoing Payment)

Order Status#

FieldDescription
1OrderPending
2OrderPaid(for payout)
3OrderFailed
4OrderTimeOut
5OrderUnliquidated(payin success)
6OrderStatement
7OrderRefunded
8OrderPartiallyRefunded
9OrderRefunding

Order Notification Status#

FieldDescription
1Pending
2Notification Sent Successfully
3Notification Failed

Payin Supported Currency#

FieldDescriptionVersion
USDUnited States Dollar (Fiat)v4
INRIndian Rupee (Fiat)v4

Payout Supported Currency#

FieldDescriptionVersion
INRIndian Rupee (Fiat)v2

Error Code Mapping Table#

Error CodeDescription
880001success
880002bad_request
880003database_error
880004remote_service_error
880005insufficient_balance
880006invalid_transaction_type
880007system_internal_error
880008order_processing_failed
880009decrease_payout_amount_failed
880010backend_success
880011unauthorized
880012order_already_exists
880013internal_error
880014all_channels_failed
880015amount_rule_violation
880016channel_configuration_error
880017user_risk_control_failed
880018card_failure_limit_exceeded
880019account_limit_exceeded
880020daily_amount_limit_exceeded
880021daily_transaction_count_limit_exceeded
880022transaction_amount_limit_exceeded
880023channel_quota_limit_exceeded
880024no_channel_available
Modified at 2026-03-24 04:14:36
Previous
Payment Callback Specification
Next
Risk Control – Merchant Integration
Built with