Contents

PATCH [/instances/$INSTANCE]/private/accounts/$H_WIRE#

This is used to update a bank account.

Required permission: accounts-write

Request:

The request must be a AccountPatchDetails.

Response:

204 No content:

The account has successfully modified.

404 Not found:

The account (H_WIRE) is unknown to the backend.

Details:

interface AccountPatchDetails {

   // URL from where the merchant can download information
   // about incoming wire transfers to this account.
   credit_facade_url?: string;

   // Credentials to use when accessing the credit facade.
   // Never returned on a GET (as this may be somewhat
   // sensitive data). Can be set in POST
   // or PATCH requests to update (or delete) credentials.
   // To really delete credentials, set them to the type: "none".
   // If the argument is omitted, the old credentials
   // are simply preserved.
   credit_facade_credentials?: FacadeCredentials;

   // Additional text to include in the wire transfer subject when
   // settling the payment. Note that the merchant MUST use this
   // consistently for the same merchant_pub and merchant_payto_uri
   // as during aggregation *any* of these values may be selected
   // for the actual aggregated wire transfer. If a merchant wants
   // to use different extra_subject values for the same IBAN,
   // it should thus create multiple instances (with different
   // merchant_pub values). When changing the extra_subject,
   // the change may thus not be immediately reflected in the
   // settlements.
   //
   // Must match [a-zA-Z0-9-.:]{1, 40}
   //
   // Optional. Since **v27**.
   extra_wire_subject_metadata?: string;
}