HiPay Enterprise – 3x 4x Oney & more
To pay with Oney, you can choose between multiple payment products:
- 3xcb (France, Belgium, Italy, Spain),
- 3xcb-no-fees (France, Belgium, Italy, Spain, Portugal),
- 4xcb (France, Italy, Spain),
- 4xcb-no-fees (France, Italy, Spain, Portugal),
- credit-long (payment with more monthly installments).
Additionally, the Pay Later Oney solution is also available and allows you to pay 30, 60 or 90 days after your purchase. To use Pay Later Oney, you need to choose between any of the five abovementioned products, then select Pay Later Oney.
Please note that if Pay Later Oney is selected, the payment_product_parameters field (see the table below) becomes mandatory.
For further assistance, please contact your technical account manager.
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 a 3x 4x Oney 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
{
"email": "john.doe@hipay.com",
"cid": "1234567",
"eci": "7",
"gender": "M",
"firstname": "john",
"lastname": "doe",
"birthdate": "19771215",
"streetaddress": "Rue de la Paix",
"zipcode": "75001",
"city": "Paris",
"msisdn": "0152211335",
"description": "This is the description of my order",
"ipaddr": "77.156.225.124",
"currency": "EUR",
"payment_product": "3xcb-no-fees",
"orderid": "578cdb0fda266",
"language": "fr_FR",
"country": "FR",
"amount": "250.50",
"shipto_gender": "M",
"shipto_firstname": "john",
"shipto_lastname": "doe",
"shipto_phone": "0152211335",
"shipto_msisdn": "0152211335",
"order_category_code": "5734",
"delivery_date": "2017-12-31",
"delivery_method":'{"mode":"STORE","shipping":"INSTANT"}',
"carrier_description":"click & collect",
"accept_url":"https://www.mysite.com/accept",
"decline_url":"https://www.mysite.com/decline",
"exception_url":"https://www.mysite.com/exception",
"cancel_url":"https://www.mysite.com/cancel",
"payment_product_parameters":{"merchant_promotion":"AT011"}
"basket": [
{
"product_category": "8",
"product_reference": "NF-a0351",
"name": "My second product",
"type": "good",
"quantity": 4,
"unit_price": 10.5,
"discount": -2.5,
"tax_rate": "20",
"total_amount": 39.5
}
]
}
API response
This service creates an order and returns a forward URL. This forward URL is dedicated to display a 3x 4x Oney payment page. After payment form validation, the checkout is processed and the user is being returned to your website.
(For further details, please refer to the technical documentation.)
Response example
forwarding
https://secure-gateway.hipay-tpp.com/gateway/forward/42a37368e8ff7254b245e524e05fb4b6
true
00001329106
1
132256855183
2018-06-06T09:22:58+0000
2018-06-06T11:22:59+0200
140
Authentication requested
0.00
0.00
0.00
0.00
2
EUR
0.0.0.0
7
4xcb-no-fees
0
ACCEPTED
1528276976
2018-06-06T09:22:58+0000
1
399.50
0.00
0.00
2
EUR
cliente
fr_FR
test@test.com
-
good
abklqsk
1
399.5
399.5
