Send Payment Data
Developing
Testing Env
https://testing--decathlonstore.myvtex.com
Testing Env
https://testing--decathlonstore.myvtex.com
POST
https://decathlonstore.myvtex.com/api/payments/pub/transactions/695601ACFE774C07B23DB1653C8AA9E9/payments
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://decathlonstore.myvtex.com/api/payments/pub/transactions/695601ACFE774C07B23DB1653C8AA9E9/payments?orderId=1528992228671&redirect=false' \
--header 'Content-Type: application/json' \
--data-raw '[{
paymentSystem: "6",
paymentSystemName: "Boleto Bancário",
group: "bankInvoicePaymentGroup",
installments:1,
installmentsInterestRate: 0,
installmentsValue: 10398,
value: 10398,
referenceValue: 10398,
id: "DECATHLONSTORE",
interestRate: 0,
installmentValue: "",
transaction: {
id: "36A1B88F94BC4AE1BF7D9CF434A6E95C",
merchantName: "DECATHLONSTORE"
},
currencyCode: '\''BRL'\'',
originalPaymentIndex: 0
}]'
Response Response Example
{}
Request
Query Params
orderId
string
required
Example:
1528992228671
redirect
string
required
Example:
false
Header Params
Content-Type
string
required
Example:
application/json
Body Params text/plain