Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Collections Get a collection

Get a collection

Returns the status and details of a collection. Pass its `transaction_id`, from the create call, the charge call or a webhook. The `id` in this response is an internal record ID. Do not pass it.

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

Path parameters

NameDescription
id:stringRequired
The collection's transaction_id

Response

Returns 200 OK. The collection

NameDescription
data:object
Show 39 child attributesobject
error:null

Errors

StatusMeaning
200The collection
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' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"id": "5b0d7c1e-2f7e-4c55-9a51-0d4c1a6c2e11",
"transaction_id": "07b655cc-3dbd-4f6c-a16c-4657946d2e08",
"transaction_status": "completed",
"onramp_status": "transfer_completed",
"new_onramp_status": "settlement_completed",
"status_transition_deadline": "2026-10-31T23:59:59Z",
"amount": "50.00",
"asset": "USDC",
"network": "polygon",
"customer_id": "04dfb2e5-1274-4214-b5fd-3415fde7dc17",
"client_reference": "order-1001",
"fee_cents": 0,
"total_amount_cents": 5000,
"country": "Nigeria",
"currency": "United States Dollar",
"payment_method": "Credit/Debit Card",
"transaction_source": "card",
"destination_wallet_address": "0x445906a6766927c5da8b2fca0e0db5d7b5565ef8",
"web3_tx_hash": "0x56713ddd7478bbe69925a4aa477d9cb74b56c4c041a304ca3160b2289b6e3a44",
"card_brand": "VISA",
"card_last4": "1111",
"approval_state": "approved",
"three_ds_status": "not_required",
"created_at": "2026-10-12T09:14:03Z",
"status_updated_at": "2026-10-12T09:21:40Z",
"completed_at": "2026-10-12T09:21:40Z",
"events": [
{
"event_type": "payment_initiated",
"title": "Payment initiated",
"date": "2026-10-12T09:14:03Z"
}
]
},
"error": null
}