Follow these steps to perform a payment using Nuvei REST API integration:
1. Retrieve a list of UPOs
Once the customer selects the payment method, call /getUserUPOs request to retrieve a list of the customer’s UPOs.
(If no appropriate UPOs are returned, then skip the rest of these steps, and perform the steps in the Payment (without UPO) flow instead.)
2. Offer UPO(s) to customer
Offer the “returning customer” the option to select one of their previously captured payment methods (stored in a UPO record, userPaymentOptionId
, representing the customer’s bank account), instead of collecting their bank account details again.
- If the customer selects one of their UPOs, then continue with the next step.
- If not, then skip the rest of these steps, and perform the steps in the Payment (without UPO) flow instead.
3. Generate a sessionToken
Press here for details.