Add an external account
Adds a new external account for transfers to accounts that are not created with Gravv.
Async setup contract
Registering an external account with our payment partners runs asynchronously. The response status code tells you the outcome:
200 OK: The external account is fully registered with at least one partner. Thestatusfield isactive. You can initiate transfers immediately.202 Accepted: the external account record is created and a background worker calls our partners. Thestatusfield ispending. To learn when it changes toactive, either check the status by callingGET /v1/external-accounts/{external_account_id}until it isactive, or subscribe to thepayee.setup.*webhook events.400 Bad Request: Input validation failed. Fix the input and retry.
A duplicate POST with the same account_number (or iban), currency, and
payee_type for the same customer is idempotent and returns the existing
record.
Body Params
account_namestringrequiredName of the account holder.
customer_idstringrequiredID of the customer who owns the external account.
payment_railstringAllowed:Optional. US payment rail to use when
payee_typeisach_wire. Accepted values:ach(ACH transfer) orwire(domestic wire). Defaults towirewhen omitted.achwire
Headers
x-tenant-idstringrequiredBusiness/tenant identifier for authorization
Idempotency-KeystringA unique key to prevent duplicate requests.