This API call lets you process a credit card (external) transaction. The response is an XML of the credit card (external) transaction.
Request Fields
Field Name |
Type |
Required |
Description |
transactionOtherType |
String |
Yes |
creditCard |
accountId |
Integer |
Yes |
The Helcim Commerce account ID. |
apiToken |
String |
Yes |
API token used for authentication and access control. |
orderNumber |
Integer |
Yes |
The order number. |
amount |
Decimal |
No |
The transaction amount. |
currency |
String |
Yes |
The transaction currency. |
Response Fields (XML)
Field Name |
Type |
Description |
message |
- |
XML structure |
response |
Integer |
1 or 0. Whether the transaction was approved or declined. |
responseMessage |
String |
Result of credit card (external) transaction. |
transactionOther |
- |
XML structure |
id |
String |
The transaction ID |
ternderType |
String |
The tender type used (cash, check, bank transfer, cash on delivery, credit card (external) transaction, debit card (external) transaction, misc). |
date |
String |
The date of the transactions. |
time |
String |
The time of the transaction. |
amount |
Decimal |
The amount of the transactions. |
currency |
String |
The transaction currency. |
Errors
For all API requests, there are also generic API authentication and user access restriction errors.
Response Code |
Error Code |
Message |
Description |
0 |
- |
Missing Fields - Currency |
The currency field was not entered. |
0 |
- |
Missing Order Number |
The order number is missing. |