HiPay Enterprise – Alipay e-commerce
Service endpoints
There are two endpoints (base URLs) to which you can make your API calls:
- Stage, if you are testing your integration,
- and Production, when you have finished testing and want your application to go live.
Request parameters
To create an Alipay e-commerce transaction on the HiPay Enterprise Payment Gateway, you must send these mandatory/complementary parameters in your transaction creation call.
(For further details, please refer to the technical documentation.)
Request example
{
currency:USD
payment_product:alipay-ecommerce
orderid:
amount:39.25
description:Alipay e-commerce test
eci:7
long_description:Detailed description
operation:sale
}
API response
This service returns a forward URL, where you must redirect your customers to complete the payment.
(For further details, please refer to the technical documentation.)
Response example
forwarding
https://stage-secure-gateway.hipay-tpp.com/gateway/forward/987654321a123b0b1fabcd98a7654321
true
00001234455
1
400000112233
2018-06-07T12:48:03+0000
2018-06-07T14:48:04+0200
140
Authentication requested
0.00
0.00
0.00
0.00
2
USD
0.0.0.0
7
alipay-ecommerce
0
ACCEPTED
1231230123
2018-06-07T12:48:03+0000
1
39.25
0.00
0.00
2
USD
