curl --request GET \
--url http://localhost/api/api/preapprovedtransactions/active \
--cookie sessionid={
"id": 123,
"client_transaction_id": "<string>",
"cp_a": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"cp_b": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"name_screen_cpa": "<string>",
"name_screen_cpb": "<string>",
"has_related_case": "<string>",
"related_cases": "<string>",
"has_true_hit_cpa": "<string>",
"has_true_hit_cpb": "<string>",
"has_unmarked_hit_cpa": "<string>",
"has_unmarked_hit_cpb": "<string>",
"created_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"status": "on_hold",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "<string>",
"amount": 123,
"transaction_currency": "<string>",
"payment_mode": "<string>",
"approved_on": "2023-11-07T05:31:56Z",
"approved_by": 123,
"assignee": 123,
"comment": "<string>"
}Retrieve pre-approved transactions that are currently active.
curl --request GET \
--url http://localhost/api/api/preapprovedtransactions/active \
--cookie sessionid={
"id": 123,
"client_transaction_id": "<string>",
"cp_a": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"cp_b": {
"client_subject_id": "<string>",
"subject_name": "<string>"
},
"name_screen_cpa": "<string>",
"name_screen_cpb": "<string>",
"has_related_case": "<string>",
"related_cases": "<string>",
"has_true_hit_cpa": "<string>",
"has_true_hit_cpb": "<string>",
"has_unmarked_hit_cpa": "<string>",
"has_unmarked_hit_cpb": "<string>",
"created_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"status": "on_hold",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "<string>",
"amount": 123,
"transaction_currency": "<string>",
"payment_mode": "<string>",
"approved_on": "2023-11-07T05:31:56Z",
"approved_by": 123,
"assignee": 123,
"comment": "<string>"
}Serializer for PreApprovedTransaction model.
NOTE: name_screen_cpa and name_screen_cpb are now queried dynamically via client_transaction_id (no longer FK fields). Maintains backward compatibility.
Client's transaction ID (unique identifier)
255Show child attributes
Show child attributes
Status of the pre-approval workflow
on_hold - on_holdapproved - approvedrejected - rejectednot_screened - not_screenedcleared - clearedon_hold, approved, rejected, not_screened, cleared 255Transaction currency code
255User assigned to review this transaction
Review comment or decision rationale