Order Verification API
The Order Verification API allows you to verify orders securely. Below are the details for using this API effectively:
API Endpoint:
POST https://evocreator.com/api/v1/orders/get
Payload Structure:
This API requires two fields in the payload:
{
"user": "user_2pF6CiOETL9cPy7Fb5Q7A0Yek9z",
"key": "6741c58edd30ef2d02acab70"
}
user
:The unique user ID associated with the account.
You can copy the User ID from the API Key section in the Evo Creator Dashboard.

key
:
The order-specific key sent to the buyer's email after a successful order.
Example: If you create a product on Evo Creator and someone purchases it, this key is emailed to the buyer.
Authorization Header:
The request must include Bearer Token Authentication to ensure security.
Example Header:
Authorization: Bearer 2cbf477dee377b7f7c22ded4ef1dbccf5f8972013fc943afae11bd50b8e274a1
You can generate your API Key from the Evo Creator API Key Dashboard.

Example API Requests:
1. JavaScript (Fetch):
const url = "https://evocreator.com/api/v1/get-order";
const payload = {
user: "user_2pF6CiOETL9cPy7Fb5Q7A0Yek9z",
key: "6741c58edd30ef2d02acab70"
};
fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer 2cbf477dee377b7f7c22ded4ef1dbccf5f8972013fc943afae11bd50b8e274a1"
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
2. JavaScript (Axios):
const axios = require("axios");
const url = "https://evocreator.com/api/v1/get-order";
const payload = {
user: "user_2pF6CiOETL9cPy7Fb5Q7A0Yek9z",
key: "6741c58edd30ef2d02acab70"
};
axios.post(url, payload, {
headers: {
Authorization: "Bearer 2cbf477dee377b7f7c22ded4ef1dbccf5f8972013fc943afae11bd50b8e274a1"
}
})
.then(response => console.log(response.data))
.catch(error => console.error("Error:", error));
3. Python (Requests):
import requests
url = "https://evocreator.com/api/v1/get-order"
payload = {
"user": "user_2pF6CiOETL9cPy7Fb5Q7A0Yek9z",
"key": "6741c58edd30ef2d02acab70"
}
headers = {
"Authorization": "Bearer 2cbf477dee377b7f7c22ded4ef1dbccf5f8972013fc943afae11bd50b8e274a1",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
4. cURL:
curl -X POST https://evocreator.com/api/v1/get-order \
-H "Authorization: Bearer 2cbf477dee377b7f7c22ded4ef1dbccf5f8972013fc943afae11bd50b8e274a1" \
-H "Content-Type: application/json" \
-d '{
"user": "user_2pF6CiOETL9cPy7Fb5Q7A0Yek9z",
"key": "6741c58edd30ef2d02acab70"
}'
Example Response:
If the order is successfully found, you will receive the following response:
{
"message": "Order found successfully",
"description": "",
"order": {
"customer": {
"name": "Md Faizan", // Customer's name
"email": "rizwan775505@gmail.com", // Customer's email address
"phone": "+91 1234567890", // Customer's phone number
"pincode": "272161" // Customer's postal code
},
"page": {
"analyticsCode": {
"google": "", // Google Analytics ID (if provided)
"pixel": "" // Facebook/Meta Pixel ID (if provided)
},
"title": "New Product", // Title of the product page
"description": "This is a new product" // Description of the product page
},
"_id": "6741c58edd30ef2d02acab70", // Unique Order ID
"owner": "67418da4e2cb3854a9785eda", // User ID of the creator of product in our database
"sourcePageId": "6741c048dd30ef2d02acab0b", // Unique Page ID where the order was created
"price": 5, // Price of the product in the specified currency
"status": "paid", // Current order status - Possible values: "paid", "cancelled", "created"
"countryCode": "in", // Country code of the customer
"createdAt": "2024-11-23T12:07:42.238Z", // Order creation timestamp
"updatedAt": "2024-11-23T12:07:42.348Z", // Last update timestamp of the order
"__v": 0 // Internal versioning for database document
}
}
Key Highlights:
User ID: Retrieved from Evo Creator's API Key Dashboard.
Key: Sent to buyers via email upon successful order.
Authorization: Secure requests with the Bearer Token.
Use this API to streamline and authenticate your order verification process securely! 🚀
Last updated