GuidesAPI ReferenceChangelog
API Reference

External Accounts

Webhook events for external account (bank account, payment method) registration results, failure reasons, and next steps.

Events

Event NameStatusDescription
external_account.approvedAPPROVEDBank account registration approved
external_account.failedFAILEDBank account registration failed or was rejected

These events apply to the customer's own external accounts and to recipient bank accounts. A create request can return 201 Created with PENDING before the result is known. See Follow the registration result for the status lifecycle and query endpoints.


external_account.approved

Reports that bank account registration has been approved for the applicable payment route. Approval does not guarantee a subsequent transfer or independently prove account ownership. Approved events omit failure_code and failure_reason.

Payload

{
  "event_name": "external_account.approved",
  "resource": {
    "type": "external_accounts",
    "id": "ea_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "idempotency_key": "678160c6-ca41-40ee-bfe7-35057ade157d"
  },
  "data": {
    "status": "APPROVED",
    "customer_id": "cus_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "account_id": "BZ-ABCD-1234",
    "external_account_id": "ea_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "created_at": "2024-01-22T12:00:00.000Z",
    "modified_at": "2024-01-22T12:30:00.000Z"
  }
}

Fields

FieldTypeDescription
statusstringAlways APPROVED for this event
customer_idstringThe customer ID who owns this external account
account_idstring | nullAccount ID of the customer, or null when unavailable
external_account_idstringUnique identifier for the external account
created_atstringISO 8601 timestamp when the account was created
modified_atstringISO 8601 timestamp when the account was last modified

external_account.failed

Reports that bank account registration could not be completed or was rejected. data.failure_code identifies the failure category; data.failure_reason explains the result and next steps for the customer. A rejected create request is handled through its HTTP error response, rather than this asynchronous registration result.

Payload

{
  "event_name": "external_account.failed",
  "resource": {
    "type": "external_accounts",
    "id": "ea_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "idempotency_key": "678160c6-ca41-40ee-bfe7-35057ade157d"
  },
  "data": {
    "status": "FAILED",
    "customer_id": "cus_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "account_id": "BZ-ABCD-1234",
    "external_account_id": "ea_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "created_at": "2024-01-22T12:00:00.000Z",
    "modified_at": "2024-01-22T12:30:00.000Z",
    "failure_code": "INTERMEDIARY_BANK_REQUIRED",
    "failure_reason": "Intermediary bank details are required. Get them from the bank and add the account again."
  }
}

Fields

FieldTypeDescription
statusstringAlways FAILED for this event
customer_idstringThe customer ID who owns this external account
account_idstring | nullAccount ID of the customer, or null when unavailable
external_account_idstringUnique identifier for the external account
created_atstringISO 8601 timestamp when the account was created
modified_atstringBank account's last modification time in ISO 8601 format; it is not the event creation time.
failure_codestringFailure category for application logic. Older events may omit this field; clients must accept unknown future codes.
failure_reasonstringCustomer-readable failure reason and next steps. Older events may omit this field.

Failure codes and recovery

See Failure codes for each code's meaning and next step, and After a failure for submitting corrected details.

Use failure_code for application logic and failure_reason for display. For an unknown or missing code, display the supplied reason or a general failure message and offer a way to contact 1Money Support.

Reading events alongside account queries

Webhooks report the account's status when the event was generated. To check its current status, use Get External Account. A failed account query returns 200 OK with status: "FAILED".

Deduplicate deliveries using X-Webhook-Event-Id.

After an account is restored, retrieve its status. A later failure may not generate a new webhook.