How to enable Mock SMS on a merchant.
Authvia allows merchants to expand their communication reach by leveraging the Authvia platform to engage with customers across multiple messaging channels, such as SMS, email, and other supported conversational interfaces. This enhances customer interaction and streamlines the payment and support experience. Developers and QAs can use this mock setup to simulate communication with customers via SMS. Configuring this mock product helps test how messages are sent, formatted, and received across various conversational touchpoints, supporting multi-channel readiness without sending real messages.
Features
✅ Messaging SMS messages can be delivered using Mock. ✅ Message Status SMS messages sent over Mock will have their status updated with delivery information.
Resources
Configuration
No configuration is required.
This table describes the required or possible attributes needed to configure a merchant product for this type.
Name | Type | Description | Rules |
---|---|---|---|
audience | string | (required) The audience for the service. Examples: user. | |
countries | array | A list of countries supported by the service. Examples: us,ca. |
Features
All messaging products support the following features
attributes.
Name | Values | Description |
---|---|---|
noAuthcode | true or false (default) | All messages sent to customers using this product will never include an authorization response code. |
Enabling this Product
Using create-merchant-product API you can add a new product to your merchant record. Below is an example configuration for the payload of that request.
{
"line": "messaging",
"product": "sms",
"provider": "mock",
"config": {
"audience": "user",
"countries": [
"us",
"ca"
]
}
}