Unable to create buyer

Ahad
Occasional Visitor

Unable to create buyer

Dear Support team, 

We are trying to register a buyer using below services but getting  "Malformed request body" as response. We have already filled all mandatory fields. 

Api End Point- https://developer.visa.com/capabilities/vpa/reference#tag/Buyer-Management-Service/operation/Create%...

curl --location 'https://api.visa.com/vpa/v1/buyerManagement/buyer/create' \
--header 'x-pay-token: xv2:*******:*******' \

--header 'Content-Type: application/json' \
--header 'Authorization: Basic**************' \
--data-raw '{

"clientId": "*******", "contactInfo": {

"zipCode": "400059",
"phoneExt3": "*******",
"city": "Mumbai",
"contactName": "*******",
"phone2": "*******",
"phone3": "*******", "defaultCurrencyCode": "INR",
"buyerId": "*******",
"buyerName": "*******",
"phone1": "*******",
"companyId": "*******", "emailAddress": "XYZ", "countryCode": "IND",
"addressLine1": "XYZ",
"state": "MH",
"phoneExt2": "*******", "addressLine3": "7th floor"

},
"messageId": "42378784239482934234"

}'
-------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Response:

{
"responseStatus": {

"messageId": "42378784239482934234", "status": "error",
"statusCode": "BSGS0001",

"statusDesc": "Your request contains one or more unknown fields, please correct and resubmit."

}, "errorObject": {

"errorList": [ {

"errorCode": "BSGS004",

"errorDescription": "Malformed request body" }

] }

}

Urgent please

1 REPLY 1
jenn_kh
Community Moderator

Re: Unable to create buyer

Hi @AhadThank you for reaching out. An agent is looking into this and will get back to you as soon as possible. Until then, if any community member knows a solution, please reply to this thread.