© Copyright 2006-2019 Helcim Inc.
All Rights Reserved.
Field Name | Type | Required | Description |
---|---|---|---|
action | String | Yes | transactionEFTPDF |
accountId | Integer | Yes | The Helcim Commerce account ID. |
apiToken | String | Yes | API token used for authentication and access control. |
transactionEFTId | Integer | Yes | The transaction ID. |
Field Name | Type | Description |
---|---|---|
message | - | XML structure |
response | Integer | 1 or 0. Whether the EFT/ACH transaction record was converted into a PDF or not. |
responseMessage | String | Confirmation of action taken. |
- | XML Structure | |
name | String | The pdf file name. |
content | String | BASE-64 ENCODED |
height | Decimal | The height of the PDF in millimitres. |
Response Code | Error Code | Message | Description |
---|---|---|---|
0 | - | Invalid Transaction ID | The transaction ID is invalid, or not entered. |
0 | - | Transaction Not Found | The transaction record could not be found. |
<?xml version="1.0"?>
<message>
<response>1</response>
<responseMessage>Successful</responseMessage>
<pdf>
<name>transaction-eft-174-withdrawal.pdf</name>
<content>BASE-64 Encoded</content>
<height>234.97069</height>
</pdf>
</message>
<input type="hidden" name="accountId" value="YOUR-ACCOUNT-ID">
<input type="hidden" name="apiToken" value="YOUR-API-TOKEN">
<input type="hidden" name="action" value="transactionEFTPDF">
<input type="hidden" name="transactionEFTId" value="107">