Visa Developer Community

Regular Visitor

errorCode : 400

D/OkHttp: --> POST http/1.1
Content-Type: application/json; charset=utf-8
Content-Length: 538
VisaNet-Session-Key: e6f123133d65af09c136a6b23ab8ab7a3b113ebeebd51bb41a00be18d25601b4
{"callbackUrl":"","card":{"cardAliasName":"yu","cardNumber":"4919148107859067","cv... Edson","lastName":"Callupe Huerta","phoneNumber":""},"merchantId":"101039934","order":{"amount":15.22,"billingAddress":{"city":"","country":""},"currency":"PEN","installment":1,"purchaseNumber":"1796"}}
--> END POST (538-byte body)
--> POST http/1.1 (538-byte body)
D/OkHttp: <-- 400 (2971ms, 81-byte body)
<-- 400 (2972ms)
date: Tue, 30 Apr 2019 16:58:27 GMT
content-type: application/json;charset=utf-8
content-length: 81
x-powered-by: Undertow/1
access-control-allow-headers: origin, content-type, accept, authorization, visanet-session-key
server: WildFly/9
access-control-allow-origin: *
access-control-allow-credentials: true
access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS, HEAD

D/OkHttp: {"errorCode":400,"errorMessage":"Installment information is not valid","data":{}}
<-- END HTTP (81-byte body)
D/VisaNet: onError errorCode : 400
onError errorBody : {"errorCode":400,"errorMessage":"Installment information is not valid","data":{}}
onError errorDetail : responseFromServerError

P.D.: App developed (Android Studio) 

Visa Dev Moderator

Re: errorCode : 400

Hello @YuryEdson


The error message you received below is not a VDP endpoint. Can you please confirm from which portal did you consume the below endpoint?


Thank you, 


Community Manager

Re: errorCode : 400

@YuryEdson - did you figure this out?