Naver Pay recurring payments
When processing a payment for the first time
Step 1: Create a Customer
Create a customer with the Create a Customer API API if the customer is new. Otherwise, this step is optional.
Step 2: Create a Payment Intent
Create a Payment Intent with the Create a Payment Intent API API.
POST /api/v1/pa/payment_intents/create
If the payment is not intended to charge the shopper for the first time, such as a subscription with a free trial, please set the amount to zero.
Step 3: Confirm the Payment Intent With Consent Info
When you want to redirect the shopper to authorize the consent with Naver Pay, call the Confirm a Payment Intent API API with the Payment Consent info to get a redirect URL.
POST /api/v1/pa/payment_intents/{id}/confirm
Once the shopper completes the payment, the Payment Consent will be verified automatically, and Airwallex will notify you of the Payment Consent status asynchronously via the webhook. Please refer to the webhook documentation to set up your webhook accordingly.
When initiating a subsequent transaction
Step 1: Initialize a Payment Intent
When you are ready to process the subsequent recurring payment, create a Payment Intent with the Create a Payment Intent API API.
POST /api/v1/pa/payment_intents/create
Step 2. Complete payment with verified consent
Confirm the subsequent payment with the verified Payment Consent by calling the Confirm a Payment Intent API API.
POST /api/v1/pa/payment_intents/{id}/confirm