Encrypt
Encrypt Request Service uses the POST method to encrypt the clear format of a JSON body. This service is available only in our Sandbox environment to ease integration and testing.
Endpoint
/MFSAfricaCard/encryptrequest
Request
Since Encrypt request does not have a specific documentation, below is just an example for illustration.
{
"mobilePhoneNumber": "256999555998",
"last4Digits": "0563"
}
Response
{
"encryptedBody": "eyJhbGciOiJBMjU2R0NNS1ciLCJlbmMiOiJBMjU2R0NNIiwiaXYiOiJvcXVTeG5BOEFYd2ZaekFIIiwidGFnIjoiVENjQUdrdF9Ya2huNWxXTUFJeXN4QSJ9.hGMEdG0to3Y0-0xmkpB0mOvJeRjbliqBF21CeQEnVMg.0KtSrTJswSez6kEV.JBEpAGUqZi_wGSVYJkmm0fJ6ZQhemJZeNn_ZYdMIOsuKTrisJWAnWsFAiU4lEoUq-XOZbYciYeYJoxUsU9EtdIPJJFdsqg.sQmRt6C_CSl_Pc9Bw_en7A"
}
Field | Type | Description |
---|---|---|
encryptedBody | string | Encrypted body string under the shared key. |
Updated over 1 year ago