SplitTenderContextDto
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
The split-tender membership of a single transaction, plus the running balance the group has collected so far. Lets a caller render "tender 2 of 3, $40.00 still owed" without fetching and summing every member of the group itself.
Values
Fields
| Field | Type | Description | ||||
|---|---|---|---|---|---|---|
splitTenderGroupId
required |
string (uuid) | Identifier shared by every tender in the group.
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.
| ||||
sequence
required |
integer (int32) | 1-based position of the transaction this context was assembled for.
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.
| ||||
role
required |
SplitTenderRole SplitTenderRole | Whether the transaction this context was assembled for is the group's primary tender or a
continuation.
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.
| ||||
totalRequestedAmount
required |
number (double) | The order total the group is collecting toward, in major currency units: the order total
declared on the primary tender's create request when one was declared, otherwise the amount
originally requested on the primary tender. When a surcharged payment was partially approved and
the split tender opened on it, this is the amount requested less its surcharge, and each further
payment is surcharged on its own share.
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.
| ||||
totalApprovedAmount
required |
number (double) | What the tenders in the group have collected, in major currency units: each card's approved
amount, less anything reversed or refunded. A voided or declined tender, and one still being
authorized, contributes nothing. When the order total was declared with
`requestedSplitTenderTotalExcludesFees`, or the split tender opened on a surcharged payment
that was partially approved, each payment counts without its own fee (its surcharge, or a
convenience fee included in its total), and `feesAmount` states the fees; otherwise a
fee counts toward the order total like the rest of the payment.
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.
| ||||
remainingAmount
required |
number (double) | What is still owed, in major currency units: `totalRequestedAmount` minus
`totalApprovedAmount`. Zero once the group has collected the full order total.
While another payment in the group is still being authorized, an additional payment for this
full amount is refused until that payment resolves. When a check payment in a completed group
is returned by the bank, this is the amount the return left unpaid; the group does not reopen
for further payments. Submit this as the next payment's amount rather than working it out from
the partial approval's requested and approved amounts or its balance due, which include any
surcharge on the whole order.
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.
| ||||
tenderCount
required |
integer (int32) | Number of tenders currently in the group, including voided ones (they remain part of the
audit trail).
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.
| ||||
occupiedTenderCount
required |
integer (int32) | Number of tenders that collected, or are collecting, something: the primary plus every other
tender holding an amount above zero. This is what the merchant's maximum counts, so a declined
or voided attempt leaves room for another payment.
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.
| ||||
maxTenders
required |
integer (int32) | The most tenders the merchant allows in one split-tender group, the primary included.
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.
| ||||
returnedAmount
required |
number (double) | What the bank took back from the group after it completed, in major currency units: the sum of
every check payment returned (for example, for insufficient funds) once the group had already
collected its order total. Already taken off `totalApprovedAmount` and added back
to `remainingAmount`. Null when no payment in the group has been returned.
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.
| ||||
dualPricingCardPricedAmount
required |
number (double) | Present only when the merchant runs dual pricing on split tenders, so that each payment in the
group is priced on its own share: a card pays the card price for its share, and a cash or bank
payment pays the cash price. The group's amounts are then stated at the cash price:
`totalRequestedAmount` is the order's cash price, and `totalApprovedAmount`
and `remainingAmount` count each payment charged the card price at its cash price
(what it was charged less the difference between the two prices). This is the part of
`totalApprovedAmount` that payments charged the card price cover, at the cash price, in
major currency units; zero when none has been. Send an additional payment for the cash price you
want to collect: a card payment is charged the card price on it. Null for every other group.
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.
| ||||
feesAmount
required |
number (double) | Present only when the order total was declared with `requestedSplitTenderTotalExcludesFees`
set to `true`, or the split tender opened on a surcharged payment that was partially
approved. The group's amounts then exclude fees: `totalApprovedAmount` and
`remainingAmount` count each payment at what it was approved for less its surcharge and
less a convenience fee included in its total. This is those fees, in major currency units: what
the payments were charged and still hold, less `totalApprovedAmount`. A refund lowers
both. A convenience fee charged as its own transaction is not included. Zero when no payment
carried a fee; null for every other group.
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.