Customer API

(1 review)

Encryption

Partners will receive the encrypted customer information together with the encrypted IV and signature for verification.

  • The customer info will be decrypted with AES using the AES key (Base64 encoded) from the record and IV (Base64 encoded) from the response.
  • A signature will also be included in the response to validate the response data. An RSA public key will be provided to the customer for validation.

Encryption Details

Customer Information Encryption Algorithm: AES256 / PKCS5 / SHA256


Example

Response Body payload:

{
    "data": {
        "encrypted_data": "JiSH6EVPER5i4e+yn/IpOSEbc59yFd6RtSL/o0tNvHhvfUDP5bjPKyFCwsHKztLxkoJVjDen+XWBTtW8V0bpGLn/kx4miaSPZmiGsaHT3PzX9c10Gqm3hmpErC6qL4cfblzQ/JlflKlRCPMPb1CG6lHMv9DIiQLW/t/aR0tskZFpCrP0ao3y5sjHEc2Nw1yLzl2RFI/fX2k/c2+ZoIV7KoUnBS6HPjNKFpBPYtM4BWUVlw5xUTI/w09KECpfPhBCqH3gDynzV4PoH/Q7jB5VZietgSm0sPFu4EfifXiDKqQVLXhDM8tlj3lNL2l+s/8ZoDKerTyvIaVkg8psyY7y/3qer5KVQ+hXpa6Hbx26DDTclPTPTwru18Zq6hQKegSxG1rGFgvF/YSFPBL4OBQr313B7i3PAZeuwNaShaqKxm+urMTWDr1/a94Li8qLbQB+pTV9Xvng4/bUg9JiXuY0X7aq2vYRRPqn8OAGku3qnNswW/Ptj9wGVfHmTICfyu3MnQ07Q9M018PWEuT+9tRatXGydvdVdJVGu4whyp7kzIHd8FhMRVZJ2k2qB4/CaCkPpqI6BU9jahvxlM5qMrcOCvh4h6GjwfbTIsoaqJamHh77nQYOy09aFOlot0pMHzjdnJaFZDvFmhJh2qGicf7UPrkwjwhkLX+kx3YVRzzg8jcqmrECAAQhrHwb8M0Nzu4x1uajoNUFbbJchU9IcIkdgyrnTSSEbn1L+6KqlorVtri2iSt1hqW0yWMpG4MRwTi0+XEh0EPg+PMRuwQfn04uw9UpvUXUNNF1ZHulvIhfd42fqSVWnMOPi16FRUrkJfpy9tnaKrVQPfh/2HTKwwqlh22h6ierQFwAs3pea3K5p8CcQ9EOtbGdf7dMerwcsNmWbx+3k82nsPnKf5yRwuF8kzAzyDBYfQWDLYomqVSG59w2ECnxrtiKiOJgiIxffQiaws2dyqCxJ0MFNNxo3W3TA24bnMSfzEbsSwKy807Ta8zpOWjcZKYwvjMyOogEW61U0gNWzf2YxZ07MBS0xEbEFZwz01/LZ6ksZZgXsHhWBqbzQchJLkZSfy8T5yryfUGSYcK2OwF1LTvchAEJocaRJTXK48MEL7jDfhlIYGOn2xg=",
        "iv": "0Ywo9Wk8PwxUSNUk2eSCYw=="
    },
   "signature": "DU2LLIXM6ojvsTEugEFQaI0UTN4FmR6H1Uyw1CD5maAHmeOSj+6Je2MZgV5NSDJi4XY7cwGBsKM/ncLtyAnfNVQZW2wAlGti5ifmEJcRXdSZNYa0d34GETthhAYrHpthK7r/bTW+O+KrgrkaYQhFCRrxYHkvhcEdph9FIYVMEpE=",
   "sessionToken": "TEST12"
}

AES Key:

VWtYcDJzNXY4eS9CP0UoRytLYlBlU2hWbVlxM3Q2dzk=

Response after decryption:

