API
Skip to main content

ATM

POST /checkouts

Creation of the checkout with the following data:

  • Language: Portuguese
  • Page Layout: web
  • Amount: 5 euros
  • Payment method: Multibanco (MB)
  • Product code: REFPRODUCT_1
  • Description of product: Computer
{
"payment": {
"amount": 500,
"code": "REFPRODUTO_1",
"summary": "Computador",
"paymentMethod": {
"code": "MB" // <== Método de pagamento
}
},
"page": {
"language": "PT",
"layout": "web"
}
}

The response returns the id which identifies the checkout to the API. The checkoutUrl is the link to access the page and make the payment. The paymentId is the id that identifies the payment.

Accessing the checkoutUrl displays the following page:

Checkout MB