Non-hosted Local Payment
About 522 wordsAbout 2 min
2025-03-07
| Pay-in (Immediate Capture) | Authorization (Auth then Capture) | Refund & Partial Refund | 重新支付 | Token凭证支付 | 线下扫码支付 |
|---|---|---|---|---|---|
Interaction Flow
Client Order Creation
Customer initiates order creation on merchant platform
Merchant Server Requests Order Creation and Payment
Merchant backend calls Order Creation and Payment interface
PingPongCheckout Responds with Results
If request is successful, PingPongCheckout will return one of the following two possible results:
- QR Code: Follow prompts to scan code for payment
- url: Redirect to APM payment channel provider
Complete Payment on Designated APM Channel Page
User completes payment operation according to guidance on payment page
PingPongCheckout Server Pushes Payment Results
After payment completion, system sends asynchronous notification, see details in Asynchronous Notification
Merchant Receives Notification and Returns Confirmation
After merchant receives notification, should return
code 200as confirmation
API List
Server-side Integration
Request Order Creation and Payment to create order and obtain APM payment key information action object.
Local Payment - action.type values:
| Parameter | Description |
|---|---|
QR_URL | QR code image url, can be displayed directly |
PAYMENT_REDIRECT_URL | Redirect link |
Client-side Integration
After server-side order creation succeeds, perform different operations based on response parameters from Order Creation and Payment
| Parameter | Description |
|---|---|
paymentQrCode | Display QR code to complete payment |
paymentRedirectUrl | Direct redirect |
