Skip to main content

Bank transfer details object

Last updated: 2026-10-20

PaymentOrder.bankTransferDetails describes generated account availability for a bank-transfer payment.

FieldJSON typePresenceMerchant meaning
generationStatusstringAlwayspending, processing, succeeded, failed_retryable, or unavailable; treat any other value as unavailable
accountNamestringConditionalGenerated account name when generation succeeded
accountNumberstringConditionalGenerated account number when generation succeeded
expiresAtstring (date-time) or nullOptionalAccount expiry when supplied
bankNamestringOptionalGenerated account bank name
failureReasonstringConditionalPublic reason why instructions are unavailable; it can be present while generation is still processing
retryAfterstring (date-time) or nullOptionalEarliest suggested time for another read
updatedAtstring (date-time)AlwaysLast 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.