Helcim Logo Support & Tutorials

© Copyright 2006-2018 Helcim Inc.

All Rights Reserved.

Helcim Commerce API » Transactions » Card Transactions »

Send a Transaction Receipt

This API call let's you email a transaction receipt. The response is an XML of emailing a transaction receipt.

Request Fields

Field Name Type Required Description
action String Yes transactionEmailReceipt
accountId Integer Yes The Helcim Commerce account ID.
apiToken String Yes API token used for authentication and access control. 
transactionId String Yes The transaction ID.
emailAddress String Yes The email address the receipt is being sent to.

Response Fields (XML)

Field Name Type Description
message - XML structure
response Integer 1 or 0. Whether the transaction receipt was emailed or not.
responseMessage String Confirmation of action taken.


For all API requests, there are also generic API authentication and user access restriction errors.
Response Code Error Code Message Description
0 - Invalid Transaction ID The transaction ID is invalid, or not entered.
0 - Invalid Email Address The email address entered is invalid.
0 - Failed Sending Email The email could not be sent.

Code Samples

Sample Transaction Email Receipt Response XML

<?xml version="1.0"?>
    <responseMessage>Email Sent</responseMessage>

HTML Form Sample HTML

<input type="hidden" name="accountId" value="YOUR-ACCOUNT-ID">
<input type="hidden" name="apiToken" value="YOUR-API-TOKEN">
<input type="hidden" name="action" value="transactionEmailReceipt">
<input type="hidden" name="transactionId" value="112094">
<input type="hidden" name="emailAddress" value="info@helcim.com">