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:

KeyJSON-structure you would like to passKey and value you have to submit
card


{
    "securityCode": "569",
    "expiryDate": "202208",
    "cardholderName": "William Thomas",
    "number": "4186665161011901",
    "brand": "VISA"
}



card=ewogICAgInNlY3VyaXR5Q29kZSI6ICI1NjkiLAogICAgImV4cGlyeURhdGUiOiAiMjAyMjA4IiwKICAgICJjYXJkaG9sZGVyTmFtZSI6ICJXaWxsaWFtIFRob21hcyIsCiAgICAibnVtYmVyIjogIjQxODY2NjUxNjEwMTE5MDEiLAogICAgImJyYW5kIjogIlZJU0EiCn0=

threeDSPolicy


{
    "challengePreference ": "mandateChallenge"
}
threeDSPolicy=ewogICAgImNoYWxsZW5nZVByZWZlcmVuY2UgIjogIm1hbmRhdGVDaGFsbGVuZ2UiCn0=
billToCustomer


{
    "consumer": {
        "salutation": "Mr",
        "firstName": "Napoleon",
        "lastName": "Bonaparte",
        "birthDate": "1769-08-15"
    },
    "mobilePhone": {
        "countryCode": "33",
        "subscriberNumber" : "12345678910"
    },
    "email": "napoleon.bonaparte@france.com"
}
billToCustomer=ewogICAgImNvbnN1bWVyIjogewogICAgICAgICJzYWx1dGF0aW9uIjogIk1yIiwKICAgICAgICAiZmlyc3ROYW1lIjogIk5hcG9sZW9uIiwKICAgICAgICAibGFzdE5hbWUiOiAiQm9uYXBhcnRlIiwKICAgICAgICAiYmlydGhEYXRlIjogIjE3NjktMDgtMTUiCiAgICB9LAogICAgIm1vYmlsZVBob25lIjogewogICAgICAgICJjb3VudHJ5Q29kZSI6ICIzMyIsCiAgICAgICAgInN1YnNjcmliZXJOdW1iZXIiIDogIjEyMzQ1Njc4OTEwIgogICAgfSwKICAgICJlbWFpbCI6ICJuYXBvbGVvbi5ib25hcGFydGVAZnJhbmNlLmNvbSIKfQ==
  • No labels