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

Payment Callback

POST
{{notify_url}}
This API is used by the payment system to notify merchants of the result of a payment transaction.
Merchants must verify the signature and update the corresponding order status in their system.

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --globoff '{{notify_url}}' \
--header 'Content-Type: application/json' \
--data '{
    "type": 0,
    "merchant_id": 1,
    "order_no": "payout0003",
    "order_amount": 106,
    "paid_amount": 106,
    "balance_amount": 100,
    "fee": 6,
    "pay_time": "2025-08-05 16:43:55",
    "status": 5,
    "reason": "success",
    "sign": "f561287c9cf9a5af17a97c826af44f6e"
}'
Response Response Example
{}
Modified at 2026-02-27 13:52:39
Previous
Cashier Payin
Next
Balance
Built with