Skip to content

Create Payment Connector

bedrockagentcorecontrol_create_payment_connector R Documentation

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, 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.

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"
)

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"
      )
    )
  ),
  clientToken = "string"
)