Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Collections List refunds

List refunds

Lists the refunds on a card collection, with each refund's status. Use it to check a `pending` refund or to find the `refund_id` of a failed one.

GEThttps://api.gravv.xyz/v1/collections/{id}/refundsTry it
Api-Key

Path parameters

NameDescription
id:stringRequired
The collection's transaction_id

Response

Returns 200 OK. The collection's refunds

NameDescription
data:object
Show 1 child attributesobject
error:null

Errors

StatusMeaning
200The collection's refunds
400The request failed. An unknown ID returns transaction not found: resource not found.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/collections/07b655cc-3dbd-4f6c-a16c-4657946d2e08/refunds' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"items": [
{
"refund_id": "8c1e4b2a-7f3d-4a6e-b9c0-2d5f8e1a7b34",
"payment_id": "5d2c8e14-9a3b-4f6e-8c7d-1b0a2e3f4c56",
"amount_cents": 2500,
"currency": "USD",
"status": "succeeded",
"created_at": "2026-11-20T10:15:00Z",
"updated_at": "2026-11-20T10:16:30Z"
}
]
},
"error": null
}