One Click
One Click enables purchases with one click through secure payment data storage. The buyer avoids repeating the full cart flow and goes directly to the final payment step.
Before integrating it, make sure the capability is enabled in your account settings.
Related API reference
- Create a customer
- List a customer's payment methods
- Create a payment method
- Confirm a payment intent
General flow
- Look up the buyer by email to know whether they already exist.
- Start a session verification by email or SMS.
- Confirm the session with the 6-digit code received by the buyer.
- List the available payment methods.
- Add a new payment method if the buyer needs one.
- Confirm the payment using the verified buyer.
Main resources
| Action | Description |
|---|---|
| Look up buyer | Looks up a buyer by email and returns whether they exist. |
| Start verification | Sends a 6-digit code by email or SMS. |
| Confirm verification | Confirms the session with the received code. |
| List payment methods | Lists available methods for the buyer. |
| Add payment method | Adds a new payment method so it can be reused in future payments. |