{
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "value",
        "value": "{{api_key}}",
        "type": "string"
      },
      {
        "key": "key",
        "value": "api-key",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "method": "POST",
  "header": [
    {
      "key": "Content-Type",
      "value": "application/json"
    },
    {
      "key": "Accept",
      "value": "application/json"
    }
  ],
  "body": {
    "mode": "raw",
    "options": {
      "raw": {
        "language": "json"
      }
    },
    "raw_json_formatted": {
      "connector_type": "payment_processor",
      "connector_name": "trustpay",
      "connector_account_details": {
        "auth_type": "SignatureKey",
        "api_key": "{{connector_api_key}}",
        "key1": "{{connector_key1}}",
        "api_secret": "{{connector_api_secret}}"
      },
      "test_mode": false,
      "disabled": false,
      "business_country": "US",
      "business_label": "default",
      "payment_methods_enabled": [
        {
          "payment_method": "bank_redirect",
          "payment_method_types": [
            {
              "payment_method_type": "ideal",
              "payment_experience": null,
              "card_networks": null,
              "accepted_currencies": null,
              "accepted_countries": null,
              "minimum_amount": 1,
              "maximum_amount": 68607706,
              "recurring_enabled": true,
              "installment_payment_enabled": true
            },
            {
              "payment_method_type": "giropay",
              "payment_experience": null,
              "card_networks": null,
              "accepted_currencies": null,
              "accepted_countries": null,
              "minimum_amount": 1,
              "maximum_amount": 68607706,
              "recurring_enabled": true,
              "installment_payment_enabled": true
            },
            {
              "payment_method_type": "sofort",
              "payment_experience": null,
              "card_networks": null,
              "accepted_currencies": null,
              "accepted_countries": null,
              "minimum_amount": 1,
              "maximum_amount": 68607706,
              "recurring_enabled": true,
              "installment_payment_enabled": true
            },
            {
              "payment_method_type": "eps",
              "payment_experience": null,
              "card_networks": null,
              "accepted_currencies": null,
              "accepted_countries": null,
              "minimum_amount": 1,
              "maximum_amount": 68607706,
              "recurring_enabled": true,
              "installment_payment_enabled": true
            }
          ]
        },
        {
          "payment_method": "card",
          "payment_method_types": [
            {
              "payment_method_type": "credit",
              "minimum_amount": 1,
              "maximum_amount": 68607706,
              "recurring_enabled": true,
              "installment_payment_enabled": true
            }
          ]
        },
        {
          "payment_method": "card",
          "payment_method_types": [
            {
              "payment_method_type": "debit",
              "minimum_amount": 1,
              "maximum_amount": 68607706,
              "recurring_enabled": true,
              "installment_payment_enabled": true
            }
          ]
        },
        {
          "payment_method": "wallet",
          "payment_method_types": [
            {
              "payment_method_type": "apple_pay",
              "payment_experience": "invoke_sdk_client",
              "minimum_amount": 1,
              "maximum_amount": 68607706,
              "recurring_enabled": true,
              "installment_payment_enabled": true
            }
          ]
        }
      ]
    }
  },
  "url": {
    "raw": "{{baseUrl}}/account/:account_id/connectors",
    "host": ["{{baseUrl}}"],
    "path": ["account", ":account_id", "connectors"],
    "variable": [
      {
        "key": "account_id",
        "value": "{{merchant_id}}",
        "description": "(Required) The unique identifier for the merchant account"
      }
    ]
  },
  "description": "Create a new Payment Connector for the merchant account. The connector could be a payment processor / facilitator / acquirer or specialised services like Fraud / Accounting etc."
}
