curl --request GET \
--url https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId} \
--header 'api_key: <api-key>'import requests
url = "https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}"
headers = {"api_key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {api_key: '<api-key>'}};
fetch('https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}', 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://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_key: <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://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<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://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
response = http.request(request)
puts response.read_body"Completed"{
"reason": "Bad request from operation service."
}{
"reason": "Missing or invalid API key"
}{
"reason": "User not found for path userToken."
}{
"reason": "An unhandled error has occurred"
}Get operation status
Retrieves a recent partial snapshot of processing or delivery status for a transaction.
The initial status is Sent. While the operation is still in progress, before it settles as Completed or Failed, the status may move through intermediate values that belong to the enumeration below (for example Funding, Funded, OnHold, or InTransit).
Possible statuses: Sent, Funding, Funded, Completed, Failed, OnHold, InTransit, Cancelled.
curl --request GET \
--url https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId} \
--header 'api_key: <api-key>'import requests
url = "https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}"
headers = {"api_key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {api_key: '<api-key>'}};
fetch('https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}', 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://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_key: <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://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<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://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://raas-partner-cv.nomas.cash/v1/user/operations/status/{userToken}/{operationId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
response = http.request(request)
puts response.read_body"Completed"{
"reason": "Bad request from operation service."
}{
"reason": "Missing or invalid API key"
}{
"reason": "User not found for path userToken."
}{
"reason": "An unhandled error has occurred"
}Authorizations
Path Parameters
User involved in the transaction.
Correlation ID.
Response
200 — OK. Status string for the operation.
The initial status is Sent. While the operation is still in progress, before it settles as Completed or Failed, the status may move through intermediate values that belong to the enumeration below (for example Funding, Funded, OnHold, or InTransit).
Possible statuses: Sent, Funding, Funded, Completed, Failed, OnHold, InTransit, Cancelled.
Scenarios for this response:
| Scenario | How to reproduce | Typical code / body |
|---|---|---|
| Status read | Resolved userToken + valid operationId. | Plain string, one of the statuses above |
See also Full scenario matrix.
The response is of type string.