YoboPay
    YoboPay
    • 接入说明
    • Introduction
    • Webhook接入
    • Webhook Introduction
    • Test Card
    • Embedded Checkout
    • Checkout
      • Create Session
        POST
      • Expire Session
        POST
      • Retrieve Session
        GET
    • PaymentIntents
      • Retrieve PaymentIntent
        GET
      • List all paymentIntent
        GET
    • Charges
      • List all charges
        GET
    • Customers
      • Create Customer
        POST
      • Update Customer
        POST
      • Retrieve Customer
        GET
    • Events
      • The Event object
      • Types of Events
      • Data Object
        • PaymentIntent
        • Charge
    • Refunds
      • Create Refund
        POST
      • List all refunds
        GET

    Embedded Checkout

    Yobopay Embedded Checkout JavaScript SDK Documentation#

    🧾 Introduction#

    The Yobopay SDK allows you to embed a secure checkout UI into your website to handle payments. Using the init method, you can mount the checkout to a DOM container and handle the full payment lifecycle through callbacks.

    📦 Installation & Integration#

    Method 1: Install via NPM#

    Method 2: IIFE Global Script#

    After loading, the SDK is accessible via the global object Yobopay

    Type Definitions#

    Modified at 2025-06-23 02:30:42
    Previous
    Test Card
    Next
    Create Session
    Built with