Create Custom API for Account Modules

Hello Good Day,

I am planning to create a custom API for accounts module were I added a unique integration Id field as my identifier if the accounts is already existing. Check below my sample payload request.

{
    "consent_timestamp": "2021-04-13 09:45:00",
    "integration_ref_id": "CUSREF-202104-ABCDEF0000003",
    "last_name": "De la Cruz",
    "first_name": "Juan",
    "birthdate": "1995-03-25",
    "mobile_number": "+639171234199",
    "email": "juan.delacruz@example.com",
    "location_code": "LOC0001",
    "street_name": "Rose St.",
    "landmarks": "Mcdo",
    "gender": "male"
}