Rye icon

Rye

Interact with the Rye Universal Checkout API

Actions4

Checkout Intent → Confirm

AI-generated

Summary

Confirm a checkout intent using a Stripe token.

Inputs

  • checkoutIntentId (required) — The ID of the checkout intent to confirm. Typically obtained from the 'Create' operation output.
  • stripeToken (required) — The Stripe token that will be used to process the checkout payment.

Output shape

object

The confirmation response from the Rye API, returned as the operation's JSON output.

Examples

Example 1: Confirm a checkout intent

Provide the checkout intent ID and a Stripe token. The operation POSTs to /checkout-intents/{checkoutIntentId}/confirm with the token as payment method.

Discussion