Sprintcheckout
Search…
⌃K

Hosted Payment Page Integration

Accept crypto payments on your ecommerce or application via Sprintcheckout Hosted Payments page API.
  1. 1.
    Register your merchant
  2. 2.
    Create payment sessions
  3. 3.
    Check the status of the payment session
Note: every endpoint is secured with authentication. More info Authentication

Basic info

Base Url
https://api.sprintcheckout.com
Authentication
Required (more info Authentication)

1. Payment settings endpoint

Creates payment settings for a merchant

post
/checkout/v2/payment_settings
Create your merchant configuration with your public address and the tokens you want to accept

Update payment settings

put
/checkout/v2/payment_settings
Update your merchant configuration with your public address and the tokens you want to accept

2. Payment session endpoint

post
/checkout/v2/payment_session
When a customer purchases something from you, you can create a hosted payment page session providing us with the details of the purchase

Checkout page example

On the example below, you can see how Gripmonkeys checkout page displays a dropdown with the accepted tokens and the amounts of the order on each token.
Dropdown showing the token rates on Gripmonkeys checkout page

3. Payment session status

3.1 Endpoint polling

get
/checkout/v2/payment_session/payment_status/{orderId}
When a user is redirected to the hosted payment page, get the status of the payment by polling this endpoint

3.2 Webhook call

Sprintcheckout server will make api call to end point specified at the payment setting once a transaction is validated/failed. Request will be terminated if not closed between 30 seconds.
Note: this feature is due soon.