- Prefund
- Just-in-time funding
Just-in-time funding supports instant payment rails only (for example: RTP,
PIX, SEPA Instant).
Prerequisites
- You have created a customer (for customer-scoped internal accounts)
- You have
GRID_CLIENT_ID
andGRID_CLIENT_SECRET
Export your credentials for use with cURL:
Prefunding an account via push payments (Wire, SEPA, PIX, etc.)
When customers need to deposit funds themselves, display the funding payment instructions in your application:1
Retrieve the internal account
Fetch the customer’s internal account for their desired currency using the API.
2
Extract payment instructions
Parse the
fundingPaymentInstructions
array and select the appropriate instructions based on your customer’s preferred payment method.3
Display instructions clearly
Show the payment details prominently in your UI and enable copy / paste:
- Account holder name
- Bank name and routing information (account/routing number, CLABE, PIX key, etc.)
- Reference code (if provided)
- Any additional notes from
instructionsNotes
4
Customer initiates a push payment from their bank or wallet to the account/address specified.
5
Monitor for deposits
Set up webhook listeners to receive updates for the deposit transaction and account balance updates. The account balance will update automatically.
You’ll receive
ACCOUNT_STATUS
webhook events when the internal account balance changes.