Return a race entry and its payment status.
curl --request GET \
--url https://api.example.com/v1/competitions/{slug}/races/{race_id}/submissions/{submission_id}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/competitions/{slug}/races/{race_id}/submissions/{submission_id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/competitions/{slug}/races/{race_id}/submissions/{submission_id}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Submissions
Get Race Submission Status
Return a caller-owned race entry and its payment intent.
GET
/
v1
/
competitions
/
{slug}
/
races
/
{race_id}
/
submissions
/
{submission_id}
/
status
Return a race entry and its payment status.
curl --request GET \
--url https://api.example.com/v1/competitions/{slug}/races/{race_id}/submissions/{submission_id}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/competitions/{slug}/races/{race_id}/submissions/{submission_id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/competitions/{slug}/races/{race_id}/submissions/{submission_id}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Poll this route after creating an entry or sending its payment.
Was this page helpful?
