Step 2: View single transaction details
Get all the details about a single transaction that has occurred on your account in standard JSON payload format. Note that in sandbox, orders are excluded from the results.
info
There are a number of additional parameters available for you to filter your results. For more information, see the API reference.
In this example, we're retrieving a single transaction's (payment) information without adding any filters.
curl -i -X GET \
'https://api.equalsmoney.com/v2/activity/payment/123456?accountId=F12345' \
-H 'Authorization: ApiKey YOUR_API_KEY_HERE'curl -i -X GET \
'https://api.equalsmoney.com/v2/activity/{type}/{id}?accountId={accountId}' \
-H 'Authorization: ApiKey YOUR_API_KEY_HERE'If your request is successful, you'll receive a 200 response containing a single transaction object.
{
"budget": "companyBalance",
"resourceType": "payment",
"id": 123456,
"orderId": 654321,
"userId": "4bf13dc8-d128-4521-99b8-4002b8987499",
"originId": "0684fc07-4abc-46de-b664-da45ef3c4072",
"originOrderId": "F6VOXCZ1AMND",
"companyId": "F12345",
"status": "complete",
"transactionGroupId": null,
"isMultiBeneficiary": false,
"remitterName": null,
"beneficiaryId": "7l2nks3eh",
"beneficiaryName": "William Walker",
"beneficiaryAddress": "68 Upper Thames St",
"beneficiaryAccountNumber": "12345678",
"beneficiarySortCode": "123456",
"beneficiaryIban": "",
"beneficiaryBankCode": "",
"beneficiaryCountryCode": "GB",
"beneficiaryBankAddress": "UPPER THAMES STREET, 68 VINTNERS PLACE FAIRFX FLOOR 3 LONDON EC4V 3BJ",
"beneficiaryRoutingInfo": "Payment will be routed from Bank of England and then through Lloyds bank",
"reference": "Invoice 3468 payment",
"amount": 99.99,
"currency": "GBP",
"buyCurrency": "GBP",
"sellCurrency": "GBP",
"settlementAmountWithoutFee": 99.99,
"settlementAmount": 99.99,
"settlementFee": 0,
"customerRate": 1,
"customerInverseRate": 1,
"uniqueId": "8233f929-94d3-4390-8d27-da92b733cafb",
"confirmationKey": "F12345/pdf/F12345-F6VOXCZ1AMND.pdf",
"type": "payment",
"budgetId": "63f4b801-70d6-4bba-b3f3-7b9acd051633",
"budgetName": "Account balance",
"createdAt": "2022-11-14T10:55:28.000Z",
"updatedAt": "2022-11-14T10:55:30.000Z",
"order": {
"id": 654321,
"orderSource": "legacy",
"companyId": "F12345",
"originId": "F6VOXCZ1AMND",
"parentOriginId": null,
"userId": "d4fd55fe-836d-48d2-8d49-e5629bd508a6",
"userName": "John Doe",
"status": "complete",
"type": "payment",
"lastSourceEventDatetime": null,
"createdAt": "2022-11-14T10:55:28.000Z",
"updatedAt": "2022-11-14T10:55:30.000Z",
"settlementDate": null,
"events": [
{
"id": "beec0eb3-3e11-44a4-86de-65404510038a",
"eventId": "4c191b59-685b-454b-bad7-e832505ee51c",
"orderCreatedAt": "2022-11-14T10:55:28.000Z",
"eventType": 0,
"orderId": 654321,
"title": "Order created",
"description": "Payment to William Walker created",
"createdAt": "2022-11-14T10:55:28.000Z",
"referencedOriginOrderId": null
}
]
},
"transactionBoxes": []
}The response structure varies depending on the transaction type. For card transactions (resourceType: "card"), the response includes cardTransaction and merchant objects. For box transactions (resourceType: "boxTransaction"), the response includes transaction box details.