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:57 UTC.

API reference Models

CashPolicyDto

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

The merchant's rules for sales and refunds taken in cash. Additive and optional on the merchant create, update and read surfaces: a caller that omits it keeps today's behavior, which is that no cash rule applies.

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
maxTransactionAmount required number (double) The largest amount a single cash sale may be, in major units of the transaction currency (500.00 means five hundred). Omitted or null sets no maximum. Zero or greater when set. Conditional: When MaxTransactionAmount is not null. Must be >= 0. 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.
managerApprovalThreshold required number (double) The amount above which a cash sale needs a manager's approval, in major units of the transaction currency. Omitted or null never requires approval. Zero or greater when set, and no greater than `maxTransactionAmount` when both are set. Conditional: When ManagerApprovalThreshold is not null. Must be >= 0. Conditional: When ManagerApprovalThreshold is not null and MaxTransactionAmount is not null. 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.
refundPolicy required CashRefundPolicy CashRefundPolicy How a sale paid in cash is refunded. Omitted or null means `ManagerDiscretion`, which leaves the choice to the person taking the refund. Conditional: When RefundPolicy is not null. 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.
CashBack The refund is paid out in cash.
StoreCredit The refund is issued as store credit rather than cash.
OriginalTenderOnly The refund goes back only to the tender the sale was paid with, and no other refund method is offered.
ManagerDiscretion A manager decides how each refund is paid.
tillTrackingRequired required boolean Whether a cash transaction has to name the till (cash drawer) it was taken into. Omitted or null does not require one. 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.
allowNonTerminalSources required boolean Whether a cash transaction may be recorded from a source other than the Virtual Terminal, such as the API, recurring billing, invoicing or an offline batch. Omitted, null and `true` allow it; only `false` restricts cash to the Virtual Terminal. 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.
cashBackRefundMaxAmount required number (double) The largest refund of a cash sale that may be paid back in cash, in major units of the transaction currency. Omitted or null sets no cap. Zero or greater when set, and no greater than `maxTransactionAmount` when both are set. Conditional: When CashBackRefundMaxAmount is not null. Must be >= 0. Conditional: When CashBackRefundMaxAmount is not null and MaxTransactionAmount is not null. 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.

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.