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. About Payment Methods
  • 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
      • Affirm
      • AfterPay_ClearPay
      • Bank Transfer
      • Blik
      • Card
      • Cashapp
      • iDEAL
      • Kakao Pay
      • Klarna
      • Konbini
      • Korean Card
      • Naver pay
      • Payco
      • Pay with Link
      • Pix
      • Pse
      • Samsung Pay
      • Tmoney
      • Toss Pay
      • Trustly
      • TrueMoney
      • 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
    • Integrate Local Payment Methods
    • Error code
      • last_payment_error documentation
      • Errors
    • 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
      • UseePay Elements Appearance
      • Payment Element
      • Payment Element (Deferred Intent)
      • Express Checkout Element
      • Checkout Session Element
    • 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
    • Payement Attempt
      • ECI Indicator (3-D Secure) Reference
      • Retrieve PaymentAttempt
    • 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
      • three_ds
      • PaymentAttempt
      • konbini
      • client_pm_options
  • Message
    • Messaging Element
  • About Testing
    • Test Cards
    • ApplePay&GooglePay
  • Reconciliation
    • SFTP Access for Reconciliation
  • FAQ
    • Unable to receive Webhook notifications
    • FAQ
    • Introduction
  1. About Payment Methods

TrueMoney

Payment method properties#

PropertyDetails
Markets (consumer)TH
Consumer currenciesHKD,USD,CNY,THB
Authentication methodsREDIRECT
Authentication timeout10 mins
Minimum payment amountSubject to channel rules
Maximum payment amountSubject to channel rules
Payment instrumentDIGITAL_WALLET
Recurring paymentsYes (Currently in testing and not yet available in Production)
Separate capturesNo
RefundFull - Partial - Multiple
Refund validity365 Days
DisputesNo

Payment Flow#

1.
Customer selects TrueMoney at checkout.
2.
Customer is redirected to the TrueMoney payment flow to complete payment authorization.
3.
After payment is completed, the customer is returned to the merchant site.
4.
The merchant receives the payment result from UseePay.

Notes#

TrueMoney is available for customers in Thailand.
The billing address country must be set to Thailand (TH).
TrueMoney transactions are processed in THB.

Integration Guide#

api#

You should set billing.country = TH when creating the paymentIntent.

request#

response#

{
    "id": "1012608162326154014",
    "code": "0000",
    "message": "Approved or completed successfully",
    "amount": 1,
    "currency": "THB",
    "status": "requires_customer_action",
    "description": "T-shirt",
    "confirm": true,
    "orderType": "sale",
    "mode": "payment",
    "sale": true,
    "merchant_no": "500000000007381",
    "app_id": "www.pay.com",
    "create_at": "2026-08-16T15:26:01Z",
    "modify_at": "2026-08-16T15:26:01Z",
    "merchant_order_id": "Pjpo5cKNgR3TvcYmKCaMr",
    "refunded_amount": 0,
    "next_action": {
        "type": "redirect",
        "redirect": {
            "method": "GET",
            "url": null,
            "content_type": null,
            "app_url": "https://psp.ac.truemoney.com/page/simulation-wallet/acwallet/alipayconnectcode.html?code=281666040097QW0J8YeXj8YNYs0cyhH0dGLV&pspName=TRUEMONEY&loadMode=2",
            "package_name": "com.iap.linker_portal"
        }
    },
    "return_url": "https://www.yourstore.com",
    "client_secret": "7397b3312dc48e23589988f1bfb6dea1",
    "auto_capture": true,
    "order_id": "1012608162326154014",
    "latest_payment_attempt": "pa_13MKOH7E87400",
    "payment_attempt": {
        "id": "pa_13MKOH7E87400",
        "billing": {
            "address": {
                "country": "TH",
                "city": null,
                "postcode": null,
                "state": null,
                "line1": null,
                "line2": null
            },
            "email": null,
            "name": null,
            "phone": null,
            "date_of_birth": null,
            "first_name": null,
            "last_name": null
        },
        "merchant_no": "500000000007381",
        "app_id": "www.pay.com",
        "create_at": "2026-08-16T15:26:01Z",
        "modify_at": "2026-08-16T15:26:02Z",
        "api_version": null,
        "payment_intent_id": "1012608162326154014",
        "checkout_session_id": null,
        "merchant_order_id": "Pjpo5cKNgR3TvcYmKCaMr",
        "order_id": "1012608162326154014",
        "invoice_id": null,
        "subscription_id": null,
        "customer_id": null,
        "mandate_id": null,
        "payment_method_id": null,
        "payment_method_details": {
            "type": "truemoney"
        },
        "return_url": "https://www.yourstore.com"
    },
    "setup_future_usage": false
}

TrueMoney Payment Method Options#

Use payment_method_options.truemoney to specify the client environment when initiating a TrueMoney payment.

Parameters#

ParameterTypeRequiredValuesDefaultDescription
clientstringNoweb, wap, app, mini_appwebThe client platform type used to initiate the TrueMoney payment.
os_typestringConditionalios, android-The operating system of the shopper's device. Required when client is wap or app; not required for other client types.

Client#

The client parameter specifies the environment where the shopper initiates the payment.
ValueDescription
webPayment is initiated from a PC browser. This is the default value.
wapPayment is initiated from a mobile browser.
appPayment is initiated from a mobile application.
mini_appPayment is initiated from a mini program.

OS Type#

The os_type parameter specifies the operating system of the shopper's device.
This parameter is required only when client is wap or app.
ValueDescription
iosThe shopper is using an iOS device.
androidThe shopper is using an Android device.

Client Scenarios#

Set client and os_type according to the environment where the payment is initiated.
Payment Scenarioclientos_type
PC WebwebNot required
Mobile Web - iOSwapios
Mobile Web - Androidwapandroid
Mobile App - iOSappios
Mobile App - Androidappandroid
Mini Appmini_appNot required
Note: When client is wap or app, os_type must be provided so that the appropriate payment redirection can be returned.

Request Examples#

PC Web#

For payments initiated from a PC browser, set client to web.
{
  "payment_method_options": {
    "truemoney": {
      "client": "web"
    }
  }
}
Since web is the default value, client can also be omitted:
{
  "payment_method_options": {
    "truemoney": {}
  }
}

Mobile Web - iOS#

For payments initiated from a mobile browser on an iOS device:
{
  "payment_method_options": {
    "truemoney": {
      "client": "wap",
      "os_type": "ios"
    }
  }
}

Mobile Web - Android#

For payments initiated from a mobile browser on an Android device:
{
  "payment_method_options": {
    "truemoney": {
      "client": "wap",
      "os_type": "android"
    }
  }
}

Mobile App - iOS#

For payments initiated from an iOS application:
{
  "payment_method_options": {
    "truemoney": {
      "client": "app",
      "os_type": "ios"
    }
  }
}

Mobile App - Android#

For payments initiated from an Android application:
{
  "payment_method_options": {
    "truemoney": {
      "client": "app",
      "os_type": "android"
    }
  }
}

Mini App#

For payments initiated from a mini program:
{
  "payment_method_options": {
    "truemoney": {
      "client": "mini_app"
    }
  }
}

Important Notes#

client defaults to web if it is not provided.
os_type is required when client is wap or app.
os_type is not required when client is web or mini_app.
For mobile App payment scenarios, make sure the client and os_type values match the shopper's actual client environment.
Previous
Trustly
Next
Apple Pay
Built with