Job
Get Refund Requests by Task ID or Job ID
Changed onRetrieve 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
Request
- Base URLhttps://api.sandbox.usenash.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
taskIdstring nullable
The task ID to filter by.
jobIdstring nullable
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
}
]Changes
- breaking
response property
items/refundAmountOrderValueCentslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/refundAmountTipCentslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/responselist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking