curl --location 'https://api.plexypay.com/v2/paymentMethods' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"additionalData": {},
"allowedPaymentMethods": [
"string"
],
"amount": {
"currency": "string",
"value": 0
},
"blockedPaymentMethods": [
"string"
],
"channel": "iOS",
"countryCode": "string",
"merchantAccount": "string",
"merchantId": "string",
"shopperConversionId": "string",
"shopperEmail": "string",
"shopperIP": "string",
"shopperLocale": "string",
"shopperReference": "string",
"splitCardFundingSources": true,
"store": "string",
"storeFiltrationMode": "showStoredOnly",
"telephoneNumber": "string",
"shopperName": {},
"dateOfBirth": "string"
}'{
"paymentMethods": [
{
"brand": "string",
"brands": [
"string"
],
"configuration": {},
"fundingSource": "string",
"group": "string",
"name": "string",
"type": "string"
}
],
"storedPaymentMethods": [
{
"bankAccountNumber": "string",
"brand": "string",
"expiryMonth": "string",
"expiryYear": "string",
"holderName": "string",
"iban": "string",
"id": "string",
"label": "string",
"lastFour": "string",
"name": "string",
"shopperEmail": "string",
"type": "string"
}
],
"sessionData": "string"
}