Skip to main content

API Integration

Integrate HashNut payments into your application using the REST API.

Overview

HashNut provides a comprehensive REST API for payment integration. All API requests use HMAC-SHA256 signature authentication.

Quick Start

  1. Get API Credentials
  2. Authenticate Requests
  3. Create Orders
  4. Handle Webhooks

API Endpoints

Authentication

All API requests (except query endpoints) require HMAC-SHA256 signature authentication.

See Authentication Guide for details.

Code Examples

See Quick Start Guide for complete examples.

Best Practices

  1. Secure Credentials: Never commit API keys to version control
  2. Error Handling: Handle all error codes gracefully
  3. Idempotency: Make operations idempotent
  4. Logging: Log all API interactions

Next Steps


Integrating API? See Webhook Integration →