Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns one order. Returns 404 if it is not on the account.
cURL
curl --request GET \ --url 'https://api.equalsmoney.com/v2/roqqett/orders/{orderId}?accountId={{accountId}}' \ --header 'Authorization: <api-key>'
import requests url = "https://api.equalsmoney.com/v2/roqqett/orders/{orderId}" headers = {"Authorization": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: '<api-key>'}}; fetch('https://api.equalsmoney.com/v2/roqqett/orders/{orderId}', 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.equalsmoney.com/v2/roqqett/orders/{orderId}", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: <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://api.equalsmoney.com/v2/roqqett/orders/{orderId}" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "<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://api.equalsmoney.com/v2/roqqett/orders/{orderId}") .header("Authorization", "<api-key>") .asString();
require 'uri' require 'net/http' url = URI("https://api.equalsmoney.com/v2/roqqett/orders/{orderId}") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = '<api-key>' response = http.request(request) puts response.read_body
{ "id": "7e2b9d4a-6c1f-4a5e-8b3d-2f9c0a1e6b78", "checkoutSessionId": "0b8e5c3a-2f1d-4c6b-8a9e-7d4f2c1b0a93", "merchantReference": "ORDER-10421", "amount": { "amount": "10000.00", "currencyCode": "GBP" }, "basket": { "items": [ { "name": "Linen shirt", "description": "Size M, blue", "quantity": 2, "unitPrice": { "amount": "10000.00", "currencyCode": "GBP" }, "imageUrl": "https://shop.example.com/images/shirt.png", "productId": "SKU-1001", "lineId": "1", "taxRate": 20, "taxAmount": { "amount": "10000.00", "currencyCode": "GBP" }, "total": { "amount": "10000.00", "currencyCode": "GBP" } } ], "subtotal": { "amount": "10000.00", "currencyCode": "GBP" } }, "shipping": { "amount": { "amount": "10000.00", "currencyCode": "GBP" }, "address": { "streetName": "Upper Thames Street", "buildingNumber": "68", "buildingName": "Vintners Place", "postcode": "EC4V 3BJ", "city": "London", "region": "Greater London", "countryCode": "GB" }, "serviceName": "Tracked 48", "serviceCode": "RM-T48", "description": "Delivered in 2 working days", "taxRate": 20, "minDeliveryDate": "2026-10-12", "maxDeliveryDate": "2026-10-14" }, "paymentId": "9c4e1a7b-3d2f-4b6a-8e5c-0f7d2a9b1c34", "createdAt": "2019-08-24T14:15:22Z" }
{ "message": "Checkout session not found.", "errors": [ { "path": "string", "message": "string", "errorCode": "string" } ] }
The ID of an order: the record of a completed shopping checkout session.
36
"7e2b9d4a-6c1f-4a5e-8b3d-2f9c0a1e6b78"
The ID of the account to work with.
"F50091"
OK
The ID of a checkout session: one payment journey.
"0b8e5c3a-2f1d-4c6b-8a9e-7d4f2c1b0a93"
The merchant's own reference for this checkout session, such as its order or basket ID. Shown to the merchant, never to the payer's bank.
1 - 128
"ORDER-10421"
A money value: a decimal amount as a string plus an ISO-4217 currency code.
Show child attributes
The ID of a Roqqett payment or refund record.
"9c4e1a7b-3d2f-4b6a-8e5c-0f7d2a9b1c34"
The date the Resource was initially created. ISO 8601 format without milliseconds.
Was this page helpful?