Know what a bank deposit costs
Find out which bank deposits into a customer's account carry a Gravv fee, on which rail, who pays the fee and where to find it.
This recipe shows which bank deposits into a customer's account carry a Gravv fee, on which rail, who pays the fee and where to find it. It is for a US payroll platform whose business customers fund their Gravv USD account by wire from their own bank.
Status. Available.
Money example
transfer.inflow.completed, or transfer.inflow.deposit_settled if the account converts deposits to USDC.Before you start
active and has its bank details. To set this up, see Share account details and receive a deposit.Find out what is required
The fee depends on the rail the money arrives on, and on the kind of account. Your prices per rail are in your pricing plan. The API does not return them.
| Rail | Account that converts deposits to stablecoin | Other bank-held account | NGN account |
|---|---|---|---|
| ACH | Charged | Not charged today | Not applicable |
| Wire, RTP, SWIFT, SEPA, FPS | Charged, at that rail's price | Charged, at that rail's price | Not applicable |
| Rail not known | Charged a flat deposit fee | Not charged | Not applicable |
| Local NGN transfer | Not applicable | Not applicable | Not charged |
Steps
1. Credit the customer when the deposit lands
Follow Share account details and receive a deposit. On an account that converts deposits, transfer.inflow.deposit_settled and inflow.onchain.completed describe one deposit, so credit the customer once.
2. Find the fee
Find the deposit row with the transaction_id from the webhook, then the fee row for the same customer, as in See a deposit arrive.
What can go wrong
| Response | Why | Fix |
|---|---|---|
| No bank details on the account | The account is not active yet | Finish the account application |
transfer.inflow.awaiting_approval | Your account holds deposits for approval | Approve or reject it in the Dashboard. The API has no approve route |
transfer.inflow.payout_failed or transfer.inflow.compensated | Crediting failed, or was reversed | Contact support with the transaction_id. Gravv does not refund the deposit fee |
| No webhook, but the payer says they sent the money | The payer used wrong bank details, the bank is still processing, or your server missed a webhook | Check webhook history with event_type=transfer, and check the details the payer used |
| No fee row | Your plan has no fee for that rail, or the fee is on your monthly invoice | No action needed |
Webhooks you will receive
transfer.inflow.awaiting_approval, only on accounts that hold deposits for approval.transfer.inflow.completed or transfer.inflow.deposit_settled. On accounts that convert deposits, inflow.onchain.completed comes with it.transfer.inflow.payout_failed or transfer.inflow.compensated.Testing in sandbox
Simulate a deposit on each rail (ach, wire, rtp, swift, sepa, fps) to see that rail's fee on your sandbox billing. Each new Idempotency-Key makes a new deposit, and amount is a string.
The response {"data":{"accepted":true,"reference":"…","state":"pending"},"error":null} does not mean the account is credited. Wait for the webhook. With a live key, this call returns 403.