Stream Order Status
curl --request GET \
--url https://b2b.usetapp.xyz/v1/orders/{id}/streamimport requests
url = "https://b2b.usetapp.xyz/v1/orders/{id}/stream"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://b2b.usetapp.xyz/v1/orders/{id}/stream', 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://b2b.usetapp.xyz/v1/orders/{id}/stream",
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://b2b.usetapp.xyz/v1/orders/{id}/stream"
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://b2b.usetapp.xyz/v1/orders/{id}/stream")
.asString();require 'uri'
require 'net/http'
url = URI("https://b2b.usetapp.xyz/v1/orders/{id}/stream")
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_bodyAPI Reference
Stream Order Status
Subscribe to real-time order status updates via Server-Sent Events (SSE).
GET
/
v1
/
orders
/
{id}
/
stream
Stream Order Status
curl --request GET \
--url https://b2b.usetapp.xyz/v1/orders/{id}/streamimport requests
url = "https://b2b.usetapp.xyz/v1/orders/{id}/stream"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://b2b.usetapp.xyz/v1/orders/{id}/stream', 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://b2b.usetapp.xyz/v1/orders/{id}/stream",
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://b2b.usetapp.xyz/v1/orders/{id}/stream"
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://b2b.usetapp.xyz/v1/orders/{id}/stream")
.asString();require 'uri'
require 'net/http'
url = URI("https://b2b.usetapp.xyz/v1/orders/{id}/stream")
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_bodySubscribe to an open event stream to receive live, sub-second status changes of a conversion order. Useful for merchant checkout screens and PWAs to advance their UI automatically once payment lands in escrow.
Path Parameters
string
required
The unique UUID ID of the order.
Response
This endpoint streams Server-Sent Events (SSE) using thetext/event-stream MIME type. Each message contains a JSON-serialized order object under the data: prefix:
event: message
data: {"order_id":"ord_abc123","status":"deposited"}
event: message
data: {"order_id":"ord_abc123","status":"settled"}