Mono Colombia

Lists brands

Lists the requesting client's payin brands, paginated. The default brand comes first and the rest follow by name. Deleted brands are not returned.

Each brand carries templates_count, how many of the client's live templates wear it — the same reference that keeps a brand from being deleted.

GET
/v1/core/payins/brands

Authorization

AuthorizationBearer <token>

In: header

Query Parameters

page_number?integer

Number of the page

Default1
Range1 <= value
Example1
page_size?integer

Amount of registers that must be listed by page

Default10
Range10 <= value <= 500
Example10

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.sandbox.cuentamono.com/v1/core/payins/brands"
{
  "brands": [
    {
      "button_text": "Pagar",
      "color": "#3C47D8",
      "default": false,
      "id": "cpitplb_5tgliBmzjZ6mpQPRbQjfKj",
      "inserted_at": "2022-01-01T01:00:00Z",
      "logo": "https://assets.mono.la/payin-brand-logos/wumi.png",
      "name": "Tienda Wumi",
      "support_email": "ayuda@wumi.co",
      "templates_count": 1,
      "updated_at": "2022-01-01T01:00:00Z",
      "voucher_message": "¡Gracias por tu pago!"
    }
  ],
  "pagination": {
    "page_number": 1,
    "page_size": 10,
    "total_items": 100,
    "total_pages": 10
  }
}
{
  "code": "401 Unauthorized",
  "errors": [
    {
      "error_code": "missing_authorization_header",
      "message": "`Authorization` header is missing.",
      "path": null,
      "url": null
    }
  ],
  "id": "log_7MkWaFqvfosB8fzHhb1Eql",
  "message": "Authorization header is missing or invalid."
}
{
  "code": "403 Forbidden",
  "errors": [
    {
      "error_code": "not_authorized",
      "message": "Not authorized to have access to this resource.",
      "path": null,
      "url": null
    }
  ],
  "id": "log_7MkWaFqvfosB8fzHhb1Eql",
  "message": "Not authorized to have access to this resource"
}
{
  "code": "422 Unprocessable Content",
  "errors": [
    {
      "error_code": "invalid_type",
      "message": "The field contains an invalid type.",
      "path": "#/path/to/field",
      "url": null
    }
  ],
  "id": "log_7MkWaFqvfosB8fzHhb1Eql",
  "message": "Validation errors"
}