%message

API Integration

The Coinify REST API enables automatic blockchain payments in your own store. We also have SDKs for popular languages as well as plugins for popular e-commerce solutions.

Depending on whether you want to show a hosted Coinify payment window or prefer to present the payment information yourself on your own site, the typical Coinify blockchain payment process works like this:

Payment process (Coinify hosted payment window)

  1. You send a request to our API invoice create endpoint with the following data:
    1. The payment amount
    2. The currency of the payment amount (USD, EUR, etc.)
    3. Callback URL (optional)
    4. Success URL (optional)
  2. We return an invoice object with the payment window URL to you (to which you can redirect the customer or use to show in an iframe on your own site)
  3. The Coinify payment window will show an amount in Bitcoin for the customer to pay
  4. The customer pays
  5. We send a callback to you confirming the payment
  6. The customer is redirected to your confirmation page

Payment process (self-hosted payment window)

  1. You send the payment amount in your currency of choice using our API invoice create endpoint
  2. We return an invoice object containing a Bitcoin address, Bitcoin amount and a payment deadline time to you
  3. You display the Bitcoin address, Bitcoin amount and the payment deadline to your customer on your site. It is recommended to display the payment URI as a QR code as well
  4. The customer pays
  5. We send a callback to you confirming the payment
  6. Your website confirms receipt of the payment to the customer

See API documentation

Account Help Account Help