Skip to main content
The Crypto Payment Gateway lets you take crypto payments that settle to your Rach balance. Use a hosted checkout (Rach renders the pay page) or drive your own UI with deposit addresses. Authenticate with your Payments API key (X-API-Key).
Base URL: https://api.rach.finance/api/v1/ · Auth: X-API-Key

Create a checkout

number
required
Amount to charge.
string
required
e.g. USD, NGN.
string
Your unique order reference for reconciliation.
string
Buyer email for the receipt.
string
Where Rach POSTs the webhook on settlement.
string
crypto.
object
Any key/values you want echoed back.
Response
Redirect the customer to payment_url. They pick a coin/network and pay.

Verify a payment

Poll the session (or rely on the webhook):
Response
status is one of pending, paid, expired, failed.

Full lifecycle

1

Create session

Send amount, currency, a unique reference, and a callback_url.
2

Customer pays

Redirect to payment_url; Rach handles coin/network selection.
3

Confirmation

Rach watches the chain and marks the session paid.
4

Webhook + settlement

Funds land in your balance and Rach POSTs your callback_url.

Other endpoints

See the full schema in the Payments API Reference under Checkout (Crypto Gateway).