View as Markdown

llms.txt

The API reference isn't available right now

This instance couldn't load its API specification. The reference returns as soon as the specification is readable again.

Back to the API reference

No such model

This instance publishes no model under that name. It may have been renamed, or no operation this installation serves uses it.

Back to the API reference

This reference may be out of date

This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-10-22 22:52 UTC.

API reference Models

SmsConsentCheckResultDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Result of a send-time pre-check: whether SMS may be sent to a phone number for a merchant scope. A send UI uses this to disable the SMS channel for an opted-out recipient before the operator sends (e.g. the invoice pay-link send dialog).

Values

Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.

Fields

Field Type Description
phoneNumber required string The E.164-normalized number the check was resolved against. Empty when the input could not be normalized. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
merchantId required string (uuid) Merchant scope the check was evaluated in. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
hasRecord required boolean `true` when a consent record exists for this number in scope.
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
status required SmsConsentStatus SmsConsentStatus The record's current status, or `null` when no record exists. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
OptedIn The recipient has expressly consented to receive SMS from this merchant. Sends are allowed.
OptedOut The recipient has revoked consent (STOP keyword, carrier unsubscribe, or an operator action). The send-time gate blocks every SMS to this number for this merchant until a re-opt-in is recorded.
isOptedOut required boolean `true` when the recipient has opted out: the SMS channel should be disabled.
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
canSendSms required boolean `true` when a send is currently allowed by the consent store. This is the inverse of `isOptedOut`: no record and opted-in both allow. (Whether express consent is <em>required</em> before the first send is a caller policy decision, not enforced here.)
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.

This model has no documented fields.

Reconnecting to the server

Could not reconnect

This session has ended

Attempt 1

Your work on this page is still here. Retrying keeps it; reloading starts the page again.

The server no longer holds this page's state, so it has to be loaded again.