Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Guides Transfers Transfers

Transfers

Move money between your customers' accounts, to bank accounts and mobile wallets, and to crypto wallets.

7 min read

One endpoint, POST /v1/transfer, sends every kind of transfer. You send where the money comes from (source), where it goes (destination) and how much (amount). The API responds at once with transfer_status pending. The transfer then runs in the background, and you follow it with webhooks or by reading the transaction.

The payee holds the recipient's details, POST /v1/transfer sends the money, and the webhooks report each change of status.

Example. Your customer's USD account holds 10,000.00 USD. You send 2,500.00 USD to a contractor's US checking account by ACH. The response shows pending and the fee, for example 1.50 USD. Gravv debits the account 2,501.50 USD and sends a transfer.status.completed webhook when the bank confirms the payment.

Sources and destinations

source.source_type sets where the money comes from:

source_typeWhat it isNotes
internal_accountA customer's account at GravvA bank-held account pays only in its own currency, and only to a bank account or another account at the same bank. A wallet-backed account holds stablecoin and converts when it pays out
internal_crypto_walletA customer's Gravv crypto walletSend source.crypto_asset (USDC or USDT). Without it, tron wallets send USDT and every other network sends USDC
cardA customer's cardPays only its own linked card account or linked wallet

destination.destination_type sets where the money goes:

destination_typeRequired fieldsUse it for
external_accountid of an active payee, and rail where the payee type needs oneA bank account or mobile wallet outside Gravv. See External accounts
internal_accountidAnother account at Gravv
internal_crypto_walletid, optional crypto_assetAnother Gravv wallet. A different crypto_asset between two wallets of the same customer converts USDT and USDC
crypto_walletwallet_address, blockchain_network, optional blockchain_memoAn outside crypto address
cardidA card's own account

Rails

rail goes inside destination. The API ignores a top-level rail.

railPayee typeCurrencyUse it for
achach_wireUSDUS bank accounts, 1 to 3 business days
wireach_wireUSDUS domestic wires, same day. Not an international wire
rtpach_wireUSDInstant US payments, from bank-held accounts only
swiftswiftUSDBanks abroad that receive USD
sepasepaEUREuro IBANs in SEPA countries
fpsfpsGBPUK sort code and account number
leave it out, or globalbankbank_account, mobile_moneyLocal currencyLocal bank accounts and mobile wallets

Payments and supported countries lists the routes that are open today.

Optional fields

FieldWhat it does
descriptionYour note. On payouts from bank-held accounts, Gravv sends it to the bank as the purpose of payment, so say what the money is for
client_referenceYour own id for the payout, 1 to 100 characters. Send it every time, so you can find the payout before a retry and do not pay it twice
client_metadataYour data (often JSON text), returned on the transaction
payment_rail_referenceA note for the receiving bank, at most 140 plain characters (no emoji or accented letters). For ACH, at most 10 letters, digits or spaces. For wire, at most 35 characters from letters, digits, spaces and / - ? : ( ) . , ' +. Other rails accept the field but do not send it. Gravv passes it to the bank on ACH and wire payouts from wallet-backed accounts. The recipient's bank decides whether their statement shows it
supporting_document_idsUp to 5 uploaded documents, such as an invoice for a SWIFT payout. See Paused transfers
additional_informationSender details for routes that need them (remitter_full_name, remitter_date_of_birth, remitter_address, remitter_country and more). Gravv uses them ahead of the customer profile

Send amount as a string with at most 2 decimal places, such as "2500.00". The API accepts a JSON number, but a number can lose precision. source.id and customer_id must be UUID version 4.

Read the response

The API returns HTTP 200 for both outcomes below, so always read transfer_status.

Transfer accepted
{
"data": {
"amount": "2500",
"amount_currency": "USD",
"reference": "3f0c6a8e-6b1d-4c1e-9a55-0d2f7b9e4a11",
"date_created": "2026-10-13T09:15:22.481Z",
"transfer_status": "pending",
"transaction_id": "8d4e2b6c-1f3a-4e7b-b0c9-5a6d7e8f9a01",
"local_amount": null,
"local_currency": null,
"fee": "1.5",
"fee_currency": "USD",
"requires_approval": false
},
"error": null
}
•
pending: Gravv accepted the transfer and it is running. Store reference and transaction_id. reference is the transfer id. You use it to resume a paused transfer, and webhooks carry it as event_group_id. You use transaction_id to read the transaction.
•
paused: Gravv accepted the transfer, but it waits for you. Read requirements and see Paused transfers.
•
local_amount and local_currency are the amount priced for the recipient when there is a currency exchange. They are null when there is none.
•
fee is the fee priced for this transfer. The transaction records what Gravv charged. Read it with Get a transaction.

