Change Checkout Link
Intent
Applies the supplied changes to the checkout link.
When to call it
Call this when the checkout link already exists and its stored values need to change.
Access boundary
Authorize the request with a token that carries checkout_links:write.
Successful result
A successful request returns 200. The response schema below defines the body your integration receives.
Authorizations
Path Parameters
Identifier of the checkout link.
Body
Schema used to update an existing checkout link.
Unit used to measure the trial period.
day, week, month, year Length of the trial measured in the selected interval.
1 <= x <= 1000Metadata map for information your integration needs to retain.
The key must be a string with a maximum length of 40 characters. The value must be either:
- A string with a maximum length of 500 characters
- An integer
- A floating-point number
- A boolean
You can store up to 50 key-value pairs.
Collection of products that will be available to select at checkout.
1Indicates whether to allow the customer to apply discount codes. If you apply a discount through discount_id, it'll still be applied, but the customer won't be able to change it.
Indicates whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting.
Identifier of the discount to apply to the checkout. If the discount is not applicable anymore when opening the checkout link, it'll be ignored.
Seats: Seat quantity locked into this checkout link. Every linked product must support seat pricing and accept the specified quantity. Ruba ignores the value if a product's configuration no longer supports it when checkout begins.
1 <= x <= 10000Success Url: URL where the customer will be redirected after a successful payment.You can add the checkout_id={CHECKOUT_ID} query parameter to retrieve the checkout session id.
1 - 2083If provided, a back button will be shown in the checkout to return to this URL.
1 - 2083Response
Response: Checkout link updated.
Checkout link data.
The stable identifier for this record.
The time Ruba created this record.
The time this record last changed.
Unit used to measure the trial period.
day, week, month, year Length of the trial measured in the selected interval.
Payment Processor: Payment processor used.
stripe Client Secret: Client secret used to access the checkout link.
Success Url: URL where the customer will be redirected after a successful payment.
If provided, a back button will be shown in the checkout to return to this URL.
Label: Optional label to distinguish links internally.
Indicates whether to allow the customer to apply discount codes. If you apply a discount through discount_id, it'll still be applied, but the customer won't be able to change it.
Indicates whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting.
Identifier of the discount to apply to the checkout. If the discount is not applicable anymore when opening the checkout link, it'll be ignored.
Seats: Seat quantity locked into this checkout link. Every linked product must support seat pricing and accept the specified quantity. Ruba ignores the value if a product's configuration no longer supports it when checkout begins.
Identifier of the organization.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
- DiscountFixedOnceForeverDurationBase
- DiscountFixedRepeatDurationBase
- DiscountPercentageOnceForeverDurationBase
- DiscountPercentageRepeatDurationBase