sendmock payments gateways create
Add a custom gateway.
sendmock payments gateways create [flags]
| Flag | Type | Description |
|---|---|---|
| --name <name>required | string | The new gateway's name.Example: Upay |
| --key <key>required | string | Its key in the API and in /providers/<key>/... paths; lowercase, fixed after creation.Example: upay |
| --start-from <start-from> | string | A gateway to copy (methods, redirect and notification), or null for blank.Example: bkash |
Example
sendmock payments gateways create --name Upay --key upay --start-from bkash
Output with --json: PaymentGatewayDefinition. Exit codes: 0, 1, 2.
- API
- POST
/api/v1/payments/gateways - MCP tool
sendmock_payment_gateway_create- In the app
- Payments > Gateways > Add gateway