{
    "basicInfo": {
        "prefix": "",
        "firstName": "SECOND",
        "lastName": "TWO",
        "middleName": "TEST",
        "suffix": "",
        "mobileNumber": "09154940767",
        "emailAddress": "09154940767@yopmail.com"
    },
    "personalInfo": {
        "birthDate": "1987-01-08",
        "birthPlace": "#15 TORRES ST. TOWN MANILA",
        "nationality": "FILIPINO",
        "currentAddressStreet": "TEST ST",
        "currentAddressTown": "TOWN NAMING",
        "currentAddressProvince": "PAMPANGA",
        "currentAddressCountry": "PHILIPPINES",
        "currentAddressZipcode": 4546,
        "permanentAddressStreet": "",
        "permanentAddressTown": "",
        "permanentAddressProvince": "",
        "permanentAddressCountry": "",
        "permanentAddressZipcode": 0
    },
    "employmentInfo": {
        "sourceOfFund": "CASH ON HAND, E-MONEY",
        "workNature": "CONSuLTING"
    },
    "biometricInfo": {
        "idType": "SSS",
        "idNumber": "4546345757571",
        "idPicture": "https://api.lab.mynt.xyz/jarvis-s3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VgksHtYIHag2HCuyYYeV%2Fxwyt7PLUQl1z7JnMI6mET8lXo15LSDNUcu7uwwDdsgxUDR2lW4tbBu5lJClAjZ1Lkg2Nq56GrBRSq8lr30m8hFJL%2BqYbmx4d6oCRuBQw%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220309T070239Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1800&X-Amz-Credential=ASIAUYUMJFLIIVSBJC6U%2F20220309%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Signature=5e39e86728117c4e6eb238b42b60e5251b015bcabf834fa46e78d557b72890e3",
        "selfiePicture": "https://api.lab.mynt.xyz/jarvis-s3-test/jarvis/batch/FACE_PHOTO_cbcd1617785723.jpeg?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEGYaDmFwLXNvdXRoZWFzdC0xIkcwRQIgdqddqnXtMHrx%2F4oJyBeN3lmLLRO9YRQpq42b1JE0q4cCIQD42iVwoi4%2Bk%2B8S3KmNHhYwpsL2SBpJf5IiX8DFimD7WSqNBAjO%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAUaDDMyNzc4NTQ1ODM4NCIMvFaZXqssZKQWa%2FH7KuEDNqH4t8%2BtPYK%2Bbl353vno5jyZcwliMiyTbmkcDXKGkWJ7APTIc6xBxi0QO7CG4f6Xw44CqIqrXESqnBAkT6o6IUc9g57LhYQZb9Kg0bEKkijjnpLpx3pTEGxDKOsoyaKJls9TeJMWPFZURG4pRgRvsZI7eP%2B3O71AaoKh63Zda7Md6HgC%2FJ1E2XFRwHhGntwQcDtv69qpY3AWE7gNTmdknjEjHKOdUgbPerJISE3l60%2BBTiodIp5w8c0HAVHd4EP1IyzuNDOAYv%2FkLBAxLpQ4FOaKWYca1%2FQbmzInSAZqqkg%2BMBqEuyG6W7tcOOISz2Dr8jf597gOvWA%2FSfanO36ZdNhPBOtuEByMf60D%2F%2FSTmwqo2%2F4fl7kJGuhQ8%2FBFj8oHIeFZampoajbjC%2FiWT2WrqoCURFPmToOQzy0tqMHdlY7xQ5ZxLLhd%2FoehYWu0WiTJucfaC16O0evVngtaaA7SpVbdgKld%2BfHpC%2FSXM1gz4GCPycyez7bRgpoEhzpZKYNkoNvPPpVsbUJKtW7UxTgz64klGE4ZgtHk1HG17Vjgg0g6Cwwq5NGgSH945gWPRnNfue8lO%2FVkXImqoHkSUY0A1hCMKG8qak5CckQacXgRPRflbiRM%2F0Yn1P4u0O%2BrtXq%2FEDDd96CRBjqlAYmRcHFlYvn7mRgLp1iFwp9DUMXNQ2FfT54StLFOMRrL6nLzOyvLA6cqjKVF%2FtOaNHYBhskxzZKrI5fl5Q%2B6C7KZeqVhlDlIjVgksHtYIHag2HCuyYYeV%2Fxwyt7PLUQl1z7JnMI6mET8lXo15LSDNUcu7uwwDdsgxUDR2lW4tbBu5lJClAjZ1Lkg2Nq56GrBRSq8lr30m8hFJL%2BqYbmx4d6oCRuBQw%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220309T070239Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1800&X-Amz-Credential=ASIAUYUMJFLIIVSBJC6U%2F20220309%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Signature=d03c6aaf0f5de268198ca87fec8cc49d98bfef5690dba81d69859023b0ed7d7a"
    }
}

Reviews