CryptoProcessing Checkout API

Eugene Khashin
1 min readMar 28, 2021

It’s great to announce you our new simplified Checkout API.

Based on store configuration FIAT payments are available for pre-approved stores only.
  1. Create account at CryptoProcessing.io
  2. Generate API Keys
    https://cryptoprocessing.io/api_keys
  3. Whitelist your IP addresses
    https://cryptoprocessing.io/address-whitelist
  4. Enable 2FA
    https://cryptoprocessing.io/tfa
  5. Create a store
    https://cryptoprocessing.io/checkout/stores and remember Store ID (in browser address bar)
  6. Contact your manager to activate your store, provide webhook URL
  7. Generate invoice:
# REQUEST
curl -X POST \
-H "Content-Type: application/json” \
-H "Authorization: Token TOKEN" \
https://cryptoprocessing.io/api/v1/checkout/stores/store_id/invoices -d '{"amount":10,"currency":"USD","success_redirect_url":"https://google.com","error_redirect_url":"https://google.com","customer_email":"email@example.com"}'
# RESPONSE
{
"id": "8a305b7d-71e9-4930-bab2-c710b9d14575",
"store_id": "b5f1e3c4-3e20-40fa-a9b1-0c14f86be658",
"amount": "10.0",
"currency": "USD",
"status": "NEW",
"success_redirect_url": "https://google.com",
"error_redirect_url": "https://google.com",
"created_at": "2023-03-09T12:02:01.895Z",
"updated_at": "2023-03-09T12:02:01.895Z",
"customer_email": "email@example.com",
"btc_address": "34wZBnPPaUpaNhxeUKCfrbrx6BwQRVtKhR",
"usdx_transaction_id": null,
"activated":true,
"usdteth_address": "0x8c2a7e7ac113efd24e2c20b14c491b552c0d927b",
"usdceth_address": "0x853af150df4d34ad634052644bfa40352191c4f3",
"daieth_address": "0xa5e1f2998e4354b3d1ac2b808a7aafcef1c9d8ca",
"btc_confirmations_count": null,
"usdteth_confirmations_count": null,
"number": "PvisTYiUnDjo",
"usdceth_confirmations_count": null,
"daieth_confirmations_count": null,
"trx_address": "TWB8Mp93TaMR6X8Pzm25N5sEWzkQKmekXW",
"trx_confirmations_count": null,
"usdtrx_confirmations_count": null,
"rate_start_interval": "2023-03-09T12:02:02.865Z",
"remaining_amount": null,
"received_amount": null,
"url": "https://pay.cryptoprocessing.io/8a305b7d-71e9-4930-bab2-c710b9d14575"
}

8. Redirect customer to URL specified in “url” field in responce:

You will get webhook on each state of order change with full invoice object.

Testnet is available at https://testnet.cryptoprocessing.io

Feedback: https://t.me/adastreamer

--

--