Skip to content

API Description

1. Communication Protocols

Merchants accessing the PayerMax service and calling the API must follow the following rules:

typedesc
Transmission MethodIn order to ensure transaction security, HTTPS transmission is adopted, and TLS version should not be lower than 1.2. For details, please refer to TLS Upgrade Instructions
Submission MethodSubmit by POST method
Data FormatSubmit and return data in application/json format
Character EncodingUniformly use UTF-8 character encoding
Signature AlgorithmSHA256WithRSA
Signature RequirementsBoth request and received data need to verify the signature. For details, please refer to Config Settings and Signature Rules
Process LogicFirst refer to the return of the protocol field, then refer to the code in the response message, and finally refer to the transaction status

2. API Structure

The following is the HTTP structure of the PayerMax interface, the interface name is placed after the request address, and the content in the data is a packet spliced by different service structures

json
POST https://pay-gate.payermax.com/aggregate-pay/api/gateway/{Endpoint}
Content-Type: application/json
Content-Length: 580
sign: Use merchant privateKey signatures based on the request body

{
    "version": "1.1",
    "keyVersion": "1",
    "requestTime": "2022-01-17T08:04:13.879+00:00",
    "appId": "3b242b56a8b64274bcc37dac281120e3",
    "merchantNo": "020213827212251",
    "data": {
    }
}

Request Url:

EnvironmentLink
Testhttps://pay-gate-uat.payermax.com/aggregate-pay/api/gateway
Prodhttps://pay-gate.payermax.com/aggregate-pay/api/gateway

3. API List

ProductIntegration ModeInterface NameEndpointDescription
ReceiptCashier PaymentPlace an Order/orderAndPayUse PayerMax cashier for payment
Transaction Inquiry/orderQuery
Order Asynchronous Notification/notification
Refund Application/refund
Refund Inquiry/refundQuery
Refund Asynchronous Notification/notification
Pure API PaymentPlace an Order/orderAndPayUse merchant's own cashier for payment
Transaction Inquiry/orderQuery
Order Asynchronous Notification/notification
Refund Application/refund
Refund Inquiry/refundQuery
Refund Asynchronous Notification/notification
Tokenization PaymentPaymentTokenID Inquiry/inquirePaymentToken When users use card payment, after a successful payment, the card token will be given to the merchant. Subsequent payments by the merchant will carry the card token for quick payment completion.
PaymentTokenID Unbinding/removePaymentToken
Asynchronous Notification/notification
PayByLink PaymentCreate Payment Link/createPaybylinkDirectly create a payment link for the merchant, send it to the consumer for payment
Query Link Details/queryPaybylink
Invalid Payment Link/expirePaybylink
Update Asynchronous Callback/notification
DisputesDispute Asynchronous Notification/notificationNotifications to merchants for orders generated due to chargebacks, disputes, fraud, complaints, etc., after the completion of the transaction
Case Reply/caseReplay
Case Inquiry/caseSearch
PaymentAPI PaymentPayment Request/paymentOrderPayMerchant makes payment to users
Payment Transaction Inquiry/paymentOrderQry
Asynchronous Notification/notification
Account BalanceBalance InquiryReal-time Balance Inquiry/currentBalanceQueryMerchant performs balance inquiry
Day-end Balance Inquiry/dayEndBalanceQuery
Payment MethodPayment Method InquiryAvailable payment methods inquiry/consultPaymentMethodMerchants can query the currently available payment methods, including: payment method code, payment currency, activation time, payment method status (available/unavailable), limit range, etc.

4. API parameter transfer rules

If requiredDescription
MMandatory
OOptional
CCondition

Released under the MIT License.