The “List Transactions” API allows to retrieve a paginated list of transactions. Customize your results by filtering transactions based on name, alt type, transaction status, payment mode, date range, type of source, contact, subscription id, entity id or paginate through the list using the provided query parameters. This endpoint provides a straightforward way to explore and retrieve transaction information.
Autorización
Bearer token generado desde el portal Leadway. Ver Autenticación .
Version string
default: "2021-07-28"
required
Versión de la API.
Query parameters
locationId string
default: "3SwdhCu3svxI8AKsPJt6"
LocationId is the id of the account.
altId string
default: "3SwdhCu3svxI8AKsPJt6"
required
AltId is the unique identifier e.g: account id.
altType string
default: "account"
required
AltType is the type of identifier.
startAt string
default: "2024-02-01"
Starting interval of transactions.
endAt string
default: "2024-02-13"
Closing interval of transactions.
Source of the transactions.
entitySourceSubType string
default: "two_step_order_form"
Source sub-type of the transactions.
search string
default: "Awesome transaction"
The name of the transaction for searching.
subscriptionId string
default: "sub_1KGcXDCScnf89tZoVkoEMCEL"
Subscription id for filtering of transactions.
entityId string
default: "61dd0fe9c077f73e67f78803"
Entity id for filtering of transactions.
contactId string
default: "XPLSw2SVagl12LMDeTmQ"
Contact id for filtering of transactions.
The maximum number of items to be included in a single page of results
The starting index of the page, indicating the position from which the results should be retrieved.
Respuestas
200 - Successful response
An array of transactions _id string
default: "61dd0feac077f72010f78804"
required
The unique identifier for the transaction.
altId string
default: "3SwdhCu3svxI8AKsPJt6"
required
AltId is the unique identifier eg: account id.
altType string
default: "account"
required
AltType is the type of identifier.
contactId string
default: "XPLSw2SVagl12LMDeTmQ"
Contact id corresponding to the transaction.
mergedFromContactId string
default: "XPLSw2SVagl12LMDeTmQ"
ID of the contact that was merged from.
contactName string
default: "James Bond"
Contact name corresponding to the transaction.
contactEmail string
default: "james.bond@leadwaycrm.com"
Contact email corresponding to the transaction.
Currency in which transaction occurred.
status object
default: "succeeded"
required
The status of the transaction (e.g., succeeded).
Transaction is in live / test mode.
Entity type of transaction (eg: order).
entityId string
default: "61dd0fe9c077f73e67f78803"
Entity id for the transaction. e.g: order id
entitySourceType string
default: "funnel"
required
Entity source type of transaction (eg: funnel).
entitySourceSubType string
default: "two_step_order_form"
Entity source sub-type of the transactions.
entitySourceName string
default: "new funnel"
Entity source name for the transaction.
entitySourceId string
default: "BDBMEghdIUaqMPEsK349"
Entity source id for the transaction.
Meta content for the entity source of transaction.
subscriptionId string
default: "sub_1KGcXDCScnf89tZoVkoEMCEL"
Subscription id for transaction.
chargeId string
default: "in_1KGcXDCScnf89tZohCsmImwE"
Charge id for transaction.
Charge snapshot of transaction.
Payment provider for transaction.
paymentProviderConnectedAccount string
default: "612ca676b484b241fef9d962"
Payment provider account id for transaction.
ipAddress string
default: "107.178.194.224"
Ip address from where transaction was initiated.
createdAt string
default: "2023-11-20T10:23:36.515Z"
required
The creation timestamp of the transaction.
updatedAt string
default: "2023-11-20T10:23:36.515Z"
required
The update timestamp of the transaction.
Transaction amount refunded.
Transaction payment method details.
fulfilledAt string
default: "2023-11-20T10:27:36.515Z"
required
The charged timestamp of the transaction.
User ID who created the transaction.
422 - Unprocessable Entity
Ejemplo