Skip to main content
POST
/
v1
/
ereceipt
/
generate
Generate eReceipt for your Transaction
curl --request POST \
  --url https://qa-lynx.nayax.com/operational/v1/ereceipt/generate \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "TrasactionID": 123,
  "TransactionDateTime": "2023-11-07T05:31:56Z",
  "TrasactionSiteID": 123,
  "MachineID": 123,
  "FullName": "<string>",
  "Email": "<string>"
}
'
{
  "ReceiptURL": "<string>",
  "EmailSent": true,
  "EreceiptID": 123
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Body

application/json

The details of the transaction for which the eReceipt is to be generated.

Represents the details required to generate an electronic receipt (eReceipt) for a transaction.

TrasactionID
integer<int64>

The unique identifier of the transaction for which the eReceipt is being generated.

TransactionDateTime
string<date-time>

The date and time when the transaction occurred.

TrasactionSiteID
integer<int32>

The unique identifier of the site where the transaction took place.

MachineID
integer<int64>

The unique identifier of the machine involved in the transaction.

FullName
string | null

The full name of the individual for whom the eReceipt is being generated.

Email
string | null

The email address to which the eReceipt will be sent.

Response

200 - application/json

The eReceipt was successfully generated.

Represents the response after generating an electronic receipt (eReceipt), including the receipt URL and status.

ReceiptURL
string | null

The URL where the generated eReceipt can be accessed.

EmailSent
boolean

Indicates whether the eReceipt was successfully sent via email.

EreceiptID
integer<int64>

The unique identifier of the generated eReceipt.