This documentation pertains to version v1 of the API.
This API is intended for developers. You can enhance your store by utilizing this API!
To use this API, you need to navigate to your user panel and in the settings section, copy your account's API key. You can then utilize it to access your account via the API.
User panel >> Settings >> API Key
Get all the information your Shop
GET /api/v1/Shop/main
Parameters:
No parameters needed.
/api/v1/Shop/main
curl -X GET https://satoshitext.com/api/v1/Shop/main -H "Authorization: $API_KEY"
{
"message": "",
"error": 0,
"data": {
"shop": {
"Title": "Welcome to my store.",
"Subtitle": "We are glad to see you here!",
"ratings": 0,
"seo": {
"Title": "SatoshiText Store",
"Description": "Best store on SatoshiText.com",
"Keywords": "Shop,Store,digital goods"
}
}
}
}
Retrieves all products.
GET /api/v1/Products/info
Parameters:
No parameters needed.
/api/v1/Products/info
curl -X GET https://satoshitext.com/api/v1/Products/info -H "Authorization: $API_KEY"
{
"message": "",
"error": 0,
"data": [
{
"id": "bee50b58",
"title": "Products",
"description": "Products",
"price": "1.30",
"btc_price": "0.00004889",
"rating": 0
},
{
"id": "44ee4caf",
"title": "test",
"description": "test",
"price": "1.60",
"btc_price": "0.00006017",
"rating": 0
},
{
"id": "6f5686d4",
"title": "Products BTC",
"description": "Products BTC",
"price": "1.10",
"btc_price": "0.00004137",
"rating": 0
},
{
"id": "a2c4b464",
"title": "Products BTC",
"description": "Products BTC",
"price": "98.26",
"btc_price": "0.00369500",
"rating": 0
},
{
"id": "7f2c08f8",
"title": "test",
"description": "test",
"price": "23.00",
"btc_price": "0.00086492",
"rating": 0
}
]
}
Get Specific Product.
GET /api/v1/Products/SpecificProduct?id=[Product-ID]
Parameters:
Parameter | Description |
---|---|
id | ID of the Product |
/api/v1/Products/SpecificProduct?id=[Product-ID]
curl -X GET https://satoshitext.com/api/v1/Products/SpecificProduct?id=[Product-ID] -H "Authorization: $API_KEY"
{
"message": "",
"error": 0,
"data": {
"id": "bee50b58",
"title": "Products",
"description": "Products",
"price": "1.30",
"btc_price": "0.00004889",
"rating": 0
}
}
Retrieves all Orders.
GET /api/v1/Orders/list?page=[Page Number]
Parameters:
Parameter | Description |
---|---|
Page | Page Number (integer) |
/api/v1/Orders/list?page=[Page Number]
curl -X GET https://satoshitext.com/api/v1/Orders/list?page=[Page Number] -H "Authorization: $API_KEY"
{
"message": "",
"error": 0,
"data": [
{
"id": "54c70d0f83fxxxxxxxx14ae02cb64",
"Product_id": "7f2c08f8",
"title": "test",
"Email": "[email protected]",
"Gateways": "Bitcoin",
"Receive_Satoshi": "0.00000000",
"status": "Expired"
},
{
"id": "721f091ee81axxxxxxxxxx84e864e3",
"Product_id": "7f2c08f8",
"title": "test",
"Email": "[email protected]",
"Gateways": "Bitcoin",
"Receive_Satoshi": "0.00000000",
"status": "Expired"
},
{
"id": "cade83a42c538xxxxxx2d17e6944841",
"Product_id": "7f2c08f8",
"title": "test",
"Email": "[email protected]",
"Gateways": "Bitcoin",
"Receive_Satoshi": "4.00000000",
"status": "Paid"
}
],
"pages": 0
}
Get Specific Order.
GET /api/v1/Orders/GetSpecificOrder?id=[Order-ID]
Parameters:
Parameter | Description |
---|---|
id | ID of the Order |
/api/v1/Orders/GetSpecificOrder?id=[Order-ID]
curl -X GET https://satoshitext.com/api/v1/Orders/GetSpecificOrder?id=[Order-ID] -H "Authorization: $API_KEY"
{
"message": "",
"error": 0,
"data": {
"id": "54c70d0f83f6xxxcd185c14ae02cb64",
"Product_id": "7f2c08f8",
"title": "test",
"Email": "[email protected]",
"Satoshi": "0.00103088",
"wallet": "bc1qadxxecz67z9xxx2qdu78nwz6x229g93nm5",
"Coupon": "e02cb",
"Quantity": 1,
"Delivered_Goods": "xxxxxxxxxx",
"Gateways": "Bitcoin",
"Receive_Satoshi": "5.00000000",
"txid": "cf5f53210df1e1xxxxxxxx9695a0de74eb47a9b834760715db95369bf7d3807e",
"status": "Paid"
}
}
Retrieves all Feedbacks.
GET /api/v1/Feedback/list?page=[Page Number]
Parameters:
Parameter | Description |
---|---|
Page | Page Number (integer) |
/api/v1/Feedback/list?page=[Page Number]
curl -X GET https://satoshitext.com/api/v1/Feedback/list?page=[Page Number] -H "Authorization: $API_KEY"
{
"message": "",
"error": 0,
"data": [
{
"Comment": "good",
"Star": 5,
"Replay": "",
"Rating": "Positive",
"date": "11 Aug ,2023"
}
],
"pages": 0
}
Create a Payment for Your Products and Provide Customers with Payment Information.
POST /api/v1/Payment/create
Parameters:
Parameter | Description |
---|---|
id | your product ID |
Customer email ([email protected]) | |
coin | Select cryptocurrency for order payment [BTC | DOGE | LTC ] |
/api/v1/Payment/create
curl -X POST https://satoshitext.com/api/v1/Payment/create -H "Authorization: $API_KEY" -d "[email protected]&coin=BTC"
{
"message": "",
"error": 0,
"data": {
"Order_ID": "1320dc30462685b1800818cc52a8f326",
"Wallet_Address": "bc1qyy69vg5y0rl8g347puu72jdtdfw2sqnsdwk0zk",
"Amount": "0.03397844",
"Gateway": "Bitcoin",
"Payment_link": "https://satoshitext.com/payment/d9xx3d3b4bdbc",
"Expire_date": "30:00"
}
}
Check status payment using order ID.
GET /api/v1/Payment/check
Parameters:
Parameter | Description |
---|---|
Order_ID | Enter your order ID |
/api/v1/Payment/check
curl -X GET https://satoshitext.com/api/v1/Payment/check?Order_ID=[Enter order ID] -H "Authorization: $API_KEY"
{
"message": "",
"error": 0,
"data": {
"Order_ID": "79d6af88c468c831eb1e7a7b4c54d",
"Product_id": "a2c4b464",
"Email": "[email protected]",
"Satoshi": "0.00369500",
"wallet": "bc1qqxztnx8s5y34ht47jd3ve98pu0jddl5n",
"Gateways": "Bitcoin",
"Receive_Satoshi": "0.00000000",
"txid": "",
"status": "Paying",
"Expire_date": "29:23"
}
}