Plataformas Digitais - Brazil
  1. Payment
Plataformas Digitais - Brazil
  • SPDBR Journey API
  • Service PDP
    • Get Product by Slug V2
      GET
    • Get Translate review
      GET
    • Get product review
      GET
    • Get Product by Slug
      GET
  • Service Search
    • Search
      • Search Products by Term
      • teste, preco na busca
    • Autocomplete
      • Get Autocomplete suggestions
    • Recommendation
      • Pages Recommendations V3
    • TopSearch
  • Service Member
    • Address
      • UpdateAddress
      • AddAddress
      • RemoveAddress
      • GetAddress
    • Consent
      • UpdateConsent
      • GetConsent
    • Store
      • UpdateFavoriteStore
      • DeleteSportPratice
      • AddSportPratice
      • GetFavoriteStore
    • Purchase
      • GetPurchase
    • Profile
      • UpdateProfile
      • GetProfile
    • Login
      • RefreshToken
      • RefreshMemberToken
      • UserToken
    • User
      • UserDataCpf
      • UserDataCpf
  • Member Login
  • Service Checkout APP
    • Full Vtex
      • OrderForm
      • Items
      • Profile
      • Update Payment Data
      • Start Transaction
      • Send Payment Data
      • Proccess Order
    • APP
      • Cart
        • Get Or Create orderForm
        • Add Cart Items
        • Remove Cart Items
      • Profile
        • Check Guest checkout Eligibility
        • Guest Add Profile Data
        • Autenticated Profile
      • Shipping
        • Address
      • Payment
        • Guest Update Payment Method
          POST
        • Autenticated Update Payment Method
          POST
        • Guest Transaction
          POST
        • Autenticated Transaction
          POST
        • Send Payment Data
          POST
        • Process Order
          POST
      • Orderplaced
        • Autenticated OrderPlaced
        • Guest OrderPlaced
      • Shared
        • Clear orderForm Messages
        • Add Preference Data
        • Add Coupon
    • WEB
      • Create cart
      • Get cart
  • Service Omni
    • Orders
      • Get Orders
  • Service Events
    • List all events
  • Service app
    • Pix Email
      • Send Pix Email
  1. Payment

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
array of:
paymentSystem
string 
required
paymentSystemName
string 
required
group
string 
required
installments
number 
required
installmentsInterestRate
number 
required
installmentsValue
number 
required
value
number 
required
referenceValue
number 
required
id
string 
required
interestRate
number 
required
installmentValue
number 
required
transaction
object 
required
transaction
string 
required
merchantName
string 
required
currencyCode
string 
required
originalPaymentIndex
number 
required
fields
object 
optional
holderName
string 
optional
cardNumber
string 
optional
validationCode
string 
optional
dueDate
string 
optional
document
string 
optional
bin
string 
optional
Examples

Responses

🟢201Created
This response does not have a body.
Previous
Autenticated Transaction
Next
Process Order
Built with