Back to catalog / Agent workflows
Handle mock card transactions and schedule payment via WhatsApp
Use a fictional fintech assistant to retrieve mock transactions or schedule a test payment from a WhatsApp message and return a clear receipt.
Goal
Turn a WhatsApp message into an auditable transaction lookup or simulated repayment operation.
Steps
- Install the sample Meta WhatsApp app on a test number and configure webhook/Bedrock credentials. [src10-strands-handle-mock-card-transaction-and-payment-via-whatsapp]
- Use get_transactions for the requested date range of fictional card activity; confirm amount, due date, and account label first. [src10-strands-handle-mock-card-transaction-and-payment-via-whatsapp]
- For a payment request, call the sample put_payment to schedule a simulated payment and return its status in the same conversation. [src10-strands-handle-mock-card-transaction-and-payment-via-whatsapp]
How to verify
Check results against sample transaction IDs; a payment request should return a simulated status and WhatsApp receipt with no real card or bank record.
Troubleshooting
If the webhook does not fire, check test-number subscription and signature; if payment status repeats, deduplicate by sample transaction ID before replying.
Permissions
Prerequisites
- A test Meta WhatsApp Business app, Bedrock access, the sample fictional transaction service, and a test number.
Permissions
- Reads fictional transactions; put_payment writes a sample payment schedule and sends a WhatsApp reply. Do not connect real financial accounts or customer numbers.
Limitations
The sample is for a fictional fintech flow only; it must not initiate real repayments, transfers, or credit decisions.
Pinned upstream source
- Repository
- strands-agents/samples
- File path
- python/04-industry-use-cases/finance/whatsapp-fintech/README.md
- Pinned commit
bd46f959844424a9544133e1263c8eae61e7fe9b- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: Apache-2.0
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief