Skip to main content

Initialize Payment for Checkout (Stripe)

PATCH 

/api/checkout/:id/payment

Initialize payment for a checkout using the Stripe payment method.

Request

Path Parameters

    id stringrequired

    The ID of the checkout for which payment is being initialized

Query Parameters

    success_url stringrequired

    The URL to redirect to if payment is successful

    cancel_url stringrequired

    The URL to redirect to if payment is canceled or fails

    email stringrequired

    Email of the client

    return_url stringrequired

    The return URL

    payment_method stringrequired

    Payment method

    first_name stringrequired

    First name

    last_name stringrequired

    Last name

    phone_code stringrequired

    Phone code

    phone stringrequired

    Phone number

    company stringrequired

    Company name

    address1 stringrequired

    Address line 1

    address2 stringrequired

    Address line 2

    city stringrequired

    City

    country stringrequired

    Country

    country_code stringrequired

    Country code

    zip stringrequired

    ZIP code

Responses

Successful initialization of payment

Schema

    any

Loading...