Skip to content

Bedrock Agentcore Control  >  Operations  >  create_payment_credential_provider

create_payment_credential_provider

Operation

create_payment_credential_provider async

create_payment_credential_provider(input: CreatePaymentCredentialProviderInput, plugins: list[Plugin] | None = None) -> CreatePaymentCredentialProviderOutput

Creates a new payment credential provider for storing authentication credentials used by payment connectors to communicate with external payment providers.

Parameters:

Name Type Description Default
input CreatePaymentCredentialProviderInput

An instance of CreatePaymentCredentialProviderInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreatePaymentCredentialProviderOutput

An instance of CreatePaymentCredentialProviderOutput.

Input

CreatePaymentCredentialProviderInput dataclass

Dataclass for CreatePaymentCredentialProviderInput structure.

Attributes

credential_provider_vendor class-attribute instance-attribute
credential_provider_vendor: PaymentCredentialProviderVendorType | None = None

The vendor type for the payment credential provider (e.g., CoinbaseCDP, StripePrivy).

name class-attribute instance-attribute
name: str | None = None

Unique name for the payment credential provider.

provider_configuration_input class-attribute instance-attribute
provider_configuration_input: PaymentProviderConfigurationInput | None = None

Configuration specific to the vendor, including API credentials.

tags class-attribute instance-attribute
tags: dict[str, str] | None = None

Optional tags for resource organization.

Output

CreatePaymentCredentialProviderOutput dataclass

Dataclass for CreatePaymentCredentialProviderOutput structure.

Attributes

credential_provider_arn instance-attribute
credential_provider_arn: str

The Amazon Resource Name (ARN) of the created payment credential provider.

credential_provider_vendor instance-attribute
credential_provider_vendor: PaymentCredentialProviderVendorType

The vendor type for the created payment credential provider.

name instance-attribute
name: str

The name of the created payment credential provider.

provider_configuration_output instance-attribute
provider_configuration_output: PaymentProviderConfigurationOutput

Output configuration (contains secret ARNs, excludes actual secret values).