Skip to main content

Request Customer Approval

Overview​

The Request Customer Approval API initiates the approval workflow for new customer records. This command submits customer information for review and approval by authorized personnel before the customer can fully access banking services.

Command Details​

Command Name: RequestCustomerApprovalCommand

Operation Type: Command (Write Operation)

Use Cases​

  • New Customer Onboarding: Submit new customer records for approval
  • KYC Verification: Request approval after completing Know Your Customer checks
  • Compliance Workflow: Ensure regulatory review before account activation
  • Multi-Level Authorization: Implement maker-checker controls for customer creation

API Endpoint​

POST /api/bpm/cmd
Content-Type: application/json
Authorization: Bearer {access_token}

Request Structure​

Request Body​

{
"commandName": "RequestCustomerApprovalCommand",
"data": {
"contactEncodedKey": "string",
"notes": "string"
}
}

Request Fields​

Field NameTypeMandatoryDescription
contactEncodedKeyStringYesUnique identifier of the customer
notesStringNoAdditional notes for approvers

Sample Requests​

1. Request Approval​

{
"commandName": "RequestCustomerApprovalCommand",
"data": {
"contactEncodedKey": "8a8e87e87d1234567890abcd",
"notes": "All KYC documents verified and uploaded. Ready for approval."
}
}

Response Structure​

Success Response​

{
"isSuccessful": true,
"statusCode": "00",
"message": "Customer approval requested successfully.",
"data": {
"contactEncodedKey": "8a8e87e87d1234567890abcd",
"approvalStatus": "Pending",
"requestDate": "2025-12-18T10:30:00Z"
}
}

Error Handling​

Status CodeMessageCause
CBS_400Validation errorInvalid request data
CBS_404Customer not foundInvalid contact encoded key
CBS_409Already in approvalCustomer is already pending approval
CBS_500Internal server errorSystem error

Notes​

  • Customer must be in correct status to request approval
  • Creates approval workflow task for authorized approvers
  • Customer cannot access full services until approved
  • Notifications sent to designated approvers