Overview

API Integration

API Integration allows you to set up Crypto payment acceptance on your site without having to handle the blockchain yourself.

The process of creating and processing a payment is presented in the diagram below.

Creating a payment can be divided into the following steps:

  • The user on your site clicks the payment button;

  • Your site requests StreamPayments API of payment link;

  • StreamPayments API returns PaymentPageObject which contains PaymentID, PaymentLink, and the rest data (read more about PaymentPageObject);

  • Your site redirects users to PaymentLink;

  • The user transfers Crypto;

  • StreamPayments API sends a callback to your site as soon as tokens are received.

Last updated