/api-frontend-sample

Learn how to integrate a transparent checkout using our API

Primary LanguageHTML

api-frontend-sample

The sample file "checkout.html" contains a sample frontend for API Mercado Pago credit card payment integration.

They contain a simple checkout form and all corresponding functions for:

  • Set the document type data
  • Set the payment method data
  • Set the installments available
  • Tokenize the card data
  • And send the information to the backend