Skip to content

Update DSP Refund

PATCH {{base_url}}/v3/refunds/{{refund_id}}

Required scope: refunds:write

Updates a DSP refund’s internal status. Requires DspRefundEdit permission.

{
"internal_status": "resolved"
}
Terminal window
curl --request PATCH '${base_url}/v3/refunds/${refund_id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{auth_token}}' \
--data '{
"internal_status": "resolved"
}'
{
"success": true,
"data": {
"id": "refund_12345",
"amount": 15.5,
"contact_email": "customer@example.com",
"description": "Food was cold and delivery was late",
"external_dsps_id": "dsp_delivery_12345",
"external_dsps_name": "DoorDash",
"issue_type": "food_quality",
"merchant_name": "Joe's Pizza",
"internal_status": "resolved",
"status": "pending",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T11:45:00Z"
}
}