---
title: "Merchant Account - Update"
method: POST
path: "/accounts/{account_id}"
tags: ["Merchant Account"]
---

# Merchant Account - Update

`POST /accounts/{account_id}`

Updates details of an existing merchant account. Helpful in updating merchant details such as email, contact details, or other configuration details like webhook, routing algorithm etc

## Path parameters

- `account_id` string, required

## Request body

- MerchantAccountUpdate
  - `merchant_id` string, required — The identifier for the Merchant Account
  - `merchant_name` string, nullable — Name of the Merchant Account
  - `merchant_details` MerchantDetails
    - `primary_contact_person` string, nullable — The merchant's primary contact name
    - `primary_phone` string, nullable — The merchant's primary phone number
    - `primary_email` string, nullable — The merchant's primary email address
    - `secondary_contact_person` string, nullable — The merchant's secondary contact name
    - `secondary_phone` string, nullable — The merchant's secondary phone number
    - `secondary_email` string, nullable — The merchant's secondary email address
    - `website` string, nullable — The business website of the merchant
    - `about_business` string, nullable — A brief description about merchant's business
    - `address` AddressDetails — Address details
      - `city` string, nullable — The city, district, suburb, town, or village of the address.
      - `country` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US'
      - `line1` string, nullable — The first line of the street address or P.O. Box.
      - `line2` string, nullable — The second line of the street address or P.O. Box (e.g., apartment, suite, unit, or building).
      - `line3` string, nullable — The third line of the street address, if applicable.
      - `zip` string, nullable — The zip/postal code for the address
      - `state` string, nullable — The address state
      - `first_name` string, nullable — The first name for the address
      - `last_name` string, nullable — The last name for the address
      - `origin_zip` string, nullable — The zip/postal code of the origin
    - `merchant_tax_registration_id` string, nullable
  - `return_url` string, nullable — The URL to redirect after the completion of the operation
  - `webhook_details` WebhookDetails
    - `webhook_version` string, nullable — The version for Webhook
    - `webhook_username` string, nullable — The user name for Webhook login
    - `webhook_password` string, nullable — The password for Webhook login
    - `webhook_url` string, nullable — The url for the webhook endpoint
    - `payment_created_enabled` boolean, nullable — If this property is true, a webhook message is posted whenever a new payment is created
    - `payment_succeeded_enabled` boolean, nullable — If this property is true, a webhook message is posted whenever a payment is successful
    - `payment_failed_enabled` boolean, nullable — If this property is true, a webhook message is posted whenever a payment fails
    - `payment_statuses_enabled` IntentStatus[], required — List of payment statuses that triggers a webhook for payment intents
    - `refund_statuses_enabled` IntentStatus[], required — List of refund statuses that triggers a webhook for refunds
    - `payout_statuses_enabled` PayoutStatus[], nullable — List of payout statuses that triggers a webhook for payouts
  - `payout_routing_algorithm` union
    - object
      - `type` 'single', required
      - `data` RoutableConnectorChoice, required — Routable Connector chosen for a payment
        - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
        - `merchant_connector_id` string, nullable
    - object
      - `type` 'priority', required
      - `data` RoutableConnectorChoice[], required
        - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
        - `merchant_connector_id` string, nullable
    - object
      - `type` 'volume_split', required
      - `data` ConnectorVolumeSplit[], required
        - `connector` RoutableConnectorChoice, required — Routable Connector chosen for a payment
          - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
          - `merchant_connector_id` string, nullable
        - `split` integer, required
    - object
      - `type` 'advanced', required
      - `data` ProgramConnectorSelection, required — The program, having a default connector selection and a bunch of rules. Also can hold arbitrary metadata.
        - `defaultSelection` union, required
          - object
            - `type` 'priority', required
            - `data` RoutableConnectorChoice[], required
              - …
          - object
            - `type` 'volume_split', required
            - `data` ConnectorVolumeSplit[], required
              - …
        - `rules` RuleConnectorSelection, required — Represents a rule
        - `metadata` object, required
    - object
      - `type` 'three_ds_decision_rule', required
      - `data` ProgramThreeDsDecisionRule, required
        - `defaultSelection` unknown, required
        - `rules` unknown, required
        - `metadata` object, required
  - `sub_merchants_enabled` boolean, nullable — A boolean value to indicate if the merchant is a sub-merchant under a master or a parent merchant. By default, its value is false.
  - `parent_merchant_id` string, nullable — Refers to the Parent Merchant ID if the merchant being created is a sub-merchant
  - `enable_payment_response_hash` boolean, nullable — A boolean value to indicate if payment response hash needs to be enabled
  - `payment_response_hash_key` string, nullable — Refers to the hash key used for calculating the signature for webhooks and redirect response.
  - `redirect_to_merchant_with_http_post` boolean, nullable — A boolean value to indicate if redirect to merchant with http post needs to be enabled
  - `metadata` object, nullable — Metadata is useful for storing additional, unstructured information on an object.
  - `publishable_key` string, nullable — API key that will be used for server side API access
  - `locker_id` string, nullable — An identifier for the vault used to store payment method information.
  - `primary_business_details` PrimaryBusinessDetails[], nullable — Details about the primary business unit of the merchant account
    - `country` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US', required
    - `business` string, required
  - `frm_routing_algorithm` object, nullable — The frm routing algorithm to be used for routing payments to desired FRM's
  - `default_profile` string, nullable — The default profile that must be used for creating merchant accounts and payments
  - `pm_collect_link_config` BusinessCollectLinkConfig — Object for GenericLinkUiConfig
    - `logo` string, nullable — Merchant's display logo
    - `merchant_name` string, nullable — Custom merchant name for the link
    - `theme` string, nullable — Primary color to be used in the form represented in hex format
    - `domain_name` string, nullable — Custom domain name to be used for hosting the link
    - `allowed_domains` string[], required — A list of allowed domains (glob patterns) where this link can be embedded / opened from
    - `enabled_payment_methods` EnabledPaymentMethod[], required — List of payment methods shown on collect UI
      - `payment_method` 'card' | 'card_redirect' | 'pay_later' | 'wallet' | 'bank_redirect' | 'bank_transfer' | 'crypto' | 'bank_debit' | 'reward' | 'real_time_payment' | 'upi' | 'voucher' | 'gift_card' | 'open_banking' | 'mobile_payment' | 'network_token', required — Indicates the type of payment method. Eg: 'card', 'wallet', etc.
      - `payment_method_types` PaymentMethodType[], required — An array of associated payment method types
  - `network_tokenization_credentials` NetworkTokeizationProviderCredentials — The credentials required for calling the network tokenization provider APIs
    - `internal_network_token_service` InternalNetworkTokenizationCredentials, required
      - `token_service_api_key` string, required — The API key to contact the network tokenization provider
      - `public_key` string, required — The public key to encrypt the card details before sending to the network tokenization provider
      - `private_key` string, required — The private key to decrypt the tokenized card details received from the network tokenization provider
      - `key_id` string, required — The key_id used in encryption

