Create a hosted checkout page
POST /hostedpage/v1/checkout
A first step in creating a hpp session is actually create a a Checkout session. This will then be used for the Hostedpage as the checkout.
In order to provide the customer with a paylink, you need to create a hostedpage and define the delivery method.
- application/json
Request Body
- checkoutsessionid string required
The sessionId that you recieved after creating a checkout session
deliverymethod object required
type string requiredCan be value of 'email', 'link' or 'sms'
destination string requiredThe destination of the hostedpage should be email-address or cellphone number
config object required
showcart boolean requiredShould the cart be displayed to the consumer?
logoUrl string requiredYour store logo to be used on the Hosted Page
Responses
- 200
OK
Loading...