External Accounts


Register a customer’s own bank account (an “external account”) for fiat withdrawals. The create endpoint returns 201 Created with an external_account_id and status: "PENDING". Registration continues asynchronously and can finish as APPROVED or FAILED.

The endpoint accepts US_FEDWIRE, US_ACH, US_RTP, SWIFT, SPEI, LOCAL_BANK_TRANSFER, CHATS, and FPS; availability depends on the account country, currency, and enabled payment routes. To add someone else's bank account, use Add Bank Account to Recipient. The status and failure guidance below also applies to recipient bank accounts.

HTTP Request

POST
https://api.sandbox.1money.com/v1/customers/{customer_id}/external-accounts

Path Parameters

ParameterTypeDescription
customer_idstringUUID of the customer that will own the external account

Headers

HeaderDescription
AuthorizationSandbox bearer token or production HMAC authorization (required; see Authentication)
X-OM-DateRequest timestamp required for production HMAC authentication; omit for sandbox bearer authentication
Content-Typeapplication/json (required)
Idempotency-KeyUUIDv4 required for this request

The create endpoint returns 409 Conflict when the idempotency key already belongs to an external account or when identical banking details already exist. You can retrieve an existing external account by sending the key as the idempotency_key query parameter to the GET endpoint.


Request Body

{
  "network": "US_FEDWIRE",
  "account_holder_name": "TechStart Holdings LLC",
  "currency": "USD",
  "country_code": "USA",
  "account_number": "4447891623",
  "institution_id": "021000021",
  "institution_name": "JPMorgan Chase Bank, N.A."
}
FieldTypeRequiredDescription
networkstringYesPayment network accepted by the request schema; route availability depends on country and currency
account_holder_namestringYesFull legal name registered with the bank
currencystringYesCurrency code (e.g. USD)
country_codestringYesISO 3166-1 alpha-3 country code
account_numberstringYesAccount number or rail-specific account identifier
institution_idstringConditionalRequired for every listed network except SPEI; omit it for SPEI
institution_namestringNoOptional institution name; supported routing-code networks can resolve it from institution_id

Additional fields might be required:

  • institution_clearing_code: Additional local or regional routing codes required by specific payment networks or countries. Examples: Sort codes (UK), BSB numbers (Australia), transit numbers (Canada). Optional field used when standard institution_id is insufficient for routing.
  • intermediary_bank: Optional intermediary bank information for SWIFT accounts. Omit this field for all other networks.
  • nickname: Can be used to present to the user for easier identification

Rail-specific routing fields

External accounts and recipient bank accounts use the same rail-specific routing rules.

Networkinstitution_idinstitution_nameintermediary_bank
US_ACH, US_FEDWIRE, US_RTPRequired: valid 9-digit ABA routing numberOptional; resolved from the ABA routing number when omittedMust be omitted
SWIFTRequired: valid 8- or 11-character SWIFT/BIC codeOptional; resolved from the SWIFT/BIC code when omittedOptional
SPEIMust be omitted; the 18-digit CLABE identifies the bankNot requiredMust be omitted
LOCAL_BANK_TRANSFERRequired: canonical institution ID for the destination country and currencyNot requiredMust be omitted
CHATSRequired: Hong Kong bank SWIFT/BIC codeOptional; resolved from the SWIFT/BIC code when omittedMust be omitted
FPSRequired: canonical three-digit Hong Kong bank clearing code for the destination currencyNot requiredMust be omitted

CHATS applies to Hong Kong USD accounts. FPS applies to Hong Kong HKD and CNY accounts; submit the branch code followed by the account number as account_number (9–16 digits in total). Select the canonical institution_id for LOCAL_BANK_TRANSFER or FPS from Local Institution ID. Omit institution_clearing_code for SPEI, LOCAL_BANK_TRANSFER, CHATS, and FPS.

The API schema may contain additional bank-network enum values. That does not mean every rail is enabled for every customer or in every environment. Availability depends on the destination country, currency, customer configuration, and active payment routes.

PIX_TRANSFER may appear in the shared network enum, but it is not supported when creating an external account or recipient bank account through these public endpoints. Do not submit institution_id for PIX; PIX uses PIX-specific identifiers through a separate integration flow.

Responses

StatusDescription
201 CreatedRegistration accepted; returns external_account_id and PENDING. Check the asynchronous result before using the account.
400 Bad RequestInvalid or missing fields
409 ConflictDuplicate idempotency key or identical banking details

Follow the registration result

