Overview
Secure and reliable pre-authorization ensures funds are reserved while providing flexible payment solutions. Supports both completion and cancellation of pre-authorizations.
Function
- Pre-authorization transaction processing.
- Pre-authorization processing and cancellation.
Authorization methods
- API: For high-volume merchants who wish to automate.
- Manual: Initiated via merchant backend.
Flow Chart
Pre-authorization Operation
- The merchant server calls the pre-authorization function and performs authorization or cancellation through the
payment_authType.
curl -X POST '/gateway/service/auth'
-H 'Content-Type: application/x-www-form-urlencoded'
-d 'account=995149'
-d 'terminal=99514901'
-d 'signValue=6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b'
-d 'payment_id=180803140041683010528'
-d 'payment_authType=1'
Response Data
<?xml version="1.0" encoding="utf-8"?>
<respon>
<account>995149</account>
<terminal>99514901</terminal>
<signValue>A75EBFFC5CF11EBBF752373115FD1CC1FF4472ACB338EF1E6F303594C656C3D0</signValue>
<order_number/>
<payment_id>240528151145313026060</payment_id>
<payment_status>1</payment_status>
<payment_details>Success</payment_details>
</respon>
Operation Result Type
| Parameter | Description |
|---|---|
payment_status | Operation result
|
payment_details | Result details
|
- View full list of pre-authorization response parameters →
- You can also receive the results of pre-authorization operations via asynchronous notifications.