SDK ReferenceOverview

Overview

Apara SDK Documentation

Programmatically create and manage payment invoices using the Apara Checkout API. SDKs are available for Node.js, Python, Java and PHP.

Prerequisites

Before using any SDK, you need:

  • An Apara merchant account
  • Your Public Key and Secret Key obtained from the Apara dashboard
  • A Payment Link ID - create one in the Apara dashboard before making API calls

Security notice: Never hardcode your Public Key or Secret Key in source code. Always store them in environment variables.

What's in This Section

PageCovers
InstallationPackage installation for Node.js, Python, Java and PHP
AuthenticationInitializing the client with your API keys
MethodscreatePaymentInvoice / create_payment_invoice
ParametersEvery request field, per language
Error HandlingAparaError properties and HTTP status codes
Complete ExampleEnd-to-end implementations in all four languages