We are trying to create a second payment profile without an address.
Here is the API:
{ "createCustomerPaymentProfileRequest": { "merchantAuthentication": { "name": "API_LOGIN_ID", "transactionKey": "API_TRANSACTION_KEY" }, "customerProfileId": "10000", "paymentProfile": { "billTo": { "firstName": "John", "lastName": "Doe", "address": "123 Main St.", "city": "Bellevue", "state": "WA", "zip": "98004", "country": "USA", "phoneNumber": "000-000-0000" }, "payment": { "creditCard": { "cardNumber": "4111111111111111", "expirationDate": "2023-12" } }, "defaultPaymentProfile": false }, "validationMode": "liveMode" } }
We tried deleting the "billTo" object but then we get the error that there is one or more missing or invalid required fields. However, we can add a payment profile from the dashboard with all these fields blank. How can we do this with the APIs as well?
02-20-2020 11:25 AM