Save during payment
To save a card during a regular payment flow, include thevault_on_success flag when creating the payment on your backend.
Separate enrollment
Use the enrollment flow to save a payment method without processing a payment.Listeners
UseonEnrollmentStatus to track the progress of the enrollment flow.
| Status | Description |
|---|---|
SUCCEEDED | The payment method was saved successfully. |
FAILED | The enrollment failed. |
CANCELED | The user closed the enrollment flow. |