Skip to main content (Press Enter)
Helcim Logo
Click here if you return to contents

Create a Transaction PDF

This API call let's you create a pdf file from a transaction record. The response is an XML of the transaction PDF action.

Request Fields

Field Name Type Required Description
action String Yes transactionPDF
accountId Integer Yes The Helcim Commerce account ID.
apiToken String Yes API token used for authentication and access control.
transactionId Integer Yes The transaction ID.

Response Fields (XML)

Field Name Type Description
message - XML structure
response Integer 1 or 0. Whether the transaction record was converted into a PDF file or not.
responseMessage String Confirmation of action taken.
pdf - XML Structure
name String The pdf file name.
content String BASE-64 ENCODED
height Decimal The height of the PDF in millimitres.

Errors

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.

Related Articles

View a Transaction
List Transactions
Helcim Fraud Defender
Save a Transaction Signature
View a Transaction Signature
Send a Transaction Receipt
View a Batch

Was this article helpful?

Feedback submitted - Thank you!
Click here if you return to the content