API Documentation

Everything you need to integrate LetsPay into your application

๐Ÿš€

Quick Start

Get started with LetsPay in minutes. Step-by-step integration guide for beginners.

View Guide โ†’
๐Ÿ“š

API Reference

Complete reference documentation for all LetsPay API endpoints and parameters.

View Reference โ†’
๐Ÿ’ป

SDKs & Libraries

Official client libraries for popular programming languages and frameworks.

Download SDKs โ†’
๐Ÿ””

Webhooks

Real-time event notifications for payment updates and transaction events.

Configure Webhooks โ†’
๐Ÿงช

Testing

Sandbox environment and test cards for development and testing.

Test Environment โ†’
๐Ÿ”’

Security

Best practices for API security, authentication, and PCI compliance.

Security Guide โ†’

Quick Integration Example

Create a payment in just a few lines of code

const letspay = require('letspay')('your_api_key');

const payment = await letspay.payments.create({
  amount: 1000, // Amount in cents
  currency: 'gbp',
  payment_method: 'card',
  customer_email: 'customer@example.com',
  description: 'Order #12345'
});

console.log('Payment created:', payment.id);

Additional Resources

๐Ÿ“– Tutorials

Step-by-step guides for common integration scenarios

๐Ÿ’ก Sample Apps

Full example applications in various frameworks

๐ŸŽฅ Video Guides

Video tutorials and walkthrough sessions

โ“ FAQs

Answers to frequently asked questions

Need Help?

Our developer support team is available 24/7 to help you integrate