Poll the status of any v3 async operation
curl --request GET \
--url https://api.spenza.com/api/v3/transactions/{transactionId}import requests
url = "https://api.spenza.com/api/v3/transactions/{transactionId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.spenza.com/api/v3/transactions/{transactionId}', 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.spenza.com/api/v3/transactions/{transactionId}",
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.spenza.com/api/v3/transactions/{transactionId}"
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.spenza.com/api/v3/transactions/{transactionId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spenza.com/api/v3/transactions/{transactionId}")
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{
"success": true,
"data": {
"transactionId": "64f1a2b3c4d5e6f7a8b9c0d1",
"status": "COMPLETED",
"message": "Transaction completed successfully",
"timestamp": "2026-07-10T10:32:00.500Z",
"result": {
"mdn": "+12792044584",
"iccid": "89012345678901234567",
"qrCode": "https://…/qrcode.png"
},
"createdAt": "2026-07-10T10:30:00.000Z",
"updatedAt": "2026-07-10T10:32:00.000Z",
"processingStartedAt": "2026-07-10T10:30:01.000Z",
"processingCompletedAt": "2026-07-10T10:32:00.000Z",
"scheduledDate": null
}
}Async Status
Poll the status of any v3 async operation
Universal status poll for any async endpoint that returns a
transactionId — plan purchase, eSIM provisioning, top-up, port-in,
subscription changes. No authentication required — the
transactionId itself is the bearer, matching every other endpoint
that hands one out.
A FAILED transaction is still a 200 — check data.status, not the
HTTP status. data.errorCode is one of the standard ApiErrorCode
values when the failure is classifiable; data.error is a short,
partner-safe message.
data.timestamp is generated fresh on every request (it is when the
response was built, not when the transaction record last changed) —
don’t confuse it with data.createdAt / data.updatedAt.
GET
/
api
/
v3
/
transactions
/
{transactionId}
Poll the status of any v3 async operation
curl --request GET \
--url https://api.spenza.com/api/v3/transactions/{transactionId}import requests
url = "https://api.spenza.com/api/v3/transactions/{transactionId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.spenza.com/api/v3/transactions/{transactionId}', 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.spenza.com/api/v3/transactions/{transactionId}",
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.spenza.com/api/v3/transactions/{transactionId}"
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.spenza.com/api/v3/transactions/{transactionId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spenza.com/api/v3/transactions/{transactionId}")
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{
"success": true,
"data": {
"transactionId": "64f1a2b3c4d5e6f7a8b9c0d1",
"status": "COMPLETED",
"message": "Transaction completed successfully",
"timestamp": "2026-07-10T10:32:00.500Z",
"result": {
"mdn": "+12792044584",
"iccid": "89012345678901234567",
"qrCode": "https://…/qrcode.png"
},
"createdAt": "2026-07-10T10:30:00.000Z",
"updatedAt": "2026-07-10T10:32:00.000Z",
"processingStartedAt": "2026-07-10T10:30:01.000Z",
"processingCompletedAt": "2026-07-10T10:32:00.000Z",
"scheduledDate": null
}
}Path Parameters
Example:
"64f1a2b3c4d5e6f7a8b9c0d1"
Response
The transaction's current status.

