Preview: SendMock has no stable release yet. These docs follow develop.
SendMock
Advanced

Advanced

Customize the built-in features and create your own gateways, methods, flows, templates, rules, routes and outcomes.

The recipes use what SendMock ships. These pages show how to change it, and how to create what it does not ship. Each one has the steps in the UI, the same in the seed file or CLI, how to undo, and what still needs code.

Everything here can also be done by an AI agent: see Build it with AI.

Payments

PageCreate or change
Create a payment gatewaya complete gateway SendMock does not ship, from its docs to a working checkout, redirect and notification
Create an email provideran email API SendMock does not ship, from its docs to a working provider
Create an SMS providera regional or smaller SMS vendor, from its docs to a working provider with its own error codes
Create a payment methoda wallet, bank or card method with its own test values
Create a payment flowthe steps a checkout asks for, with your own labels

Webhooks

PageCreate or change
Create and edit templatesthe shape of a request: edit a built-in, clone, write your own, share with your team
Request editorbody modes, Strict or Lenient rendering, custom signatures
Variables in depthvalues from the message, random values, computed values, prompts, secrets
Rules and filtersexact filters with groups, not, headers and regex
Inbound routes in depthreply routing by ticket, store and notify, Mailgun's Routes API

Capture

PageCreate or change
Catcher responseshow a bin answers: rules by path, templated bodies, delays, failure rates
Email outcome addressesyour own addresses that bounce, defer, complain or are rejected
SMS outcome numbersyour own numbers that fail, arrive late or are read
OTP patternsyour app's code format
Numbers and Messaging Servicesreply webhooks, fallbacks and sender pools
ChaosSMTP rejections, latency and dropped connections

Sharing and automation

PageCreate or change
Seed fileyour setup as a file in your repository, for your team and CI
Scenariosmulti-step tests you write once and run again

What still needs code

Almost everything is data you can change. A few things need a change to SendMock itself: a new checkout step type, a new HTTP Catcher preset, and a provider's API calls beyond what a gateway or provider emulation already answers. Ask for them with a provider request issue (Help menu > Request a feature).

On this page