Developer API

API Reference

Comprehensive documentation for the ZenPay REST API. Build powerful payment integrations with our developer-friendly endpoints.

Getting Started

Essential information to get started with the API

  • Authentication
  • Error Handling
  • Pagination

Testing

Resources for testing API integration

  • Test Mode
  • Test Addresses
  • Webhook Testing

API Keys

Manage and use your API keys

API Endpoints

Explore all available endpoints in the ZenPay API. Each endpoint is designed for maximum flexibility and ease of integration.

Payment Intents Objects

Payment Intents track the lifecycle of a customer payment through the ZenPay system. They provide a unified interface for processing payments across multiple cryptocurrencies and payment methods.

Payment Intent Object
JSON
{
  "id": "pi_10AbCdEfGhIjK1MnOpQrStUv",
  "object": "payment_intent",
  "amount": 2000,
  "amount_received": 2000,
  "currency": "usd",
  "payment_method_types": [
    "bitcoin",
    "ethereum"
  ],
  "status": "succeeded",
  "created": 1640995200,
  "description": "Payment for premium subscription",
  "metadata": {
    "order_id": "order_123",
    "customer_id": "cus_456"
  }
}

Create Payment Intent

POST
/v1/payment_intents

Creates a new payment intent for processing a payment. This is the first step in the payment flow.

Retrieve Payment Intent

GET
/v1/payment_intents/{id}

Retrieves the details of a specific payment intent by its unique identifier.

Need Help?

Our developer support team is here to help you integrate with ZenPay. Get started quickly with our comprehensive resources and expert guidance.

24/7 Support

Get help whenever you need it

Code Examples

Real-world implementation guides

SDKs & Tools

Pre-built libraries and tools