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