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-12-03 02:41 UTC.
Sends one of the transaction's receipts to the customer. `Email` sends the receipt as it
prints, and needs the merchant's email receipts setting on. `Text` sends a short summary: the
merchant's name, the amount, the card brand and last four digits, the date and the approval code,
with no link. A card is never identified by more than its brand and last four digits. A mobile
number that has opted out of text messages answers `200` with `sent` set to
`false`. Each receipt send is limited per API key and per transaction; past either limit the
route answers `429` with a `Retry-After` header.
Signed in, you can send this request to your own sandbox merchant from the console
and read the answer.
Sign in to try it.
Example request
Each example below is one request, shown in every language. Choose an example and a language, then replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a SendTransactionReceiptInput. See the Request body section below for its fields.
Parameters
Name
In
Type
Description
merchantIdrequired
path
string (uuid)
The merchant that owns the transaction.
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.
transactionIdrequired
path
string (uuid)
The transaction the receipt belongs to.
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.
receiptIdrequired
path
string (uuid)
The receipt to send, from the transaction's `receiptIds` or the receipt list.
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.
suppressNullsrequired
query
boolean
If true, omit properties with null 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.
How to send the receipt: `Email` or `Text`.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.
Email
An email carrying the receipt as it prints, to the email address in the request.
Text
A text message to the mobile number in the request. The text is a short summary of the receipt: the merchant's name, the amount, the card brand and last four digits, the date and the approval code. It carries no link.
emailAddressrequired
string
The email address to send the receipt to. Required when `channel` is `Email`, and must be
omitted otherwise.
Conditional: When EmailAddress is not empty. Must be a valid email.
Required: When Channel == Email.
Conditional: When Channel == Text.nullablemax length 100
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.
mobileNumberrequired
string
The mobile number to text the receipt to. Required when `channel` is `Text`, and must be
omitted otherwise. Send it in international form, such as `+15555550123`; a 10-digit number
is read as a North American number.
Conditional: When MobileNumber is not empty.
Required: When Channel == Text.
Conditional: When Channel == Email.nullablemax length 32
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 request body has no documented fields.
Responses
The send outcome. `sent` is `false` when the recipient has opted out.
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.
Email
An email carrying the receipt as it prints, to the email address in the request.
Text
A text message to the mobile number in the request. The text is a short summary of the receipt: the merchant's name, the amount, the card brand and last four digits, the date and the approval code. It carries no link.
sentrequired
boolean
Whether the message was handed to the email or text message provider. `true` does not mean
it was delivered: delivery is reported by the provider later.
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.
Why no message was sent. Present only when `sent` is `false`.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.
RecipientOptedOut
The mobile number has opted out of text messages from this merchant, for example by replying STOP. Nothing was sent, and sending again sends nothing until the recipient opts back in.
This response has no documented body fields.
The request was refused because a rate limit was exceeded, or because something a later retry can clear stopped it. A rate limit refusal carries an `application/problem+json` body: wait at least the interval `Retry-After` names before retrying, then back off. Limits are tuned per deployment, so read the allowance from the response headers rather than assuming a fixed ceiling. Any other refusal carries the standard error envelope as `application/json`, and its `error.code` names the cause.
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 response has no documented body fields.
400Bad RequestThe channel is missing or unknown, or the recipient is missing, malformed or belongs to the other
channel.
401UnauthorizedUnauthorized. The request carried no API key or signed-in session, or the key it carried is invalid, revoked or expired.
403ForbiddenThe merchant's email receipts setting is off, for an email send.
404Not FoundNo receipt with that id belongs to that transaction and is visible to this caller. A receipt of
another merchant, or of another transaction, answers the same way.
500Internal Server ErrorInternal server error. The platform failed unexpectedly while handling the request. If it keeps failing, contact support and quote the correlation id, which the response carries in the `X-Correlation-Id` header and as `error.data.correlationId`.
501Not ImplementedNot implemented. The operation is declared but has no implementation on this deployment, so no request to it can succeed. Retrying does not help.
defaultThe request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.