List Transactions
GET/payments/transactions
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.
Request
API Version
v3LocationId is the id of the sub-account.
AltId is the unique identifier e.g: location id.
AltType is the type of identifier.
Mode of payment.
Starting interval of transactions.
Closing interval of transactions.
Source of the transactions.
Source sub-type of the transactions.
The name of the transaction for searching.
Subscription id for filtering of transactions.
Entity id for filtering of transactions.
Contact id for filtering of transactions.
The maximum number of items to be included in a single page of results
10The starting index of the page, indicating the position from which the results should be retrieved.
0Successful response
- application/json
- Schema
- Example (auto)
Schema
An array of transactions
total transactions count
{
"data": [
{
"_id": "61dd0feac077f72010f78804",
"altId": "3SwdhCu3svxI8AKsPJt6",
"altType": "location",
"contactId": "XPLSw2SVagl12LMDeTmQ",
"mergedFromContactId": "XPLSw2SVagl12LMDeTmQ",
"contactName": "James Bond",
"currency": "USD",
"amount": "100",
"status": "succeeded",
"liveMode": "false",
"entityType": "order",
"entityId": "61dd0fe9c077f73e67f78803",
"entitySourceType": "funnel",
"entitySourceSubType": "two_step_order_form",
"entitySourceName": "new funnel",
"entitySourceId": "BDBMEghdIUaqMPEsK349",
"entitySourceMeta": "{ domain: \"app.gohighlevel.com\", pageId: \"rBVhyYhMsbxbO8ZqOcei\", pageUrl: \"/v2/preview/rBVhyYhMsbxbO8ZqOcei\", stepId: \"5a772f62-3fbc-418b-af1b-be8929dd64c2\"}",
"subscriptionId": "sub_1KGcXDCScnf89tZoVkoEMCEL",
"chargeId": "in_1KGcXDCScnf89tZohCsmImwE",
"chargeSnapshot": "{ id: \"in_1KGcXDCScnf89tZohCsmImwE\", object: \"invoice\", account_country: \"US\", account_name: \"GHL-Testing\" }",
"paymentProviderType": "stripe",
"paymentProviderConnectedAccount": "612ca676b484b241fef9d962",
"ipAddress": "107.178.194.224",
"createdAt": "2023-11-20T10:23:36.515Z",
"updatedAt": "2023-11-20T10:23:36.515Z",
"amountRefunded": "10",
"paymentMethod": "{ card: { \"brand\": \"discover\", \"last4\": \"0012\" } }",
"fulfilledAt": "2023-11-20T10:27:36.515Z",
"createdBy": "user123"
}
],
"totalCount": 0
}