Settlement application interface
Settlement application interface refers to the interface submitted by merchants to the system for settlement. After the merchant obtains the merchant ID and Secret provided by the system, it can initiate an order request by sending a POST request to the URL address in the document.
URL: https://domain/autocollect/apply
Method: POST
Content-Type: application/x-www-form-urlencoded
Parameter list:
Parameter name | Type | Description | Remarks |
---|---|---|---|
amount | float64 | amount | settlement amount |
merchant | string | Merchant ID | Log in to the merchant background to view |
bankname | string | Bank name | Application settlement bank name such as: Agricultural Bank of China |
subbankname | string | Sub-branch name | Application settlement bank sub-branch name |
cardno | string | Bank card number | Application settlement bank card number |
cardname | string | Cardholder name | Application settlement bank cardholder name |
notifyurl | string | Callback address | Callback address |
outcollectno | string | settlement order number | settlement order number |
sign | string | Signature | Parameters are sorted in ascending order by field name >8-utf encoding > lowercase > MD5 encryption |
response success
name | type | 說明 | 備註 |
---|---|---|---|
code | int | 0 success,otherwise fail | |
results | string | "success" | |
id | int | collection ID,use to query |
{
"code": 0,
"results": "success",
"id": 123
}