UseePay Open API
UseePay Portal
Product Docs
  • V2.0
  • V1.0
Mechant Dashboard
UseePay Portal
Product Docs
  • V2.0
  • V1.0
Mechant Dashboard
  1. Embedded Checkout
  • Intergration
    • About Payment Methods
      • Card
      • Apple Pay
      • Google Pay
      • Klarna
      • Naver pay
      • Kakao Pay
      • Toss Pay
      • Payco
      • Affirm
    • subscription
      • Get started with Subscription
    • online payment
      • Get started with online payments
    • Payment Capabilities
      • Adaptive Price
  • developer
    • Introduction
    • Authentication
    • Errors
    • error code
      • last_payment_error documentation
    • Best Integration
      • Quickly create a paymentIntent for a subscription
      • Auto-Charge Subscription Guide
    • Payment Intents
      • Payment Intent Overview
      • Quickly create a paymentIntent
      • Create a PaymentIntent
      • Retrieve a PaymentIntent
      • Update a PaymentIntent
      • Confirm a PaymentIntent
      • Cancel a PaymentIntent
      • Capture a PaymentIntent
      • List all payment intents
    • Customers
      • Create a customer
      • Retrieves a customer
      • Update a customer
      • List all customers
    • Subscriptions
      • Create a subscription
      • Retrieves a subscription
      • Update a subscription
      • List all subscriptions
      • Cancel a subscription
    • Invoices
      • Create a invoice
      • Retrieves a invoice
      • List all invoices
      • Pay a invoice
    • Payment Methods
      • Create a payment method
      • Retrieves a payment method
      • Update a payment method
      • List all payment methods
    • Mandates
      • Create a mandate
      • Retrieves a mandate
      • List all mandates
    • Refunds
      • Create a refund
      • Retrieves a refund
      • List all refunds
    • Webhooks
      • Webhook events
      • Webhook Activation/Signature Verification Steps
      • Create a webhook
      • Retrieves a webhook
      • Update a webhook
      • List all webhooks
    • Embedded Checkout
      • Payment Elements
    • case
    • objects
    • About Testing
      • Test Cards
      • ApplePay&GooglePay
  • message
    • Messaging Element
  • FAQ
    • Unable to receive Webhook notifications
  1. Embedded Checkout

Payment Elements

🔒 Embedded Checkout#

📷 Product Diagram#

image.png

📝 Overview#

This is an SDK designed to integrate UseePay’s embedded checkout experience. It allows developers to easily and securely accept subscription payments.

💳 Supported Payment Methods#

(Refer to the official documentation for the latest list.)

🚀 Quick Start#

Create a PaymentIntent#

On your server, create a PaymentIntent to manage the full lifecycle of the customer’s payment.
In the response, return the clientSecret and id. These will be used on the frontend to complete the payment.
Click to view API docs

1. Include UseePay SDK:#


2. Verify SDK Availability:#


3. Initialize UseePay with your OpenAPI Public Key:#

🧠 Note:
You do not need to manually specify whether you’re using sandbox or production.
UseePay SDK will automatically detect the environment based on the prefix of your public key:
PK_TEST_**** → sandbox
PK_**** → production

4. Initialize UseePay Elements:#

Example:

5. Create the Payment Element:#


6. Mount the Element to the DOM:#

Example:

7. Confirm the Payment:#


🔍 Parameters#

ParameterTypeDescription
paymentIntentObjectThe resulting payment intent
errorObjectError object if any occurs

error Object#

FieldTypeDescription
typeStringType of error

Possible error.type Values#

ValueDescription
no_select_payment_methodNo payment method selected
validation_errorForm validation error

✅ Payment Status#

⚠️ When calling confirmPayment, always check the result status and handle accordingly.
📘 Click here to view full result code documentation

If you’ve followed all the steps above — congratulations!
You’ve successfully integrated the UseePay Embedded Subscription Checkout.

🎉 Tips#

If you want to use a specific payment method, you should set payment_method_types when creating the paymentIntent.
807c0951c0cc5498ccd13e77d582aa3e.png

Video Demo#

If the video doesn’t load, please click the link:
https://youtube.com/shorts/4u2yg7IcH3A?feature=share
Modified at 2025-11-06 06:51:15
Previous
List all webhooks
Next
Test Cards
Built with