curl --request GET \
--url https://api.sandbox.usenash.com/v1/refund-requests
[
{
"id": "rfrq_01234567890123456789",
"createdAt": "2023-08-29T19:17:46.264523",
"jobId": "job_01234567890123456789",
"taskId": "tsk_01234567890123456789",
"organizationId": "org_01234567890123456789",
"incidentSubtype": "<string>",
"incidentNotes": "<string>",
"status": "approved",
"refundAmountCents": 11500,
"refundAmountDeliveryFeeCents": 1000,
"refundAmountOrderValueCents": 10000,
"refundAmountTipCents": 500,
"currency": "USD",
"response": "<string>",
"proofOfRefund": "<string>"
}
]
Retrieve a list of refund requests by task ID or job ID.
curl --request GET \
--url https://api.sandbox.usenash.com/v1/refund-requests
[
{
"id": "rfrq_01234567890123456789",
"createdAt": "2023-08-29T19:17:46.264523",
"jobId": "job_01234567890123456789",
"taskId": "tsk_01234567890123456789",
"organizationId": "org_01234567890123456789",
"incidentSubtype": "<string>",
"incidentNotes": "<string>",
"status": "approved",
"refundAmountCents": 11500,
"refundAmountDeliveryFeeCents": 1000,
"refundAmountOrderValueCents": 10000,
"refundAmountTipCents": 500,
"currency": "USD",
"response": "<string>",
"proofOfRefund": "<string>"
}
]
The task ID to filter by.
The job ID to filter by.
OK
Expected output for listing refund requests.