Comment on page
🧐
What You Need To Know
Before we dive headfirst into our endpoints, here are all the things you'll need to make a successful request.
https://api.pay.so/api/v1
When making a request to our API, each path must be prefixed with the base URL specified above.
Example: to reach our
/products
endpoint to fetch all of your products, you will want to send a GET
request to: https://api.pay.so/api/v1/products
To access our API you will be using HTTP requests. On each request, you will need to pass 3 headers.
Authorization
: The authorization header should be a string specified as"Bearer YOUR_API_TOKEN"
.X-ADDRESS
: The wallet address to authenticate your account (case sensitive - please enter your wallet address exactly as it is shown within Pay.so!).Content-Type
: should be specified asapplication/json.
Postman
Curl
{
"Authorization": "Bearer YOUR_API_TOKEN",
"X-ADDRESS": "0x.....",
"Content-Type": "application/json"
},
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-ADDRESS: YOUR_WALLET_ADDRESS" \
-H "Content-type: application/json" \
And with that, you are ready to get started! Remember if you ever need a hand you can reach out to us at [email protected] or use the live chat button in the bottom right of the Cheq app.
Last modified 1yr ago