API integration
Create payment session
To get paid in cryptocurrency, you need to create a payment session object with the details of the purchase.
POST
Headers
Get an Api Key from Sprintcheckout Dashboard > Get paid
Body
application/json
Amount of the purchase
Three letter FIAT currency code
URL where the user will be redirected from the hosted payment page on a canceled payment
Is the payment input editable in UI?
Minimum amount of the payment
Unique reference of the order on your ecommerce platform
An order can be STATIC or TRANSIENT (default behavior). A static order will not expire. A typical example could be a donation scenario. A transient order will not be reusable once is paid.
URL where the user will be redirected from the hosted payment page on a successful payment