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
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.
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 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.