Grundlagen der Base64-Codierung
The JSON-objects are Base64-encoded and the result is then passed as the value with the corresponding key.
Please pay attention to pass the complete Base64-encoded string as value including the padding characters (“=” or “==”) that are used by Base64-encoding.
Please find here some examples:
Key | JSON-structure you would like to pass | Key and value you have to submit | |
card | { "securityCode" : "569" , "expiryDate" : "202208" , "cardholderName" : "William Thomas" , "number" : "4186665161011901" , "brand" : "VISA" } | card=ewogICAgInNlY3VyaXR5Q29kZSI6ICI1NjkiLAogICAgImV4c GlyeURhdGUiOiAiMjAyMjA4IiwKICAgICJjYXJkaG9sZGVyTmFtZSI6I CJXaWxsaWFtIFRob21hcyIsCiAgICAibnVtYmVyIjogIjQxODY2NjUx NjEwMTE5MDEiLAogICAgImJyYW5kIjogIlZJU0EiCn0= | |
threeDSPolicy | { “challengePreference “: “mandateChallenge” } | threeDSPolicy=ewogICAgImNoYWxsZW5nZVByZWZlcmVuY2UgIjog Im1hbmRhdGVDaGFsbGVuZ2UiCn0= | |
billToCustomer | { “consumer”: { “salutation”: “Mr”, “firstName”: “Napoleon”, “lastName”: “Bonaparte”, “birthDate”: “1769-08-15” }, “mobilePhone”: { “countryCode”: “33”, “subscriberNumber” : “12345678910” }, “email”: “napoleon.bonaparte@france.com” } | billToCustomer=ewogICAgImNvbnN1bWVyIjogewogICAgICAgICJzYWx1dGF0a W9uIjogIk1yIiwKICAgICAgICAiZmlyc3ROYW1lIjogIk5hcG9sZW9uIiwKICAgICAg ICAibGFzdE5hbWUiOiAiQm9uYXBhcnRlIiwKICAgICAgICAiYmlydGhEYXRlIjogIjE3N jktMDgtMTUiCiAgICB9LAogICAgIm1vYmlsZVBob25lIjogewogICAgICAgICJjb3VudH J5Q29kZSI6ICIzMyIsCiAgICAgICAgInN1YnNjcmliZXJOdW1iZXIiIDogIjEyMzQ1Njc4OT EwIgogICAgfSwKICAgICJlbWFpbCI6ICJuYXBvbGVvbi5ib25hcGFydGVAZnJhbmNlLmNvbSIKfQ== |