pending, has been approved, or has been rejected, and to see who has approvers assigned and who has already made a decision.entity_id is taken from the bearer token, not the query string) combined with the reference_id and type you supply. If multiple actions exist for the same reference_id and type (e.g. a rejected action followed by a new pending one), the most recently created action is returned.is_next_approver (whether it is currently this identity's turn to decide) and is_requester (whether this identity originally requested the action).curl --location '/maker-checker-actions?reference_id=01JPAYOUT1234567890ABCDEF&type=payout' \
--header 'Authorization: Bearer <token>'{
"message": "Maker-checker action status retrieved successfully",
"status": "success",
"data": {
"id": "01JMCA1234567890ABCDEFGHIJ",
"entity_id": "01JENTITY1234567890ABCDEF",
"reference_id": "01JPAYOUT1234567890ABCDEF",
"type": "payout",
"maker_checker_group_id": "01JMCG1234567890ABCDEFGHI",
"requester_identity_id": "01JIDENTREQ1234567890ABC",
"requester": {
"id": "01JIDENTREQ1234567890ABC",
"name": "Ada Lovelace",
"email": "ada.lovelace@example.com"
},
"approvers": [
{
"approval_order": 1,
"identity_id": "01JIDENT1234567890ABCDEFG",
"identity": {
"id": "01JIDENT1234567890ABCDEFG",
"name": "Jane Doe",
"email": "jane.doe@example.com"
}
},
{
"approval_order": 2,
"identity_id": "01JIDENT234567890ABCDEFGH",
"identity": {
"id": "01JIDENT234567890ABCDEFGH",
"name": "John Smith",
"email": "john.smith@example.com"
}
}
],
"approvals": [
{
"identity_id": "01JIDENT1234567890ABCDEFG",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"status": "approved",
"status_reason": null
}
],
"status": "pending",
"status_reason": null,
"amount": 25000,
"currency": "NGN",
"counterparty": {
"account_number": "0123456789",
"bank_code": "044",
"bank_name": "Access Bank",
"email": "counterparty@example.com",
"first_name": "Chinedu",
"last_name": "Okafor"
},
"is_next_approver": true,
"is_requester": false,
"created": 1736899200000,
"updated": 1736899260000
}
}