Eugene Khashin

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":"537bfa51-e0f6-4435-8dcf-ecedad1a0d5f", # invoice_id
"store_id":":store_id",
"amount":"10.0",
"currency":"USD",
"status":"NEW",
"success_redirect_url":"https://google.com",
"error_redirect_url":"https://google.com",
"created_at":"2021-03-28T12:03:52.651Z",
"updated_at":"2021-03-28T12:03:52.651Z",
"customer_email":"email@example.com",
"btc_address":"3BLBCfJeUGxe8yKEN35Z5KDUDxyrtwJKCw",
"btc_amount":"0.00017918813440066",
"btc_rate":"0.000017918813440066",
"usd_amount":"10.0",
"usd_rate":"1.0"
}

8. Redirect customer to URL:

https://cryptoprocessing.io/checkout/invoices/invoice_id

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

--

--