v1
latestOpenAPI 3.1.02026-07-2296226496.3 KBJob
Get Refund Requests by Task ID or Job ID
Retrieve all refund requests associated with a task or job. At least one of task_id or job_id must be provided.
get/v1/refund-requests
Query parameters
taskIdstring nullable
The task ID to filter by.
The task ID to filter by.
jobIdstring nullable
The job ID to filter by.
The job ID to filter by.
Response
OK
Example response
[
{
"id": "rfrq_01234567890123456789",
"createdAt": "2023-08-29T19:17:46.264523",
"resolutionDate": "2023-08-30T14:30:00.000000",
"jobId": "job_01234567890123456789",
"taskId": "tsk_01234567890123456789",
"organizationId": "org_01234567890123456789",
"refundAmountCents": 11500,
"refundAmountDeliveryFeeCents": 1000,
"refundAmountOrderValueCents": 10000,
"refundAmountTipCents": 500,
"currency": "USD",
"requestAmountCents": 11500,
"requestAmountDeliveryFeeCents": 1000,
"requestAmountOrderValueCents": 10000,
"requestAmountTipCents": 500
}
]