UseePay Open API
UseePay PortalMechant Dashboard
Product Docs
Product Docs
  • V2.0
  • V1.0
UseePay PortalMechant Dashboard
Product Docs
Product Docs
  • V2.0
  • V1.0
  1. FAQ
  • Integration
    • Welcome to the UseePay Demo Page
    • Payment Product Overview
      • Hosted Checkout Integration Guide
      • Embedded Checkout Integration Guide
      • Express Checkout Integration Guide
      • Server to Server Integration Guide
    • About Payment Methods
      • Card
      • Klarna
      • Naver pay
      • Kakao Pay
      • Toss Pay
      • Payco
      • Affirm
      • Blik
      • Trustly
      • Cashapp
      • Pay with Link
      • After Pay
      • ApplePay
        • Apple Pay
        • Apple Pay Web Integration (API Integration)
      • GooglePay
        • Google Pay
        • Google Pay Web Integration (API Integration)
    • Subscription
      • Get started with Subscription
    • Online payment
      • Get started with online payments
    • Payment Capabilities
      • Adaptive Price
      • Supported Payment Methods for Checkout
    • Checkout session
      • Checkout Session Guide
  • 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
      • Retieve Payment Method Session
    • Mandates
      • Create a mandate
      • Retrieves a mandate
      • List all mandates
    • Refunds
      • Create a refund
      • Retrieves a refund
      • List all refunds
    • Webhooks
      • Webhook Integration Guide(version 2026-04)
      • Integration details
        • Supported Webhook Events
        • Webhook Activation/Signature Verification Steps
        • Webhook events for example
        • Dispute Webhook Integration Document
        • Difference between version 2026-04 and 2026-10-10
      • archive
        • 2024-10-10
          • Webhook Integration Guide(version 2024-10-10)
      • Create a webhook
      • Retrieves a webhook
      • Update a webhook
      • List all webhooks
    • Embedded Checkout
      • Payment Element
      • Payment Element (Deferred Intent)
      • Express Checkout Element
      • Checkout Session Element
    • About Testing
      • Test Cards
      • ApplePay&GooglePay
    • Payment Method Configuration
      • Retieve Payment Method Configuration
    • Checkout Session
      • Create Checkout Session
      • Retrieve Checkout Session
    • Trackers
      • upload trackers
      • Retrieve a tracker
    • Capture
      • Capture Overview
      • List captures by intent id
    • Schemas
      • CheckoutSessionCreateRequest
      • PaymentMethod
      • CreatePaymentIntentRequest
      • LineItem
      • Customer
      • Address
      • ProductData
      • Shipping
      • SubscriptionData
      • Error
      • DiscountPeriodConfig
      • DeviceData
      • CheckoutSessionResponse
      • ErrorResponse
      • Order
      • Product
      • PaymentMethodOptions
      • RiskControlOptions
      • Mandate
      • PaymentIntent
      • Billing
      • Card
      • AliPay
      • Wallet
      • Klarna
      • WechatPay
      • Refund
      • Subscription
      • Recurring
      • PriceData
      • SubscriptionItem
      • Invoice
      • NextAction
      • Webhook
      • CollectableOptions
      • PaymentLink
      • last_payment_error
      • discount_period_config
      • Capture
  • Reconciliation
    • SFTP Access for Reconciliation
  • Message
    • Messaging Element
  • FAQ
    • Unable to receive Webhook notifications
    • FAQ
  1. FAQ

FAQ

1. How to obtain the parameters in the header of the v2 API (docs-v2.useepay.com)?#

x-merchant-no: MC → Configuration Center → Secret Key Management → First row data
x-api-key: MC → Configuration Center → Secret Key Management → OpenApi Secret Key → Private Key (UseePay_SK_xxx)
x-app-id: MC → Configuration Center → Secret Key Management → Domain Management → The website domain/APP English name added here is the appId (must be approved before calling the API)

2. I have integrated with the v2 API (docs-v2.useepay.com) as instructed, but I am not receiving webhooks. What could be the reason?#

Possible reasons for not receiving webhooks:
【1】MC Backend → Configuration Center → Secret Key Management → RSA Secret Key → UseePay Public Key is not enabled.
【2】The webhook.create API has not been called to create a webhook.
【3】The created webhook does not include the current event.
Example: If the created webhook only includes refund, you will not receive webhooks related to paymentIntent.
If any of the above steps are missing, please complete them and then retest the corresponding webhook with a new order.

3. Request error: x-merchant-no is inconsistent#

Merchant number mismatch:
【1】Each request header carries an x-merchant-no parameter, e.g., 50001.
【2】If the current request carries a parameter that was not created under the same merchant number, the error x-merchant-no is inconsistent will be returned.
As shown below: when a developer creates a customer object using merchant-no-001
POST /api/v1/customer // create customer
Content-Type: application/json

x-merchant-no: merchant-no-001 // customer created by merchant 001
{
  "name": "test user",
  xxx
}
Then, when creating a PaymentIntent using merchant-no-002 that references the customer from 001, the PaymentIntent creation API will return the error:
x-merchant-no is inconsistent
POST /api/v1/payment_intents // create paymentIntent
Content-Type: application/json

x-merchant-no: merchant-no-002 // PaymentIntent created by merchant 002
{
  "amount": 100,
  "currency": "USD",
  "customerId": "cus_create_by_001" // this customer object was created by merchant 001
}
Modified at 2026-05-28 10:57:46
Previous
Unable to receive Webhook notifications
Built with