Payment Request API
For easy implementation to call payment request API, this API protocol is using request parameter to send transaction data and Return Redirect URL.
The link for payment button on merchant's web page to allow customer to activated WeChat Pay Wallet payment process.
merCode is the merchant payment key. Once a merchant accept OTT Pay WeChat Official Account service , OTTPay operation team will send this code through welcome email.
orderId is a customized order ID provided by merchant. Once an order is placed, merchant need to send this order ID.
Amount of the order. Merchant need to send the amount to OTT server.
newURL should be the web page URL for merchants to present the order processing result. It is set by merchant website URL to be called from OTTPAY API with payment process result.
After payment process finished, the result will be sent back by redirecting to the following payment result Web Page URL link.
newURL is a customized page for pay order process result receiving from OTTPAY and present to consumers who made the order payment.
amount is the request amount of the order from the merchant. Number, 1.00 for 1.00 dollar.
orderID is the requested order ID, from the merchant's request.
tranID is the order number returned from WeChat Pay.
status shows the result of the payment. Payment succeed returns " success", payment failed return "fail".
Last updated