On This Page

{#jumplink-list}  
[Markdown](/docs/vas/en-us/sis-pax/integration/all/rest/sis-pax/semi-integrated-pymnt-svcs-intro/sis-pymnt-svcs-receipt-print-intro/sis-pymnt-svcs-receipt-print-ex-rest.md)  
Filter  
FILTER BY TAG

REST Example: Print a Customer or Merchant Receipt {#sis-pymnt-svcs-receipt-print-ex-rest}
==========================================================================================

Request

```
{
    "type": "PrintReceiptRequest",
    "transactionId": "8fe5fa21d0814424bcec4997c9dc89c4",
    "receiptType": "CUSTOMER"
}
```

Mid-Operation Status Updates  
During the operation, you might receive one or more update responses indicating the current status of the operation. You can choose to display these updates on your point-of-sale (POS) system.

```
{
      "type": "OperationStatusResponse",
      "message": "Status update to display."
}
```

Response to a Successful Request

```
{
    "type": "PrintReceiptResponse",
    "message": "Receipt printed successfully."
}
```

Response to an Unsuccessful Request  
When the request is unsuccessful, you receive an error response with details.

```
{
    "type": "ErrorResponse",
    "message": "Error message to display.",
    "developerDescription": "Detailed description of error."
}
```

RELATED TO THIS PAGE