## Response `200`

Merchant Account Updated

- MerchantAccountResponse
  - `merchant_id` string, required — The identifier for the Merchant Account
  - `merchant_name` string, nullable — Name of the Merchant Account
  - `return_url` string, nullable — The URL to redirect after completion of the payment
  - `enable_payment_response_hash` boolean, required — A boolean value to indicate if payment response hash needs to be enabled
  - `payment_response_hash_key` string, nullable — Refers to the hash key used for calculating the signature for webhooks and redirect response. If the value is not provided, a value is automatically generated.
  - `redirect_to_merchant_with_http_post` boolean, required — A boolean value to indicate if redirect to merchant with http post needs to be enabled
  - `merchant_details` MerchantDetails
    - `primary_contact_person` string, nullable — The merchant's primary contact name
    - `primary_phone` string, nullable — The merchant's primary phone number
    - `primary_email` string, nullable — The merchant's primary email address
    - `secondary_contact_person` string, nullable — The merchant's secondary contact name
    - `secondary_phone` string, nullable — The merchant's secondary phone number
    - `secondary_email` string, nullable — The merchant's secondary email address
    - `website` string, nullable — The business website of the merchant
    - `about_business` string, nullable — A brief description about merchant's business
    - `address` AddressDetails — Address details
      - `city` string, nullable — The city, district, suburb, town, or village of the address.
      - `country` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US'
      - `line1` string, nullable — The first line of the street address or P.O. Box.
      - `line2` string, nullable — The second line of the street address or P.O. Box (e.g., apartment, suite, unit, or building).
      - `line3` string, nullable — The third line of the street address, if applicable.
      - `zip` string, nullable — The zip/postal code for the address
      - `state` string, nullable — The address state
      - `first_name` string, nullable — The first name for the address
      - `last_name` string, nullable — The last name for the address
      - `origin_zip` string, nullable — The zip/postal code of the origin
    - `merchant_tax_registration_id` string, nullable
  - `webhook_details` WebhookDetails
    - `webhook_version` string, nullable — The version for Webhook
    - `webhook_username` string, nullable — The user name for Webhook login
    - `webhook_password` string, nullable — The password for Webhook login
    - `webhook_url` string, nullable — The url for the webhook endpoint
    - `payment_created_enabled` boolean, nullable — If this property is true, a webhook message is posted whenever a new payment is created
    - `payment_succeeded_enabled` boolean, nullable — If this property is true, a webhook message is posted whenever a payment is successful
    - `payment_failed_enabled` boolean, nullable — If this property is true, a webhook message is posted whenever a payment fails
    - `payment_statuses_enabled` IntentStatus[], required — List of payment statuses that triggers a webhook for payment intents
    - `refund_statuses_enabled` IntentStatus[], required — List of refund statuses that triggers a webhook for refunds
    - `payout_statuses_enabled` PayoutStatus[], nullable — List of payout statuses that triggers a webhook for payouts
  - `payout_routing_algorithm` union
    - object
      - `type` 'single', required
      - `data` RoutableConnectorChoice, required — Routable Connector chosen for a payment
        - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
        - `merchant_connector_id` string, nullable
    - object
      - `type` 'priority', required
      - `data` RoutableConnectorChoice[], required
        - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
        - `merchant_connector_id` string, nullable
    - object
      - `type` 'volume_split', required
      - `data` ConnectorVolumeSplit[], required
        - `connector` RoutableConnectorChoice, required — Routable Connector chosen for a payment
          - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
          - `merchant_connector_id` string, nullable
        - `split` integer, required
    - object
      - `type` 'advanced', required
      - `data` ProgramConnectorSelection, required — The program, having a default connector selection and a bunch of rules. Also can hold arbitrary metadata.
        - `defaultSelection` union, required
          - object
            - `type` 'priority', required
            - `data` RoutableConnectorChoice[], required
              - …
          - object
            - `type` 'volume_split', required
            - `data` ConnectorVolumeSplit[], required
              - …
        - `rules` RuleConnectorSelection, required — Represents a rule
        - `metadata` object, required
    - object
      - `type` 'three_ds_decision_rule', required
      - `data` ProgramThreeDsDecisionRule, required
        - `defaultSelection` unknown, required
        - `rules` unknown, required
        - `metadata` object, required
  - `sub_merchants_enabled` boolean, nullable — A boolean value to indicate if the merchant is a sub-merchant under a master or a parent merchant. By default, its value is false.
  - `parent_merchant_id` string, nullable — Refers to the Parent Merchant ID if the merchant being created is a sub-merchant
  - `publishable_key` string, nullable — API key that will be used for server side API access
  - `metadata` object, nullable — Metadata is useful for storing additional, unstructured information on an object.
  - `locker_id` string, nullable — An identifier for the vault used to store payment method information.
  - `primary_business_details` PrimaryBusinessDetails[], required — Details about the primary business unit of the merchant account
    - `country` 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | 'US', required
    - `business` string, required
  - `frm_routing_algorithm` union
    - object
      - `type` 'single', required
      - `data` RoutableConnectorChoice, required — Routable Connector chosen for a payment
        - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
        - `merchant_connector_id` string, nullable
    - object
      - `type` 'priority', required
      - `data` RoutableConnectorChoice[], required
        - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
        - `merchant_connector_id` string, nullable
    - object
      - `type` 'volume_split', required
      - `data` ConnectorVolumeSplit[], required
        - `connector` RoutableConnectorChoice, required — Routable Connector chosen for a payment
          - `connector` 'absa_sanlam' | 'authipay' | 'adyenplatform' | 'stripe_billing_test' | 'phonypay' | 'fauxpay' | 'pretendpay' | 'stripe_test' | 'adyen_test' | 'checkout_test' | 'paypal_test' | 'aci' | 'adyen' | 'affirm' | 'airwallex' | 'amazonpay' | 'archipel' | 'authorizedotnet' | 'bankofamerica' | 'barclaycard' | 'billwerk' | 'bitpay' | 'bambora' | 'blackhawknetwork' | 'bamboraapac' | 'bluesnap' | 'calida' | 'boku' | 'braintree' | 'breadpay' | 'cashtocode' | 'celero' | 'chargebee' | 'custombilling' | 'checkbook' | 'checkout' | 'coinbase' | 'coingate' | 'cryptopay' | 'cybersource' | 'cybersourcedecisionmanager' | 'datatrans' | 'deutschebank' | 'digitalvirgo' | 'dlocal' | 'dwolla' | 'ebanx' | 'elavon' | 'envoy' | 'facilitapay' | 'finix' | 'fiserv' | 'fiservemea' | 'fiservcommercehub' | 'fiuu' | 'flexiti' | 'forte' | 'getnet' | 'gigadat' | 'givepayments' | 'globalpay' | 'globepay' | 'gocardless' | 'hipay' | 'helcim' | 'hyperpg' | 'iatapay' | 'imerchantsolutions' | 'inespay' | 'interpayments' | 'itaubank' | 'jpmorgan' | 'klarna' | 'loonio' | 'mifinity' | 'mollie' | 'moneris' | 'multisafepay' | 'nexinets' | 'nexixpay' | 'nmi' | 'nomupay' | 'noon' | 'nordea' | 'novalnet' | 'nuvei' | 'opennode' | 'paybox' | 'payme' | 'payload' | 'payone' | 'paypal' | 'paysafe' | 'paystack' | 'paytm' | 'payconex' | 'payu' | 'peachpayments' | 'payjustnow' | 'payjustnowinstore' | 'phonepe' | 'placetopay' | 'powertranz' | 'prophetpay' | 'rapyd' | 'razorpay' | 'recurly' | 'redsys' | 'revolv3' | 'riskified' | 'santander' | 'shift4' | 'signifyd' | 'silverflow' | 'square' | 'stax' | 'stripe' | 'stripebilling' | 'tesouro' | 'truelayer' | 'trustly' | 'trustpay' | 'trustpayments' | 'tokenio' | 'tsys' | 'tsys_transit' | 'volt' | 'wellsfargo' | 'wise' | 'worldline' | 'worldpay' | 'worldpaymodular' | 'worldpayvantiv' | 'worldpayxml' | 'xendit' | 'zen' | 'zift' | 'plaid' | 'zsl' | 'juspaythreedsserver' | 'ctp_mastercard' | 'ctp_visa' | 'netcetera' | 'cardinal' | 'threedsecureio', required — RoutableConnectors are the subset of Connectors that are eligible for payments routing
          - `merchant_connector_id` string, nullable
        - `split` integer, required
    - object
      - `type` 'advanced', required
      - `data` ProgramConnectorSelection, required — The program, having a default connector selection and a bunch of rules. Also can hold arbitrary metadata.
        - `defaultSelection` union, required
          - object
            - `type` 'priority', required
            - `data` RoutableConnectorChoice[], required
              - …
          - object
            - `type` 'volume_split', required
            - `data` ConnectorVolumeSplit[], required
              - …
        - `rules` RuleConnectorSelection, required — Represents a rule
        - `metadata` object, required
    - object
      - `type` 'three_ds_decision_rule', required
      - `data` ProgramThreeDsDecisionRule, required
        - `defaultSelection` unknown, required
        - `rules` unknown, required
        - `metadata` object, required
  - `organization_id` string, required — The organization id merchant is associated with
  - `is_recon_enabled` boolean, required — A boolean value to indicate if the merchant has recon service is enabled or not, by default value is false
  - `default_profile` string, nullable — The default profile that must be used for creating merchant accounts and payments
  - `recon_status` 'not_requested' | 'requested' | 'active' | 'disabled', required
  - `pm_collect_link_config` BusinessCollectLinkConfig — Object for GenericLinkUiConfig
    - `logo` string, nullable — Merchant's display logo
    - `merchant_name` string, nullable — Custom merchant name for the link
    - `theme` string, nullable — Primary color to be used in the form represented in hex format
    - `domain_name` string, nullable — Custom domain name to be used for hosting the link
    - `allowed_domains` string[], required — A list of allowed domains (glob patterns) where this link can be embedded / opened from
    - `enabled_payment_methods` EnabledPaymentMethod[], required — List of payment methods shown on collect UI
      - `payment_method` 'card' | 'card_redirect' | 'pay_later' | 'wallet' | 'bank_redirect' | 'bank_transfer' | 'crypto' | 'bank_debit' | 'reward' | 'real_time_payment' | 'upi' | 'voucher' | 'gift_card' | 'open_banking' | 'mobile_payment' | 'network_token', required — Indicates the type of payment method. Eg: 'card', 'wallet', etc.
      - `payment_method_types` PaymentMethodType[], required — An array of associated payment method types
  - `product_type` 'orchestration' | 'vault' | 'recon' | 'recovery' | 'cost_observability' | 'dynamic_routing'
  - `merchant_account_type` 'standard' | 'platform' | 'connected', required
  - `network_tokenization_credentials` NetworkTokeizationProviderCredentials — The credentials required for calling the network tokenization provider APIs
    - `internal_network_token_service` InternalNetworkTokenizationCredentials, required
      - `token_service_api_key` string, required — The API key to contact the network tokenization provider
      - `public_key` string, required — The public key to encrypt the card details before sending to the network tokenization provider
      - `private_key` string, required — The private key to decrypt the tokenized card details received from the network tokenization provider
      - `key_id` string, required — The key_id used in encryption

## Other responses

- `404` — Merchant account not found

---

[API](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0.md) · [All operations](https://skmtc.net/hyperswitch/apis/dynamic-routing-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperswitch/dynamic-routing-openapi-3-0/versions/8fbf69ab2597/schema)
