Update subaccount configurations

Update a subaccount name and configurations. All updated configurations are validated against the capabilities of the main account to ensure compliance. It is possible to add new networks and/or regions but it is not possible to remove any configurations that were previously set. configurations replaces the whole object: send every network the subaccount has (a network left out is refused with Delete a configuration is not supported.), and every block list you want to keep (a block list left out goes back to the account's default).

Each network's countries can be set to either an array of specific ISO 3166 alpha-3 country codes, or the string "*" to inherit all countries from the parent account's capabilities for that network.

When using "*", the subaccount will automatically reflect the parent account's current country list. If the parent account's capabilities change, subaccounts configured with "*" will inherit the updated countries.

The single and bulk enrollment configurations are optional. Countries are set per network: each one's country list is the network's countries, limited to the countries the account allows for that way of enrolling. The supported card types for single and bulk enrollment is CONSUMER, while the supported funding card types is DEBIT. If not provided, the block rules for both card types will default to the parent account's default block rule for that network and enrollment level. A list you send is combined with the account's defaults, so it can add blocks but never remove one of the account's defaults. Visa consumer debit and prepaid cards are blocked at the network level regardless of these settings; see networkBlockedCards on the subaccount.

To set the default rule on the parent account, please reach out to your account manager or support.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params
configurations
object

Subaccount network and regional configurations which determine the available networks and geographies during card enrollment.

The countries property for each network accepts either:

  • An array of ISO 3166 alpha-3 country codes (e.g. ["USA", "CAN"])
  • The string "*" to inherit all countries from the parent account's capabilities for that network

When "*" is used, the subaccount automatically reflects the parent account's current country list. If the parent account's capabilities change, subaccounts using "*" will inherit the updated countries. API responses always return the resolved country list, never the "*" literal.

The single and bulk enrollment configurations are optional. Countries are set per network: each one's country list is the network's countries, limited to the countries the account allows for that way of enrolling. The supported card types for single and bulk enrollment is CONSUMER, while the supported funding card types is DEBIT. If not provided, the block rules for both card types will default to the parent account's default block rule for that network and enrollment level. A list you send is combined with the account's defaults, so it can add blocks but never remove one of the account's defaults. Visa consumer debit and prepaid cards are blocked at the network level regardless of these settings; see networkBlockedCards on the subaccount.

Inside single-enrollment and bulk-enrollment, only blockedCardTypes and blockedFundingCardTypes are read. Any other key is ignored, not refused: a countries there (reads return the countries Astrada works out for each way of enrolling), and a misspelled name too, so a block list sent as blockedCardType is not saved and the account's default applies.

The same holds higher up: inside a network only countries, single-enrollment and bulk-enrollment are read, and at the top only VISA, MASTERCARD and AMEX. Any other key there is ignored, not refused. So a network sent as Visa is dropped: on create the subaccount is made without it (with no network left, the request is refused with Configuration is not a subset of the Capabilities.), and on PATCH, if the subaccount has Visa, the request is refused with Delete a configuration is not supported. (or with Configuration is not a subset of the Capabilities. when no network is left in the body), because every network the subaccount has must be sent.

To set the default rule on the parent account, please reach out to your account manager or support.

string
verificationPolicy
object

Set or clear fields of the subaccount's card verification policy. Fields you send replace those fields and fields you leave out keep their value; the policy as a whole cannot be sent as null. Customers may set any level above LOW (MEDIUM, HIGH, HIGHEST), send a null level to clear the override, toggle the sandbox test flag, and set failedAttemptLockout. LOW is internal-only and is rejected on this endpoint.

enrollmentPolicy
object

The customer-writable subset of the enrollment policy: the three unified-SDK rails. All other fields (linkAnotherCard, bankEnrollmentLocked, and the deprecated bulkEnrollmentEnabled) are managed on the internal enrollment-policy endpoints and are ignored if sent here. The 200 names every ignored key, these and misspelled ones alike, in ignoredFields.

Fields are optional and nullable; absent fields leave the current value unchanged, explicit null clears the subaccount-level value. A cleared rail falls back to the account-level value when one is set; only when neither level sets the rail does it disappear from reads, letting the host page's client configuration and then the SDK's card-only default apply.

Headers
string
enum
Defaults to application/hal+json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/hal+json
application/problem+json