{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-payment-connector-response-schema.json",
  "title": "UpdatePaymentConnectorResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-connectors-api-openapi.yml#/components/schemas/UpdatePaymentConnectorResponse",
  "type": "object",
  "properties": {
    "paymentConnectorId": {
      "type": "string",
      "description": "The unique identifier of the updated payment connector."
    },
    "paymentManagerId": {
      "type": "string",
      "description": "The unique identifier of the parent payment manager."
    },
    "name": {
      "type": "string",
      "description": "The name of the updated payment connector."
    },
    "type": {
      "type": "string",
      "enum": [
        "CoinbaseCDP",
        "StripePrivy"
      ],
      "description": "The type of the updated payment connector."
    },
    "credentialProviderConfigurations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CredentialsProviderConfiguration"
      },
      "description": "The credential provider configurations for the updated payment connector."
    },
    "lastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the payment connector was last updated."
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATING",
        "UPDATING",
        "DELETING",
        "READY",
        "CREATE_FAILED",
        "UPDATE_FAILED",
        "DELETE_FAILED",
        "AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED",
        "PENDING_AUTHENTICATION",
        "PROVISIONING",
        "AUTHENTICATION_EXPIRED",
        "AUTHENTICATION_FAILED"
      ],
      "description": "The current status of the updated payment connector. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED."
    },
    "authorizationUrl": {
      "type": "string",
      "description": "The URL that the user must open to complete OAuth consent. This field is only present when the payment connector status is PENDING_AUTHENTICATION."
    }
  },
  "required": [
    "paymentConnectorId",
    "paymentManagerId",
    "name",
    "type",
    "credentialProviderConfigurations",
    "lastUpdatedAt",
    "status"
  ],
  "$defs": {
    "CredentialsProviderConfiguration": {
      "type": "object",
      "properties": {
        "coinbaseCDP": {
          "$ref": "#/$defs/PaymentCredentialProviderConfiguration"
        },
        "stripePrivy": {
          "$ref": "#/$defs/PaymentCredentialProviderConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "PaymentCredentialProviderConfiguration": {
      "type": "object",
      "properties": {
        "credentialProviderArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the credential provider that stores the authentication credentials for the payment provider."
        }
      },
      "required": [
        "credentialProviderArn"
      ]
    }
  }
}