The details of a previously entered transaction can be retrieved for display.
| URL | Method |
|---|---|
| api/{apiKey}/transaction/{transactionID} | GET |
Pass the following parameters on the URL string as shown above.
| Parameter | Description | Required |
|---|---|---|
| { | ||
| ApiKey: "string", | your api key | * |
| TransactionId: "string" | the id of a previously entered transaction | * |
| } |
This API returns the following in JSON format if the operation is successful.
| Field | Description |
|---|---|
| { | |
| Account | Merchant Account MID the transaction posted to |
| TransactionType | sale", "auth" or "credit" |
| Status |
Indicates status of transaction
|
| Level | 1, 2, or 3 |
| TransactionTime | |
| TransactionSource |
Indicates how the transation was entered:
|
| TotalAmount | |
| TaxAmount | |
| ShippingAmount | |
| CaptureAmount | If the transaction is a capture of a previous auth, the amount of the original auth |
| CustomerPONumber | |
| Description | |
| PaymentMethodId | If a stored payment method was used, its id |
| CardholderFirstName | |
| CardholderLastName | |
| CardType | |
| CardLast4 | Last 4 digits of payment card number |
| Billing { | Billing Address |
| Tag | |
| Address1 | |
| Address2 | |
| City | |
| State | |
| Postal | ZIP Code |
| Phone | |
| } | |
| ShippingAddressId | If a stored shipping address was used, its id |
| Shipping { | Shipping Address |
| Tag | |
| Address1 | |
| Address2 | |
| City | |
| State | |
| Postal | ZIP Code |
| Phone | |
| } | |
| CustomerId | If a customer was associated, its id |
| CustomerName | |
| LineItems [ | Array of line items |
| { | |
| ID | |
| Commodity Code | |
| Description | |
| Price | |
| ProductCode | |
| Unit of Measure | |
| } | |
| ] | |
| ID | 0 (disregard this field) |
| Success | true (disregard this field) |
| Message | null (disregard this field) |
| } |