Skip to main content

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://www.wepay16888.com/autocollect/apply

Method: POST

Content-Type: application/x-www-form-urlencoded

Parameter list:

Parameter nameTypeDescriptionRemarks
amountfloat64amountsettlement amount
merchantstringMerchant IDLog in to the merchant background to view
banknamestringBank nameApplication settlement bank name such as: Agricultural Bank of China
subbanknamestringSub-branch nameApplication settlement bank sub-branch name
cardnostringBank card numberApplication settlement bank card number
cardnamestringCardholder nameApplication settlement bank cardholder name
notifyurlstringCallback addressCallback address
outcollectnostringsettlement order numbersettlement order number
signstringSignatureParameters are sorted in ascending order by field name >8-utf encoding > lowercase > MD5 encryption

response success

nametype說明備註
codeint0 success,otherwise fail 
resultsstring"success" 
idintcollection ID,use to query
{
    "code": 0,
    "results": "success",
    "id": 123
}