This guide walks you through accepting a card payment in the sandbox environment using the direct API integration.Documentation Index
Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A UQPAY sandbox account with Global Acquiring enabled
- An API token from the Access Token endpoint
Create a Payment Intent with a card payment method
Send a request to the Create Payment Intent API with a test card number. This creates the payment intent and processes the payment in a single call.
Check the response
A successful payment returns Key fields to note:
intent_status: "SUCCEEDED" immediately:intent_status— the overall payment result. See Core concepts for the full status reference.payment_intent_id— unique identifier for this payment, prefixed withPIlatest_payment_attempt.attempt_id— the specific attempt, prefixed withPA
What’s next
Core concepts
Learn about Payment Intent and Payment Attempt lifecycle and status transitions.
Direct API integration
Build a complete checkout flow with payment method handling and 3DS authentication.
Testing in sandbox
Full list of test cards, e-wallet sandbox setup, and go-live checklist.
Webhooks
Set up webhook notifications to receive real-time payment status updates.

