weavr-simulator
Use when testing Weavr integrations in sandbox - simulate deposits, card transactions, KYC/KYB verification, wire transfers, and 2FA challenges
When & Why to Use This Skill
The Weavr Simulator skill is a specialized developer tool designed to streamline the testing and validation of Weavr financial integrations within a sandbox environment. It allows developers to programmatically simulate complex financial workflows—such as transaction processing, identity verification, and security challenges—without the need for real-world assets, significantly accelerating the development lifecycle and ensuring API reliability.
Use Cases
- End-to-End Payment Testing: Simulate card purchases, merchant refunds, and deposits to verify that your application handles various transaction states and ledger updates correctly.
- Automated Identity Onboarding: Mock successful KYC (Know Your Customer) and KYB (Know Your Business) verifications to test user registration and compliance workflows without manual document review.
- Wire Transfer Simulation: Trigger and manage incoming or outgoing wire transfers to validate notification systems, webhooks, and fund reconciliation logic.
- Security Flow Validation: Programmatically pass 2FA (Two-Factor Authentication) challenges to ensure that multi-factor authentication loops are correctly integrated into the user experience.
- Sandbox Environment Management: Use the simulator to reset or prepare specific account states for regression testing or automated CI/CD pipelines.
| name | weavr-simulator |
|---|---|
| description | Use when testing Weavr integrations in sandbox - simulate deposits, card transactions, KYC/KYB verification, wire transfers, and 2FA challenges |
Weavr Simulator API
API Reference: https://weavr-simulator-api.redoc.ly/
Sandbox-only testing tool for simulating financial operations.
Quick Start
// Simulate account deposit - POST /accounts/{account_id}/deposit
// Header: api-key (API_Secret_Key)
{
"depositAmount": { "currency": "GBP", "amount": 10000 },
"senderName": "Test Sender",
"reference": "Test deposit"
}
// Response: { "code": "COMPLETED" }
Core Endpoints
| Category | Endpoint | Purpose |
|---|---|---|
| Accounts | POST /accounts/{id}/deposit |
Simulate incoming wire transfer |
| Cards | POST /cards/{id}/purchase |
Simulate card transaction |
| Cards | POST /cards/{id}/merchant_refund |
Simulate refund |
| Identity | POST /consumers/{id}/verify |
Auto-verify consumer KYC |
| Identity | POST /corporates/{id}/verify |
Auto-verify corporate KYB |
| Transfers | POST /wiretransfers/outgoing/{id}/accept |
Complete OWT |
| Transfers | POST /wiretransfers/outgoing/{id}/reject |
Reject OWT |
| 2FA | POST /factors/{cred_id}/challenges/{id}/verify_success |
Pass 2FA |
Authentication
Header: api-key with your API Secret Key (not the regular api-key)
Reference Files
See references/endpoints.md for full endpoint details and request bodies.