Read Checkout Link
Intent
Reads the checkout link without changing it.
When to call it
Call this after your application has received or stored the identifier for the checkout link.
Access boundary
Authorize the request with a token that carries checkout_links:read or checkout_links:write.
Successful result
A successful request returns 200. The response schema below defines the body your integration receives.
Operational notes
Get a checkout link by ID.
Scopes: checkout_links:read checkout_links:write
Authorizations
You can generate an Organization Access Token from your organization's settings.
Path Parameters
The checkout link ID.
Response
Successful Response
Checkout link data.
The stable identifier for this record.
The time Ruba created this record.
The time this record last changed.
The interval unit for the trial period.
day, week, month, year The number of interval units for the trial period.
Payment processor used.
stripe Client secret used to access the checkout link.
URL where the customer will be redirected after a successful payment.
When set, a back button will be shown in the checkout to return to this URL.
Optional label to distinguish links internally
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.
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.
ID of the discount to apply to the checkout. If the discount is not applicable anymore when opening the checkout link, it'll be ignored.
Preconfigured number of seats for seat-based pricing. When set, checkout sessions created from this link are locked to this number of seats and the customer won't be able to change it. All products on the link must use seat-based pricing and allow this number of seats. If the products no longer accommodate this value when the link is opened, it'll be ignored.
The organization ID.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
- DiscountFixedOnceForeverDurationBase
- DiscountFixedRepeatDurationBase
- DiscountPercentageOnceForeverDurationBase
- DiscountPercentageRepeatDurationBase