List Agent Checkouts
curl --request GET \
--url https://staging.crossmint.com/api/unstable/agent-checkouts \
--header 'X-API-KEY: <x-api-key>'import requests
url = "https://staging.crossmint.com/api/unstable/agent-checkouts"
headers = {"X-API-KEY": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<x-api-key>'}};
fetch('https://staging.crossmint.com/api/unstable/agent-checkouts', 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://staging.crossmint.com/api/unstable/agent-checkouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <x-api-key>"
],
]);
$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://staging.crossmint.com/api/unstable/agent-checkouts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://staging.crossmint.com/api/unstable/agent-checkouts")
.header("X-API-KEY", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.crossmint.com/api/unstable/agent-checkouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"browser": {
"embedUrl": "<string>",
"permissions": [
"read"
]
},
"createdAt": "<string>",
"input": {
"constraints": {
"maxCost": {
"amount": "<string>",
"currency": "<string>"
}
},
"request": {
"startUrl": "<string>",
"task": "<string>"
},
"browserProfileId": "<string>",
"buyerProfileId": "<string>",
"merchantGuidance": "<string>"
},
"knownSpentUsdMicros": 4503599627370495,
"reason": "accounting_unavailable",
"requiredAction": "<unknown>",
"revision": 4503599627370495,
"runId": "<string>",
"status": "failed"
}
],
"nextCursor": "<string>"
}Agent Checkouts
List Agent Checkouts
GET
/
unstable
/
agent-checkouts
List Agent Checkouts
curl --request GET \
--url https://staging.crossmint.com/api/unstable/agent-checkouts \
--header 'X-API-KEY: <x-api-key>'import requests
url = "https://staging.crossmint.com/api/unstable/agent-checkouts"
headers = {"X-API-KEY": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<x-api-key>'}};
fetch('https://staging.crossmint.com/api/unstable/agent-checkouts', 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://staging.crossmint.com/api/unstable/agent-checkouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <x-api-key>"
],
]);
$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://staging.crossmint.com/api/unstable/agent-checkouts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://staging.crossmint.com/api/unstable/agent-checkouts")
.header("X-API-KEY", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging.crossmint.com/api/unstable/agent-checkouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"browser": {
"embedUrl": "<string>",
"permissions": [
"read"
]
},
"createdAt": "<string>",
"input": {
"constraints": {
"maxCost": {
"amount": "<string>",
"currency": "<string>"
}
},
"request": {
"startUrl": "<string>",
"task": "<string>"
},
"browserProfileId": "<string>",
"buyerProfileId": "<string>",
"merchantGuidance": "<string>"
},
"knownSpentUsdMicros": 4503599627370495,
"reason": "accounting_unavailable",
"requiredAction": "<unknown>",
"revision": 4503599627370495,
"runId": "<string>",
"status": "failed"
}
],
"nextCursor": "<string>"
}Headers
Server-side subject to act on behalf of. Ignored for client-side user auth.
Bearer token for client-side user auth.
Crossmint project API key.
Was this page helpful?

