While trying to create the Customer Payment Method
using REST API, I'm facing this issue : Value Cannot be Empty
.
Below is the json that i'm using
{
"CustomerID" : { "value" : "ARYA" },
"PaymentMethod" : { "value" : "AMEX" },
"ProcCenterID" : { "value" : "AUTDOTNET" },
"CustomerPaymentMethodDetail" : [
{
"Name" : { "value" : "CCDNUM" },
"Value" : { "value" : "5454545454545454" }
},
{
"Name" : { "value" : "EXPDATE" },
"Value" : { "value" : "102020" }
},
{
"Name" : { "value" : "NAMEONCC" },
"Value" : { "value" : "Test API" }
},
{
"Name" : { "value" : "CVV" },
"Value" : { "value" : "321" }
}]
}
Thanks.