Update Payment Data
Developing
Testing Env
https://testing--decathlonstore.myvtex.com
Testing Env
https://testing--decathlonstore.myvtex.com
POST
https://decathlonstore.myvtex.com/api/checkout/pub/orderForm/a29a2b8ff2254788804cc4a7d2f90641/attachments/paymentData
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://decathlonstore.myvtex.com/api/checkout/pub/orderForm/a29a2b8ff2254788804cc4a7d2f90641/attachments/paymentData' \
--header 'Content-Type: application/json' \
--data-raw '{
"payments": [
{
"paymentSystem": 6,
"paymentSystemName": "Boleto Bancário",
"group": "bankInvoicePaymentGroup",
"installments": 1,
"installmentsInterestRate": 0,
"installmentsValue": 10398,
"value": 10398,
"referenceValue": 10398
}
],
"expectedOrderFormSections": [
"items",
"totalizers",
"clientProfileData",
"shippingData",
"paymentData",
"sellers",
"messages",
"marketingData",
"clientPreferencesData",
"storePreferencesData",
"giftRegistryData",
"ratesAndBenefitsData",
"openTextField",
"commercialConditionData",
"customData"
]
}'
Response Response Example
{}
Request
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json