Spark your build.
Add crypto payments with a few lines of code
Create a payment from your server, redirect your customer to a hosted checkout, and get notified by IPN when it's paid.
RESTful & JSON
Consistent, resource-based endpoints with standard HTTP status codes.
Keys + IP whitelist
Valid API credentials and a whitelisted IP are both required.
IPN notifications
Server-to-server POST to your ipn_url when a payment completes.
Products for developers
Pick what you need — each product has its own start button
Cryptorch Pay
REST API with JSON responses: create invoices, list payments, check status and supported currencies.
Quickstart
Create your first payment
Authenticate with your client-id and client-secret headers, from a whitelisted server IP. Base URL: https://www.cryptorch.com/api
- POST
/payment-initiateCreate an invoice and get a payment_link - GET
/invoice-listList your invoices - GET
/invoice-details/{invoice_id}Get one invoice - GET
/invoice-status/{invoice_id}Check an invoice's status - GET
/payment-listList your payments - GET
/payment-status/{payment_id}Check a payment's status - GET
/supported-currenciesCurrencies you can invoice in
curl -X POST https://www.cryptorch.com/api/payment-initiate \
-H "client-id: YOUR-CLIENT-ID" \
-H "client-secret: YOUR-CLIENT-SECRET" \
-F amount=100 \
-F currency_id=2 \
-F merchant_trx=TX123456 \
-F success_url=https://example.com/success \
-F failed_url=https://example.com/failed \
-F ipn_url=https://example.com/ipn \
-F "order_description=Payment for Order #9876"Getting started
How it works
- 1
Complete your company profile
Required before the API accepts requests.
- 2
Get your API credentials
Copy your client-id and client-secret from the dashboard.
- 3
Whitelist your server IP
Requests from non-whitelisted IPs are rejected.
- 4
Create a payment
POST to /api/payment-initiate and receive a payment_link.
- 5
Redirect & listen
Send your customer to the checkout and handle the IPN callback.
FAQ
Common questions
API requests are processed in the live environment, so double-check your request data before calling the API.
Read the API docs
Create a payment from your server, redirect your customer to a hosted checkout, and get notified by IPN when it's paid.
