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.
Path parameters
idtransaction_idResponse
Returns 200 OK. The collection
dataidtransaction_idtransaction_id, the value webhooks carry. Left out in the rare case Gravv has not finished recording the collection.transaction_statusStatus of the collection. pending also covers expired, cancelled and voided collections; read onramp_status for the step.
Possible values: pending, completed, failed, refunded, refund_pending, disputed
onramp_statusThe step the collection is at. Until 2026-10-31T23:59:59Z this has the old label, such as provider_success. After that date it has the new label, such as payment_succeeded. Read new_onramp_status to get the new label today.
Possible values: created, initialized, initialize, pending, awaiting_capture, provider_initiated, provider_success, provider_failed, provider_voided, transfer_queued, transfer_initialized, transfer_success, transfer_failed, transfer_completed, abandoned, expired, cancelled, refund_initiated, refunded, refund_failed, chargeback_opened, chargeback_won, chargeback_lost, suspected_fraud, pending_review
new_onramp_statusThe step the collection is at, with the new label. Sent until 2026-10-31T23:59:59Z, when onramp_status takes the same values.
Possible values: created, initialized, initialize, pending, awaiting_capture, payment_initiated, payment_succeeded, payment_failed, payment_voided, settlement_queued, settlement_initiated, settlement_succeeded, settlement_failed, settlement_completed, abandoned, expired, cancelled, refund_initiated, refunded, refund_failed, chargeback_opened, chargeback_won, chargeback_lost, suspected_fraud, pending_review
status_transition_deadlineonramp_status switches to the new labels. Sent until then.amountassetnetworkcustomer_idclient_referencefee_centstotal_amount_centscountryNigeriacurrencyUnited States Dollarpayment_methodCredit/Debit Cardpayment_statustransaction_sourcecard, bank_transfer, mobile_money, wire_transfer, pix, digital_walletinstructiondestination_wallet_addressweb3_tx_hasherror_codeABANDONED or a decline code like INSUFFICIENT_FUNDS.error_messageerror_codecard_brandcard_last4approval_stateapproved, pending, declinedavs_response_codeavs_response_descriptioncvv_response_codecvv_response_descriptionthree_ds_statusdecline_codedecline_reasondecline_hintcreated_atstatus_updated_atcompleted_atfailed_ateventsevent_typetitledateerrorErrors
| Status | Meaning |
|---|---|
| 200 | The collection |
| 400 | The request failed. An unknown ID returns transaction not found: resource not found. |