Get Order Status History
curl --request GET \
--url https://api.chessa.ai/v1/orders/{orderId}/status-historyimport requests
url = "https://api.chessa.ai/v1/orders/{orderId}/status-history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.chessa.ai/v1/orders/{orderId}/status-history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.chessa.ai/v1/orders/{orderId}/status-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.chessa.ai/v1/orders/{orderId}/status-history"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.chessa.ai/v1/orders/{orderId}/status-history")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chessa.ai/v1/orders/{orderId}/status-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"currentStatus": "completed",
"history": [
{
"checked": true,
"description": "Your order has been created",
"status": "created",
"timestamp": "2025-03-18T06:09:17.832Z"
},
{
"checked": true,
"description": "Your order is ready to be funded. Please send funds to the provided address",
"status": "waiting_for_funding",
"timestamp": "2025-03-18T06:09:28.996Z"
},
{
"checked": true,
"description": "Detected incoming payment",
"status": "waiting_for_confirmations",
"timestamp": "2025-03-18T06:10:12.517Z"
},
{
"checked": true,
"description": "Your payment was confirmed",
"status": "funds_received",
"timestamp": "2025-03-18T06:10:13.216Z"
},
{
"checked": true,
"description": "We are processing your payout",
"status": "processing_payout",
"timestamp": "2025-03-18T06:10:13.859Z"
},
{
"checked": true,
"description": "Order is complete, and funds have been delivered successfully",
"status": "completed",
"timestamp": "2025-03-18T06:10:20.150Z"
}
]
}{
"error": "not_found",
"message": "Order not found",
"statusCode": 404
}Orders
Get Order Status History
Get the status history for a specific order.
GET
/
v1
/
orders
/
{orderId}
/
status-history
Get Order Status History
curl --request GET \
--url https://api.chessa.ai/v1/orders/{orderId}/status-historyimport requests
url = "https://api.chessa.ai/v1/orders/{orderId}/status-history"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.chessa.ai/v1/orders/{orderId}/status-history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.chessa.ai/v1/orders/{orderId}/status-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.chessa.ai/v1/orders/{orderId}/status-history"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.chessa.ai/v1/orders/{orderId}/status-history")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chessa.ai/v1/orders/{orderId}/status-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"currentStatus": "completed",
"history": [
{
"checked": true,
"description": "Your order has been created",
"status": "created",
"timestamp": "2025-03-18T06:09:17.832Z"
},
{
"checked": true,
"description": "Your order is ready to be funded. Please send funds to the provided address",
"status": "waiting_for_funding",
"timestamp": "2025-03-18T06:09:28.996Z"
},
{
"checked": true,
"description": "Detected incoming payment",
"status": "waiting_for_confirmations",
"timestamp": "2025-03-18T06:10:12.517Z"
},
{
"checked": true,
"description": "Your payment was confirmed",
"status": "funds_received",
"timestamp": "2025-03-18T06:10:13.216Z"
},
{
"checked": true,
"description": "We are processing your payout",
"status": "processing_payout",
"timestamp": "2025-03-18T06:10:13.859Z"
},
{
"checked": true,
"description": "Order is complete, and funds have been delivered successfully",
"status": "completed",
"timestamp": "2025-03-18T06:10:20.150Z"
}
]
}{
"error": "not_found",
"message": "Order not found",
"statusCode": 404
}Response
Success Response
Example:
"completed"
Show child attributes
Show child attributes
Example:
[
{
"checked": true,
"description": "Your order has been created",
"status": "created",
"timestamp": "2025-03-18T06:09:17.832Z"
},
{
"checked": true,
"description": "Your order is ready to be funded. Please send funds to the provided address",
"status": "waiting_for_funding",
"timestamp": "2025-03-18T06:09:28.996Z"
},
{
"checked": true,
"description": "Detected incoming payment",
"status": "waiting_for_confirmations",
"timestamp": "2025-03-18T06:10:12.517Z"
},
{
"checked": true,
"description": "Your payment was confirmed",
"status": "funds_received",
"timestamp": "2025-03-18T06:10:13.216Z"
},
{
"checked": true,
"description": "We are processing your payout",
"status": "processing_payout",
"timestamp": "2025-03-18T06:10:13.859Z"
},
{
"checked": true,
"description": "Order is complete, and funds have been delivered successfully",
"status": "completed",
"timestamp": "2025-03-18T06:10:20.150Z"
}
]
Was this page helpful?