Save the external_account_id returned by the create request. Subscribe to external account webhooks and retrieve the account to check its current status.

StatusMeaningWhat to do
PENDINGRegistration or review is still in progress. A temporary processing problem can also leave the account pending.Wait for a result and check the account again. Pending alone does not identify a failure or have a guaranteed completion time.
APPROVEDRegistration has completed for the applicable payment route.Use the account with the supported withdrawal flow. This status does not guarantee a future transfer or independently prove account ownership.
FAILEDThis registration could not be completed or was rejected.Read failure_code and failure_reason, then follow the guidance below.

failure_code and failure_reason are omitted for PENDING and APPROVED. Retrieving a failed account still returns 200 OK: FAILED is the account's business status, not an HTTP request error.

Use any of these queries to check the result. The paths are relative to /v1/customers/{customer_id}:

QueryPath
Account by ID, including a recipient bank accountGET /external-accounts/{external_account_id}
Account by creation keyGET /external-accounts?idempotency_key={key}
Customer's accounts, including recipient accountsGET /external-accounts/list?include_recipient=true
Recipient bank accountsGET /recipients/{recipient_id}/bank_accounts/list
Recipient bank account by creation keyGET /recipients/{recipient_id}/bank_accounts?idempotency_key={key}

Adding a bank account to an existing recipient also returns 201 Created with PENDING. When creating a recipient with bank accounts, check each item's current status in the response's bank_accounts array.

Failure codes

These codes describe failures after a registration request has been accepted. Invalid requests rejected during initial validation are reported in the create request's HTTP error response instead; see routing validation errors.

failure_codeMeaningWhat to do
BANK_DETAILS_INVALIDThe bank account details were rejected during registration, or the bank routing details do not support the requested payment network.Confirm the account, routing details, and supported network with the bank before adding the account again.
INTERMEDIARY_BANK_REQUIREDAn intermediary bank is needed, but none could be determined from the supplied details.Ask the beneficiary bank for the intermediary details. Add the account again with intermediary_bank.institution_id.
INTERMEDIARY_BANK_UNVERIFIEDThe supplied intermediary bank identifier could not be verified for registration.Confirm or correct the intermediary details with the beneficiary bank, then add the account again.
ACCOUNT_REGISTRATION_REJECTEDRegistration was declined by the payment provider or during a required review.Contact support for assistance before trying again.
CUSTOMER_ACCOUNT_UNAVAILABLEThe customer's payment account could not be set up.Contact 1Money Support for help before trying again.
ACCOUNT_CREATION_FAILEDRegistration ended unsuccessfully without a more specific failure category.Contact support with the customer and external account IDs.

The following excerpt shows the relevant fields from a failed account response:

{
  "external_account_id": "381b013e-8893-11f0-b308-2eaa4f6974f2",
  "status": "FAILED",
  "failure_code": "INTERMEDIARY_BANK_REQUIRED",
  "failure_reason": "Intermediary bank details are required. Get them from the bank and add the account again."
}

Use failure_code for application logic and failure_reason to explain the result to the customer. Do not match the wording of failure_reason in code. Accept unknown future codes and older webhook events that omit these fields: display the available reason, or a general failure message if none is provided. Older failed accounts may have only the general ACCOUNT_CREATION_FAILED category when a more specific reason is unavailable.

After a failure

A failed registration does not restart merely because you repeat the create request. Reusing its Idempotency-Key returns a conflict; retrieve the existing account by that key to inspect its result.

When the guidance calls for corrected bank details, use the normal add-account flow with a new UUID Idempotency-Key. Existing duplicate-bank checks still apply: a new key alone does not bypass them. If the corrected request conflicts with an existing account, retrieve that account and contact support for help resolving it.

For a rejection or a payment-account setup failure, contact 1Money Support before submitting the same details again. After review or support restores an account, retrieve its current status. PENDING and APPROVED responses omit the previous failure fields.

For event timing, duplicate deliveries, and status checks after recovery, see Reading events alongside account queries.

Routing validation errors

Routing validation can reject a create request before registration is accepted. The response explains which routing check failed:

CauseExample message
Missing or invalid ABA routing numberEnter a valid 9-digit ABA routing number provided by the bank.
Unrecognized routing numberRouting number not recognized. Confirm it with the bank.
Routing number does not support the selected payment networkThis routing number does not support ACH. Ask the bank for compatible routing details.

The last message names the selected payment method. A valid routing number may support one payment network but not another; confirm the routing details for the requested network with the bank. These synchronous errors do not use the asynchronous failure_code values above.


Did this page help you?