Xinruipay
  1. API Reference
Xinruipay
  • Guides
    • Welcome
    • Interface
  • API Reference
    • Introduction
    • Endpoints
    • Data Types
    • Signing
    • 3-D Secure Verification
    • Subscription
    • Errors
    • Webhooks
    • Items Information
    • Changelog
    • Acquiring
      • Create a direct payment
        POST
      • Create a APM payment
        POST
      • Create a redirect (iFrame) payment
        POST
      • Query a transaction
        POST
      • Capture a transaction
        POST
      • Review a transaction
        POST
      • Cancel a transaction
        POST
      • Cancel a subscription
        POST
      • Refund a transaction
        POST
      • Search a refund transaction
        POST
      • Create a payout
        POST
      • Optimise payment methods
        POST
  • Appendix
    • Test Cards
    • Bank Code
    • Country Code
    • Currency Code
    • Payment Methods
  • Schemas
    • Sample Schemas
      • Review
      • Chargeback
      • Payment
      • Refund
      • Subscription Request
      • Subscription Response
      • 3DS Redirect
      • 3DS Response
  1. API Reference

Endpoints

Xinruipay API is only available over HTTPS, and unencrypted HTTP connections are not supported. The API provides two distinct environments:

Test Mode (Sandbox)#

This environment allows you to test transactions and workflows before going live. All sandbox API calls should use the following URL:
Acquiring
Issuing

Live Mode (Production)#

This environment is used for real transactions, where actual money movement takes place. All live mode API calls must use the following URL:
Acquiring
Issuing
While testing the API using Xinruipay’s documentation, you will be operating in the sandbox environment.
Modified at 2025-09-01 11:59:11
Previous
Introduction
Next
Data Types