To lock a payout's rate, call POST /v1/transfer/quote with the currencies and the amount, and with the payee as destination to price the fees too. Send the returned quote_id in POST /v1/transfer before expires_at, with the same currencies and amount. The quote lasts about a minute. Without a quote_id, Gravv takes the rate when you send. POST /v1/fx/quote is for FX orders and does not lock a payout rate. GET /v1/transfer/rates returns indicative rates. Check the timestamp on each row, because a cached row can be old.

Follow it to the end

Webhooks carry the transfer reference as event_group_id:

EventMeaning
transfer.status.pendingThe transfer is still moving. Gravv sends one per internal step, so several arrive. Treat them all as "working"
transfer.status.completedThe transfer is paid
transfer.status.failedRead event_data.transfer_status. failed or rejected is final, and Gravv returns the money and fee to the source. When a payout's amount is back, transfer.status.refunded follows. manual_processing_required is not final. A person is checking the transfer, the transaction stays pending, and you must not send it again
transfer.status.returnedThe bank sent the money back after completed. Gravv adds a refund transaction
transfer.status.refundedAfter failed, the payout's amount is back in the source. Its idempotency_key is <reference>:refunded, outside the sequence
transfer.requires_informationThe transfer paused
transfer.resumedA paused transfer resumed

Deduplicate on the body's event_id, never on the X-Event-ID header, because every event of one transfer shares that header. Order one transfer's events by the number after the colon in idempotency_key (<reference>:<sequence>).

As a backup, poll GET /v1/transactions/{transaction_id} every 30 to 60 seconds. Gravv never fails a payout only because time has passed. A payout the bank has not responded to stays pending. No endpoint cancels a transfer.

Errors

Most refusals are HTTP 400, with the reason in error and no code. Only some errors carry a code (limits, duplicates, documents), so match on the message text.

Gravv stores a 4xx response under its Idempotency-Key for 24 hours and replays it, so use a new key after you fix a request.

After a 5xx or a timeout, look up the payout before you retry. List the customer's newest transactions with GET /v1/transactions?customer_id=<id> and match your client_reference yourself, because the list has no client_reference filter.

Discovery endpoints

These endpoints describe what the API knows. None of them tells you whether a payout route is open.

EndpointReturns
GET /v1/transfer/supported-currenciesThe currency pairs that Gravv can price (currency_pair, from_currency, to_currency and their names)
GET /v1/transfer/supported-countriesThe 91 countries the API knows, with iso_code, iso3_code and currency_code. iso_code is a substring filter
GET /v1/transfer/supported-countries-for-addressCountries with their state codes, for address.state and remitter_address
GET /v1/transfer/ratesIndicative rates by received currency, or a USDT and USDC conversion preview
POST /v1/transfer/quoteA payout price with a quote_id that locks the rate, and the fees when you name the payee
Get supported transfer currencies request
curl --request GET \
--url https://api.gravv.xyz/v1/transfer/supported-currencies \
--header 'Api-Key: <API_KEY>'
Get supported transfer currencies response
{
"data": {
"items": [
{
"currency_pair": "USD_NGN",
"from_currency": "USD",
"from_currency_name": "US Dollar",
"to_currency": "NGN",
"to_currency_name": "Nigerian Naira"
}
]
},
"error": null
}
Get supported countries request
curl --request GET \
--url 'https://api.gravv.xyz/v1/transfer/supported-countries?iso_code=NG' \
--header 'Api-Key: <API_KEY>'
Get supported countries response
{
"data": {
"countries": [
{
"iso_code": "NG",
"name": "Nigeria",
"iso3_code": "NGA",
"currency_code": "NGN"
}
]
},
"error": null
}

Some countries have no currency in the list (currency_code null). For those, use the currency of the institution you pay. To see what is open, read Payments and supported countries.

Recipes

Each route has a step-by-step recipe with the requests, responses and errors. See Bank payouts and Remittance and crypto.

Was this page helpful? Yes No