Skip to main content

Quick Start

This guide will help you create your first payment using the LuxCore API.

Prerequisites

1

Obtain your API keys

API keys are provided by the LuxCore team during your merchant onboarding. Contact your account manager or reach out to developers@lux-core.io to request access.
2

Choose your environment

Use a test key (qp_test_sk_*) for development. Switch to a production key (qp_prod_sk_*) when you’re ready for production.
Merchant accounts and API keys are created by the LuxCore team. Self-registration is not available.

Create Your First Payment

All amounts are in minor units (centavos, cents). For example, to charge 1,000.00 ARS, pass amount: 100000. Passing 1000 would create a payment for only 10.00 ARS.
Let’s create a bank transfer deposit payment (customer pays to you):

Response

Understanding the Response

The examples show typical initial responses. Creation may also return a failed payment; inspect status and any error_code before taking further action. HTTP success alone is not payment completion.

What’s Next?

Set up Webhooks

Receive real-time notifications when the payment completes

Payment Types

Learn about deposits, withdrawals, and payment pages

Test Your Integration

Use the testing setup agreed with your account manager

Go Live

Switch to production when you’re ready

Common Issues

Make sure you’re including the X-API-Key header with a valid API key.
Check that all required fields are present and properly formatted. The amount should be in minor units (centavos for MXN).
Ensure the payment method is enabled for your merchant account in the dashboard.