# `Stripe.Services.ConfirmationTokenService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/confirmation_token_service.ex#L2)

ConfirmationTokensResourceConfirmationToken

ConfirmationTokens help transport client side data collected by Stripe JS over
to your server for confirming a PaymentIntent or SetupIntent. If the confirmation
is successful, values present on the ConfirmationToken are written onto the Intent.

To learn more about how to use ConfirmationToken, visit the related guides:
- [Finalize payments on the server](https://docs.stripe.com/payments/finalize-payments-on-the-server)
- [Build two-step confirmation](https://docs.stripe.com/payments/build-a-two-step-confirmation).

# `retrieve`

```elixir
@spec retrieve(Stripe.Client.t(), String.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Retrieve a ConfirmationToken

Retrieves an existing ConfirmationToken object

---

*Consult [api-reference.md](api-reference.md) for complete listing*
