post

/vendor/checkout

After the token has been received, merchant redirects customer to Leanpay checkout page. Redirecting should be performed with submitting to HTML form. NOTE You can also use a light box or iframe to present Leanpay Checkout page.

Request Parameters

1 Header

Request Body

A user object.

Schema
object
$schema: http://json-schema.org/draft-04/schema#
token
string

Request Token for Checkout Page

1 validation

Responses

token

Schema
object
$schema: http://json-schema.org/draft-04/schema#
text/html
string

The user ID.

1 validation

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.