Set up future payments with Korean cardsBeta
Learn how to save local Korean cards to charge your customers later.
Save local card payment details using Checkout, our fully hosted checkout page.
Learn how to set up a subscription with local Korean cards to create recurring payments after saving a payment method in Checkout.
Set up StripeServer-side![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
First, you need a Stripe account. Register now.
Access the Stripe API from your application using our official libraries:
Getting permission to save a Korean cardServer-side![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
If you save your customer’s payment method for future use, you need permission. Creating an agreement (sometimes called a mandate) up front allows you to save your customer’s payment details and charge them when they’re not actively using your website or app.
Add terms to your website or app that state how you plan to save your customer’s payment method details, and let them opt in. If you plan to charge your customer when they’re offline, make sure that your terms also include the following:
- The customer’s permission for you to initiate a payment or a series of payments on their behalf for specified transactions
- The anticipated frequency (one-off or recurring) and timing of payments
- How you determine the payment amount
- Your cancellation policy, if you’re setting up the payment method for a subscription service
Make sure that you keep a record of your customer’s written agreement to these terms, and only submit charges in accordance with the agreed terms.
Create or retrieve a CustomerServer-side![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
To save a Korean card for future payments, attach it to a Customer.
Create a Customer object when your customer creates an account with your business, and associate the ID of the Customer object with your own internal representation of that customer. Alternatively, you can create a new Customer before saving a payment method for future payments.
Create a new Customer or retrieve an existing Customer to associate with this payment. Include the following code on your server to create a new Customer:
Create a Checkout SessionServer-side![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Add a checkout button to your website that calls a server-side endpoint to create a Checkout Session.
<html> <head> <title>Checkout</title> </head> <body> <form action="/create-checkout-session" method="POST"> <button type="submit">Checkout</button> </form> </body> </html>
Create a Checkout Session in setup
mode to collect the required information. After creating the Checkout Session, redirect your customer to the URL that the response returns.
Test your integration![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
When testing your Checkout integration, select Local card and click Pay. You will be redirected to a Stripe-hosted page where you can choose to authorise or fail the payment. See more details here for how to test redirect based payment methods.