Set up a payment auth and connector for your payment service provider
Before you take a payment, connect your payment service provider account to a Payment Manager. You do this once for each payment service provider account:
-
Collect your payment service provider account details.
-
Store them in AgentCore Identity as a payment auth, also called a payment credential provider.
-
Create a payment connector in your Payment Manager that references the payment auth.
Each payment service provider page lists the payment methods that the provider supports.
You can do all three steps in the console, or with the AWS CLI or AWS SDK. For AWS CLI and AWS SDK steps, and where to find each value, see the following pages:
Topics
Set up a payment service provider connector in the console
You can add a payment service provider connector when you create a Payment Manager, or add one to an existing Payment Manager. Each connector uses a payment auth that stores the payment service provider credentials.
To start a Payment Manager
-
Open the Amazon Bedrock AgentCore console
. -
In the navigation pane, under Connections, choose Payments.
-
Choose Payment managers.
-
Choose Create payment manager.
-
Complete Define payment manager details. For the fields on this page, see Create a Payment Manager and Connector.
-
Choose Next.
To add a payment service provider connector
-
On Add payment connector, for Name, enter a name for the connector. Valid characters are
a–z,A–Z, and0–9. The name must start with a letter and can have up to 48 characters. -
For Payment type, choose Payment accounts for e-commerce.
-
For Payment auth, choose an existing payment auth. To create one, choose Create new, and then follow the next procedure. If a payment auth that you just created doesn’t appear, choose Refresh payment auths.
-
To add a connector for another payment service provider, choose Add connector, and then repeat steps 1 to 3.
-
Choose Next.
-
Review the settings.
-
Choose Create.
To create a payment auth
-
In the Create payment auth panel, for Payment provider, choose Stripe, PayPal, or Amazon Pay.
-
For Payment auth name, enter a name. Valid characters are
a–z,A–Z,0–9, underscore (_), and hyphen (-). -
Enter the values for your payment service provider. For the fields, see the table that follows this procedure.
-
Choose Create payment auth. The console stores the credentials in AgentCore Identity and selects the new payment auth for the connector.
The following table lists the fields for each payment service provider.
| Payment service provider | Fields |
|---|---|
|
Amazon Pay |
Merchant ID, Store ID, Authorization token (the MWS authorization token), Region (North America or Europe (including UK)), and the environment (Sandbox or Live). For where to find each value, see Get your Amazon Pay merchant details. |
|
Stripe |
Restricted API key. For more information, see Get your Stripe keys. |
|
PayPal |
Client ID, Client secret, and the environment (Sandbox or Live). For more information, see Get your PayPal app credentials. |
The environment is Sandbox by default. Choose Live to take real payments.
You can also create a payment auth before you create the Payment Manager. In the navigation pane, under Connections, choose Outbound Auth, and then choose Add Payment Auth. On this page, the fields are named Name, Provider, and the fields under Provider configurations. The name can have up to 50 characters.
To add a payment service provider connector to an existing Payment Manager, open the Payment Manager. In the Payment connectors section, choose Add. The Create payment connector page has the same Name, Payment type, and Payment auth fields.
The connector details page shows the connector status, the payment service provider, and the associated payment auth.