Get a specific transaction

Retrieves detailed information about a specific transaction.

get/shopwired-payments/transactions/{transaction_id}

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/shopwired-payments/transactions/{transaction_id}
  • Auth
    HTTP basic

Path parameters

transaction_idstring required

The unique identifier of the transaction.

Query parameters

fieldsstring

Comma-separated list of fields to include in the response.

Response

The transaction details.

idstring

Unique identifier for the transaction.

createdAtstring date-time

Timestamp when the transaction was created.

amountinteger

Transaction amount in minor currency units (e.g. pence).

currencystring

Three-letter ISO currency code.

orderIdstring nullable

Associated order ID, if available.

paymentTypestring

Type of payment used.

descriptionstring

Transaction description.

statementDescriptorstring

Text that appears on the customer’s bank statement.

feeAmountinteger

Total fee amount in minor currency units.

refundedAmountinteger

Total refunded amount in minor currency units.

fraudulentboolean

Indicates whether the transaction was flagged as fraudulent.

riskLevelstring

Risk assessment level.

Example response

{
  "currency": "GBP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.