Skip to main content

Cryptopay

Quick Start
  1. Sign up at cryptopay.me and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to Cryptopay →

Overview

Cryptopay — Payments (cryptocurrency payments)

Provider IDcryptopay
CategoryCrypto & Blockchain
Websitecryptopay.me

Supported operations: Create Invoice (payments_authorize) Get Invoice Status (payments_status)


Authentication

Method: HMAC SHA-1 (Custom signature scheme)
Algorithm signing:

Step 1: MD5 Hash Payload

payload_hash = md5(request_body).hexdigest().lowercase()

Step 2: Signature String

signature_string =
"{HTTP_METHOD}\n" +
"{payload_hash}\n" +
"application/json\n" +
"{date_iso8601}\n" +
"{api_path}"

Example:

POST
d41d8cd98f00b204e9800998ecf8427e
application/json
2024-01-15T10:30:00+00:00
/api/invoices

Step 3: HMAC SHA-1

signature = hex(hmac_sha1(signature_string, api_secret))

Step 4: Authorization Header

HMAC {api_key}:{signature}

Additional header:

Date: 2024-01-15T10:30:00+00:00

Configuration

Required Parameters

ParameterDescription
base_urlBase API URL
api_keyPublic API Key
api_secretSecret key for HMAC
pay_currencyCryptocurrency for payment (required)
networkBlockchain network (optional)

Status Mapping

Provider Status4pay StatusDescription
newAuthenticationPendingInvoice created, awaiting payment
completedChargedPayment completed
cancelledFailureInvoice cancelled
refundedRefundedPayment returned
unresolvedPendingUnresolved status

Resources