Skip to content

Creates a new payment connector for a payment manager

Description

Creates a new payment connector for a payment manager. A payment connector integrates with a supported payment provider to enable payment processing capabilities.

Usage

bedrockagentcorecontrol_create_payment_connector(paymentManagerId, name,
  description, type, credentialProviderConfigurations, provisionMode,
  clientToken)

Arguments

  • paymentManagerId

    [required] The unique identifier of the payment manager to create the connector for.

  • name

    [required] The name of the payment connector.

  • description

    A description of the payment connector.

  • type

    [required] The type of payment connector, which determines the payment provider integration.

  • credentialProviderConfigurations

    [required] The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.

  • provisionMode

    The provision mode for creating the payment connector. If you don't specify a value, the default is MANUAL.

    • MANUAL - You provide the credential provider configurations directly.
    • QUICK_CREATE - The service orchestrates OAuth consent and provisions the credential provider for you.
  • clientToken

    A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

Value

A list with the following syntax:

list(
  paymentConnectorId = "string",
  paymentManagerId = "string",
  name = "string",
  type = "CoinbaseCDP"|"StripePrivy",
  credentialProviderConfigurations = list(
    list(
      coinbaseCDP = list(
        credentialProviderArn = "string"
      ),
      stripePrivy = list(
        credentialProviderArn = "string"
      )
    )
  ),
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  status = "CREATING"|"UPDATING"|"DELETING"|"READY"|"CREATE_FAILED"|"UPDATE_FAILED"|"DELETE_FAILED"|"AWS_MARKETPLACE_SUBSCRIPTION_REQUIRED"|"PENDING_AUTHENTICATION"|"PROVISIONING"|"AUTHENTICATION_EXPIRED"|"AUTHENTICATION_FAILED",
  authorizationUrl = "string"
)

Request syntax

svc$create_payment_connector(
  paymentManagerId = "string",
  name = "string",
  description = "string",
  type = "CoinbaseCDP"|"StripePrivy",
  credentialProviderConfigurations = list(
    list(
      coinbaseCDP = list(
        credentialProviderArn = "string"
      ),
      stripePrivy = list(
        credentialProviderArn = "string"
      )
    )
  ),
  provisionMode = "MANUAL"|"QUICK_CREATE",
  clientToken = "string"
)