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
/
api
/
checkout
/
v2
/
payment_session
Headers
Get an Api Key from Sprintcheckout Dashboard > Get paid
Body
application/json
Amount of the purchase
Three letter FIAT currency code
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.
Minimum amount of the payment
Is the payment input editable in UI?
Unique reference of the order on your ecommerce platform
URL where the user will be redirected from the hosted payment page on a successful payment
URL where the user will be redirected from the hosted payment page on a canceled payment