Pay a US bank account instantly by RTP
Save an RTP payee and send an instant USD payment from a bank-held USD account.
Use this recipe to save an RTP payee and send an instant USD payment from a bank-held USD account.
Who it is for. An on-demand staffing app that pays a shift worker the same minute it approves the shift.
Status. Available from bank-held USD accounts, if the receiving bank takes instant payments. Not supported from wallet-backed accounts.
Money example
Before you start
Find out what is required
Save the payee with "payment_rail": "rtp". Not every bank can receive instant payments, so check the routing number first:
If valid is false, save the payee for ach or wire instead. A bank can take some instant payments and still answer false. Gravv runs the same check when you save the payee, and refuses the number there with ERROR_CODE_INVALID_RTP_ROUTING_NUMBER. See Check a US routing number for wire or RTP.
Steps
1. Save the RTP payee
The response is HTTP 202 with status pending and the payee id, here 3d813cbb-47fb-42ba-91df-831e1593ac29. Wait for the external_account.active webhook.
2. Send the payment
RTP has no note for the receiving bank. The API accepts payment_rail_reference but does not send it.
3. Follow it to the end
Read GET /v1/transactions/4b6d8f0a-2c4e-4d6f-8a0c-4e6a8c0e2f45 (it shows channel rtp), or wait for transfer.status.completed.
What can go wrong
| Response | Why | Fix |
|---|---|---|
The first payout from a new bank-held account stays pending for up to 72 hours | The bank approves the payee for that paying account before it pays out. Gravv checks again every 5 minutes for the first hour, then every 15 minutes | Wait. If the bank has not approved it within 72 hours, the transfer fails and Gravv refunds the amount and fee |
400 routing number <routing_number> cannot receive instant payments; use ach or wire: invalid input (ERROR_CODE_INVALID_RTP_ROUTING_NUMBER) | The receiving bank cannot receive instant payments | Save the payee for ach or wire instead, with a new key |
400 transfers to US/USD are not supported at this time | The source is wallet-backed. RTP pays only from bank-held USD accounts | Use ACH or wire, or pay from a bank-held account |
400 transfers from this account to US/USD are not supported at this time | The payee was registered against another bank-held account | Save the RTP payee with internal_account_id set to the source |
400 this payee is registered for ach transfers, not rtp — … | You saved the payee for ACH | Save an RTP payee. See two rails |
| Every error in the ACH recipe also applies to RTP |
Webhooks you will receive
You receive the same webhooks as for ACH: external_account.created, then external_account.active, then transfer.status.pending, then transfer.status.completed.
Testing in sandbox
In sandbox, every valid routing number passes the RTP check except 123456780 and 011000015, on the lookup and when you save the payee. 021000021 saves, and the payee becomes active in under a minute. 011000015 can receive wires but not instant payments, so use it to test your fallback from RTP to wire. POST /v2/accounts/simulate/deposit accepts "rail": "rtp" to fund an account.