Create an account
Creates an account for the entity. An internal account is one the entity pays from (a bank account added through Plaid or, for selected partners, by its account and routing numbers). An external account is a payee the entity pays to, reachable by ACH, paper check, domestic wire, or virtual card. Authenticate with your api-key, or with a scoped session token from POST /accounts/link (which can only create internal accounts).
Authorizations
Headers
Unique key (UUID recommended) that makes a create request safe to retry by replaying the original response; retained 24h per partner.
255Signed MelioSonar session token from the initiating device, used for risk evaluation; invalid or expired tokens return 403.
Entity the request operates on — an entity id (ent_<uuid>) or me (the partner's sole entity).
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19
- Option 20
Create an account. ownershipType selects internal (an internal account the entity pays from) or external (an external account the entity pays to); type selects the instrument. Supported combinations: internal ach, internal card, external ach, external check, external domestic-wire, external virtual-card, external international-fx, external international-gusd.
The two international types additionally require the partner to be enabled for international payouts, and the entity to have completed international onboarding — see PUT /entities/{entityId}/beneficial-owners. A business that has not returns 409 ENTITY_ONBOARDING_INCOMPLETE listing the outstanding fields.
internal ach The account and routing numbers. Available to selected partners; otherwise add the account through the Plaid link flow. When accepted, the account is created in a verified state.
Your own unique identifier for the resource. Unique per partner per resource type (reusing one returns 409 DUPLICATE_EXTERNAL_ID). Distinct from the Idempotency-Key header, which dedupes the request rather than identifying the resource.
255^[A-Za-z0-9_-]+$Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 50 keys; each key 1 to 40 chars and may not contain square brackets ([ ], reserved for the metadata[key] filter); value ≤100 chars. Filterable via metadata[key].
Response
Account created.
Opaque account id (acct_)
Your own unique identifier for the resource. Unique per partner per resource type (reusing one returns 409 DUPLICATE_EXTERNAL_ID). Distinct from the Idempotency-Key header, which dedupes the request rather than identifying the resource.
255^[A-Za-z0-9_-]+$Free-form string key/value pairs stored and returned verbatim, never interpreted by Melio. Up to 50 keys; each key 1 to 40 chars and may not contain square brackets ([ ], reserved for the metadata[key] filter); value ≤100 chars. Filterable via metadata[key].
internal, external Plaid-backed internal accounts are returned as ach.
ach, check, card, domestic-wire, virtual-card, international-fx, international-gusd Present for internal accounts.
Present for external accounts.
Counterparty (payee) email. Present for external accounts.
Present for internal accounts. For ach, false while micro-deposit verification is outstanding and true once it completes. Absent for external accounts, where verification does not apply.
Present when type=ach.
Present when type=card.
Present when type=check.
Present when type=domestic-wire.
Present when type=international-fx. The submitted bank identifiers are stored encrypted, so only the last four characters are returned.
Present when type=international-gusd.