Update a checkout session

Update a checkout session and all associated data.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Please specify the id of the checkout session you want to update.

Body Params
string
Defaults to updated_description

Use this parameter to update the description of this checkout session object.

string
Defaults to updated_success_message

Use this parameter to update the success_message of this checkout session object. Success_url and success-message are mutually exclusive request parameters—only one of them can be used.

string
Defaults to updated_success_url

Use this parameter to update the success_url of this checkout session object.

string
Defaults to updated_cancel_url

Use this parameter to update the cancel_url of this checkout session object.

string

You can use this parameter to add the header or title to your payment page.

string

You can use this parameter to provide a brief description of your payment page.

string

You can include a related image illustrating the purpose of a payment page along with the title and description. Image size must not be more than 2 MB.

json
Defaults to { "updated_key_1": "updated_value_1", "updated_key_2": "updated_value_2" }

Use this parameter to update the metadata in a structured format. Both adding new key-value pairs or changing the values for existing keys is possible. Note that the keys are case-sensitive.

Headers
string
enum
Defaults to 2022-04-15

In this parameter, you can specify the version you want. As of now, there are two versions (2022-04-15 and 2022-10-15). Version 2022-10-15 supports on-chain, lightning, Ethereum, Solana and Tron payment methods. Whereas the 2022-04-15 version only supports lightning payments.

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

Questions? Contact us