Bank transfer details object
Last updated: 2026-10-20
PaymentOrder.bankTransferDetails describes generated account availability for
a bank-transfer payment.
| Field | JSON type | Presence | Merchant meaning |
|---|---|---|---|
generationStatus | string | Always | pending, processing, succeeded, failed_retryable, or unavailable; treat any other value as unavailable |
accountName | string | Conditional | Generated account name when generation succeeded |
accountNumber | string | Conditional | Generated account number when generation succeeded |
expiresAt | string (date-time) or null | Optional | Account expiry when supplied |
bankName | string | Optional | Generated account bank name |
failureReason | string | Conditional | Public reason why instructions are unavailable; it can be present while generation is still processing |
retryAfter | string (date-time) or null | Optional | Earliest suggested time for another read |
updatedAt | string (date-time) | Always | Last generation-state update |
Display account details only when generationStatus is succeeded and any
supplied expiry is still in the future. For
pending or processing, wait until retryAfter when it is present and read
the payment again. A generated account is a payment instruction, not proof that
the customer has completed the transfer.
For example, generationStatus: "processing" can be accompanied by
failureReason: "generating". That describes instruction availability, not a
failed payment. Use generationStatus to decide whether to show the account
details and paymentOrder.status to determine the payment outcome.
unavailable means the account details cannot be used. Continue reading the same
payment with bounded backoff or contact support with the payment ID. Do not
repeat create or request a replacement payment merely to obtain account details.
The current availability also controls whether saved account details are
returned on a repeated direct-create response.
Common failureReason values with unavailable are expired, provider_failed,
and unavailable. provider_failed describes a failure to prepare the account
details; it does not confirm that a provider declined the payment. Reasons are
strings, not payment outcomes.
Accept unknown availability strings without failing to decode the response and
handle them as unavailable. Older notifications can still contain
failed_manual_review; handle it as unavailable as well. Existing notification
retries can continue within their seven-day delivery window.
Related guide: Bank transfer.