Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
API Reference Collections overview

Collections overview

Create collections and manage card collection methods.

2 min read

Use the Collections API to start collections, retrieve collection details, create or manage card payment intents, and refund card payments.

How it works

A collection accepts money from your customer into Gravv. There are two kinds of collection method, card (card, apple_pay, google_pay) and bank transfer (bank_transfer). Gravv does not support mobile money or pix. See Collection methods for the countries.

1.
Call POST /v1/collections with the collection method.
◦
Card. The response includes a payment link. The customer opens it and pays on the hosted checkout.
◦
Bank transfer. The response includes payment instructions to show to the customer.
2.
Track the collection with GET /v1/collections/{id} or subscribe to collections webhook events.
Note

On or after 31 October 2026, Gravv changes the values in onramp_status and renames two collection event types. Read new_onramp_status today. See Status label change.

For card payments, you can also create payment intents directly, and charge saved cards server-to-server for recurring or merchant-initiated payments.

Endpoints

Collections

EndpointDescription
POST /v1/collectionsStart a collection by card or bank transfer
GET /v1/collections/{id}Get the status and details of a collection

Refunds

Only card collections can be refunded, once each. See Refund a card payment.

EndpointDescription
POST /v1/collections/{id}/refundRefund a completed card collection, in full or in part
GET /v1/collections/{id}/refundsList a collection's refunds and their status
POST /v1/collections/{id}/refunds/{refund_id}/retrySend a failed refund again

Card payments

EndpointDescription
POST /v1/collections/cards/payment-intentsCreate a card payment intent and hosted checkout link. Sending a card_token starts a charge automatically
POST /v1/collections/cards/payment-intents/chargeCharge a saved card token server-to-server, for recurring or merchant-initiated payments
GET /v1/collections/cardsList a customer's saved cards and their card_token values. customer_id is required
GET /v1/collections/cards/{card_id}Retrieve a single saved card
DELETE /v1/collections/cards/{card_id}Delete a saved card. Send a JSON body with customer_id and card_token
Note

When you charge a saved card, billing fields are optional. An omitted field falls back to the saved card's billing record, then to the customer record. Fields you send take precedence.

Authentication

All requests use https://api.gravv.xyz/v1/ and authenticate with the Api-Key header, including GET /v1/collections/{id}. Call that endpoint from your server, not from pages the payer sees.

Was this page helpful? Yes No