Payment information

POST {{serverUrl}}/index.php/rest/V1/guest-carts/{{cartId}}/payment-information

Request Body

{"email"=>"testpayment@adyen.com", "paymentMethod"=>{"method"=>"adyen_cc", "additional_data"=>{"cc_brand"=>"VI", "stateData"=>"{\"paymentMethod\":{\"type\":\"scheme\",\"encryptedCardNumber\":\"test_4111111111111111\",\"encryptedExpiryMonth\":\"test_03\",\"encryptedExpiryYear\":\"test_2030\",\"encryptedSecurityCode\":\"test_737\"},\"riskData\":{\"clientData\":\"eyJ2ZXJzaW9uIjoiMS4wLjAiLCJkZXZpY2VGaW5nZXJwcmludCI6ImRmLXRpbWVkT3V0In0\\u003d\"},\"browserInfo\":{\"acceptHeader\":\"*/*\",\"colorDepth\":30,\"language\":\"en-GB\",\"javaEnabled\":false,\"screenHeight\":1169,\"screenWidth\":1800,\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36\",\"timeZoneOffset\":-120}}"}}}