curl --request GET \
--url http://localhost/api/api/cases/{id}/transactions \
--header 'Authorization: Bearer <token>'{
"results": [
{
"transactions": [
{
"id": 123,
"client_transaction_id": "<string>",
"transaction_type": "<string>",
"cp_a": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
},
"cp_a_country": "<string>",
"cp_a_bank": "<string>",
"cp_b": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
},
"cp_b_country": "<string>",
"cp_b_bank": "<string>",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"amount": 123,
"alt_currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"amount_in_alt_currency": 123,
"payment_mode": "<string>",
"purpose_of_transfer": "<string>"
}
],
"transaction_count": 123,
"next_token": "<string>",
"prev_token": "<string>"
}
],
"next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
"previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3"
}Retrieve transactions associated with a specific case, including both direct case transactions and relevant transactions based on rule parameters.
curl --request GET \
--url http://localhost/api/api/cases/{id}/transactions \
--header 'Authorization: Bearer <token>'{
"results": [
{
"transactions": [
{
"id": 123,
"client_transaction_id": "<string>",
"transaction_type": "<string>",
"cp_a": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
},
"cp_a_country": "<string>",
"cp_a_bank": "<string>",
"cp_b": {
"id": 123,
"name": "<string>",
"client_subject_id": "<string>"
},
"cp_b_country": "<string>",
"cp_b_bank": "<string>",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"amount": 123,
"alt_currency": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"amount_in_alt_currency": 123,
"payment_mode": "<string>",
"purpose_of_transfer": "<string>"
}
],
"transaction_count": 123,
"next_token": "<string>",
"prev_token": "<string>"
}
],
"next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
"previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3"
}next_token and prev_token for navigating through results.JWT token obtained from AWS Cognito or custom authentication service
Cursor for pagination
Number of results to return per page.