Developers

Accept crypto payments on PHP SDK

A single-file PHP client for any PHP site: create invoices and verify webhooks. No Composer required.

Free to use Signed webhooks Orders update automatically

Set it up in 4 steps

Download the zip and copy Cryptomo.php into your project.

Create an API key in your Cryptomo dashboard (Stores → your store).

Create an invoice and send the customer to its checkout_url.

Verify incoming webhooks with Cryptomo::verifyWebhook() and mark the order paid.

require 'Cryptomo.php';
$c = new Cryptomo('https://cryptomo.net/', 'pk_...', 'sk_...');
$invoice = $c->createInvoice(['amount' => '25.00', 'currency' => 'USD', 'order_id' => '1001']);
header('Location: ' . $invoice['checkout_url']);

Requirements

  • PHP 7.4 or newer with the curl extension
  • A free Cryptomo account with a store and an API key

Features

  • One file, no Composer
  • Creates invoices and reads their status
  • Verifies webhook signatures

Start accepting crypto today

Free to start. 1% per payment. Upgrade any time.

Create your free account