MobiariDocs

Get the payment configuration

GET
/storefront-api/{store_slug}/api/payments/config

The store's Mercado Pago public key, for the card form.

Path Parameters

store_slug*string

Store slug

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/storefront-api/string/api/payments/config"
{
  "public_key": "string"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}