Integration Module 2.0 for Medusa is outRead the announcement
B

Bold

Comprehensive Bold Colombia payment integration for Medusa v2 supporting Button, Links, Online API (Cards, PSE, Nequi, QR), and Smart POS Terminals.

npm install @vicacha-devs/medusa-payment-bold
Category
Built by
Version
0.1.1
Last updated
4 days ago
Monthly downloads
Loading downloads

Comprehensive Bold Colombia 4-channel payment suite (, , , ), Admin operations widget, real-time SSE status streaming, HMAC-SHA256 webhook verification, and built-in QA Gateway Emulator for Medusa v2.

Medusa compatibility: · Node.js:


Payment Providers (4 Channels)

Provider IDMedusa Registration IDBold API EndpointUse Case
Shareable payment links with VAT breakdown & nanosecond expiration
Dynamic QR (, , ), Cards, PSE, Nequi, Bancolombia
SHA-256 integrity hash + Storefront Bold Boton de Pagos checkout with deterministic /
+ Physical Smart POS Dataphone payment dispatch

Configuration ()

SSRF Protection: strictly enforces that base URL overrides use or loopback / (environment fallbacks are ignored when ).


REST API & Webhooks

MethodRouteDescription
Zod-validated Payment Link creation via ()
Zod-validated QR session creation (), returns
Zod-validated Button session creation () with SHA-256 /
Lists bound POS dataphones ()
Zod-validated POS dataphone checkout dispatch ()
Queries Medusa payment session status by
Server-Sent Events () polling Bold & auto-capturing on authorization
Full or partial refund via ()
Active PSE financial institutions ()
Merchant enabled Integration API methods
Payment Link API method min/max limits
Fail-closed HMAC-SHA256 ( + ) webhook verifier with amount & currency validation

Automated 4-Channel QA & Bold QA Emulator

You do not need a physical Bold dataphone or live sandbox credentials to test Payment Links, QR Codes, Checkout Buttons, POS Terminals, Webhooks, SSE Streaming, or Refunds.

1. Run Offline 4-Channel Use-Case Suite (, Zero Docker)

Executes and over real loopback HTTP against :

  • Payment Link: Zod validation -> VAT calculation ( + ) -> signed HMAC webhook -> partial refund + over-refund rejection.
  • QR Code: & intents -> approval & status transitions.
  • Checkout Button: Deterministic SHA-256 hash verification -> voucher lookup authorization -> full refund.
  • POS Terminal: Bound terminal discovery -> dataphone push -> Approved Tap with live SSE auto-capture stream, Declined Card (), and unbound terminal handling.
  • Security & Fault Injection: Missing/forged HMAC (), tampered webhook amount (rejected), SSRF non-loopback rejection, and Bold error mapping.

2. Run Standalone Bold QA Emulator (for Local Dev & Playwright E2E)

QA Control Endpoints on the running emulator:

  • — Emulator health check
  • — Inspect all captured Bold API requests & headers
  • — Body transitions payment status and delivers a real HMAC-SHA256 signed webhook
  • — Inject deterministic / / faults on the next matching request
  • — Reset emulator ledger

3. Full-Stack Playwright E2E & Weekly Live Sandbox Check


License

MIT © Vicacha Devs