BitPay
Quick Start
- Sign up at bitpay.com and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
BitPay — Bitcoin and cryptocurrency payments
| Provider ID | bitpay |
| Category | Crypto & Blockchain |
| Website | bitpay.com |
Supported operations: Create Invoice (payments_authorize) Get Invoice (payments_status)
Authentication
Method: API Key (x-accept-version header)
Headers:
Authorization: {api_key}
x-accept-version: 2.0.0
Content-Type: application/json
Example:
Authorization: api_abc123xyz
x-accept-version: 2.0.0
⚠️ Important: x-accept-version required for version specification API!
Configuration
Required Parameters
| Parameter | Description |
|---|---|
base_url | Base API URL |
api_key | API Key for authorization |
token | Token for creating invoices |
notification_url | URL for IPN (optional) |
transaction_speed | Confirmation speed (by default) |
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
complete | Charged | Payment fully confirmed |
confirmed | Charged | Payment confirmed in blockchain |
paid | AuthenticationPending | Payment sent, awaiting confirmations |
expired | Failure | Invoice expired |
invalid | Failure | Invalid invoice |
API Reference
| Method | Endpoint | Description |
|---|---|---|
| POST | /invoices | |
| GET | /invoices/{invoiceId}?token={token} |