curl --location --request POST '/paymentSession' \
--header 'Content-Type: application/json' \
--data-raw ''{
    "paymentSession": "string",
    "recurringDetails": [
        {
            "brand": "string",
            "brands": [
                "string"
            ],
            "configuration": {
                "property1": "string",
                "property2": "string"
            },
            "fundingSource": "debit",
            "group": {
                "name": "string",
                "paymentMethodData": "string",
                "type": "string"
            },
            "inputDetails": [
                {
                    "configuration": {
                        "property1": "string",
                        "property2": "string"
                    },
                    "details": [
                        {
                            "configuration": {
                                "property1": "string",
                                "property2": "string"
                            },
                            "items": [
                                {
                                    "id": "string",
                                    "name": "string"
                                }
                            ],
                            "key": "string",
                            "optional": true,
                            "type": "string",
                            "value": "string"
                        }
                    ],
                    "inputDetails": [
                        {
                            "configuration": {
                                "property1": "string",
                                "property2": "string"
                            },
                            "items": [
                                {
                                    "id": "string",
                                    "name": "string"
                                }
                            ],
                            "key": "string",
                            "optional": true,
                            "type": "string",
                            "value": "string"
                        }
                    ],
                    "itemSearchUrl": "string",
                    "items": [
                        {
                            "id": "string",
                            "name": "string"
                        }
                    ],
                    "key": "string",
                    "optional": true,
                    "type": "string",
                    "value": "string"
                }
            ],
            "issuers": [
                {
                    "disabled": false,
                    "id": "string",
                    "name": "string"
                }
            ],
            "name": "string",
            "recurringDetailReference": "string",
            "storedDetails": {
                "bank": {
                    "bankAccountNumber": "string",
                    "bankCity": "string",
                    "bankLocationId": "string",
                    "bankName": "string",
                    "bic": "string",
                    "countryCode": "string",
                    "iban": "string",
                    "ownerName": "string",
                    "taxId": "string"
                },
                "card": {
                    "cvc": "string",
                    "expiryMonth": "st",
                    "expiryYear": "stri",
                    "holderName": "string",
                    "issueNumber": "st",
                    "number": "string",
                    "startMonth": "st",
                    "startYear": "stri"
                },
                "emailAddress": "string"
            },
            "type": "string"
        }
    ]
}