v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465766489.0 KB

Deletes a payment session. This permanently removes the payment session record.

post/payments/deletePaymentSession

Headers

X-Amzn-Bedrock-AgentCore-Payments-User-Idstring

The user ID making the delete request. Must match the session's userId.

Request body

paymentManagerArnstring required

The payment manager ARN. Must match the session's paymentManagerArn.

paymentSessionIdstring required

The payment session ID to delete.

Response

Success

status'ACTIVE' | 'EXPIRED' | 'DELETED' required

The status of the deletion. Always DELETED for successful hard delete.