Scan2Pay
  • Scan2Pay API
  • API Introduction
    • API Environment
    • API Security
    • API Request Format
    • API Response Format
    • SDK
  • API Specification
    • Merchant-Presented QR Code
    • Customer-Presented QR Code
    • Credit Card Payment
    • EasyCard Manipulation
      • Obtain the device list
      • Sign on
      • Query the card number
      • Query the balance
      • Payment
      • Refund
      • Settlement
      • Payment Retry (EasyCard)
    • Refund
    • Single Transaction Query
    • Multiple Transactions Query
    • New Multiple Transactions Query
    • Invoice Query
  • Payment Notification
  • Appendix
    • Payment Method Code
    • Transaction Status Code
    • EasyCard Transaction Status Code
    • Printing Information for EasyCard Transaction
    • Card Reader Setup
Powered by GitBook
On this page
  • Single API entrance
  • Data encryption
  • Request/Response body in JSON data format

Was this helpful?

API Introduction

PreviousScan2Pay APINextAPI Environment

Last updated 6 years ago

Was this helpful?

Single API entrance

Scan2Pay adopts single API entrance, Request and Response contents are sent using http POST method.

Data encryption

The original request body, which is in JSON format, will be encrypted using AES algorithm. The AES Key is then encrypted using RSA algorithm and packed into the request . When server receives the request, the AES key will be decrypted and then used to restore the original request body. For further information please refer to:

Request/Response body in JSON data format

For API Request/Response data format, please refer to:

API Security
API Request Format
API Response Format