Get a refund request
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"amount_minor": 2500,
"app_id": "<string>",
"bank_credit_status": "not_confirmed",
"child_order_id": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"currency": "AED",
"environment": "sandbox",
"executed_by": "<string>",
"execution_status": "<string>",
"id": "rrq_123",
"items": [
{
"qty": 1,
"variant_id": "var_123"
}
],
"purchase_id": "<string>",
"reason": "<string>",
"refund_id": "<string>",
"request_status": "<string>",
"reviewed_by": "<string>",
"revision": 1,
"status": "submitted",
"tenant_id": "<string>",
"updated_at": "<string>"
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Get a refund request
Return one refund request with its review status, execution status and revision. Requires a server API key with orders:read; requests of other apps or environments return 404.
Raw HTTP template
Replace path, credential and schema placeholders using valid resources. The planned host requires activation; use your assigned API URL meanwhile. Preserve a write’s original idempotency key when its contract supports retry. If sending raw HTTP/1.1, use CRLF for request and header lines.
GET /v1/refund-requests/{request_id} HTTP/1.1
Host: sandbox.ignite-checkout.ai
Authorization: Bearer <MachineKey-credential>
HTTP/2 header equivalent
Logical headers over negotiated HTTPS HTTP/2, not a wire-format message. The endpoint, JSON and idempotency rules are unchanged. See HTTP and transport.
:method: GET
:scheme: https
:authority: sandbox.ignite-checkout.ai
:path: /v1/refund-requests/{request_id}
authorization: Bearer <MachineKey-credential>
GET
/
v1
/
refund-requests
/
{request_id}
Get a refund request
curl --request GET \
--url https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.ignite-checkout.ai/v1/refund-requests/{request_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"amount_minor": 2500,
"app_id": "<string>",
"bank_credit_status": "not_confirmed",
"child_order_id": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"currency": "AED",
"environment": "sandbox",
"executed_by": "<string>",
"execution_status": "<string>",
"id": "rrq_123",
"items": [
{
"qty": 1,
"variant_id": "var_123"
}
],
"purchase_id": "<string>",
"reason": "<string>",
"refund_id": "<string>",
"request_status": "<string>",
"reviewed_by": "<string>",
"revision": 1,
"status": "submitted",
"tenant_id": "<string>",
"updated_at": "<string>"
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
],
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"details": "<unknown>",
"message": "<string>",
"request_id": "<string>"
}
}Response
Successful Response