Bandeiras de Cartão de Crédito (Credit Card Flags)

O recurso Credit Card Flags representa uma bandeira de cartão de crédito no Myfinance. Estas bandeiras são pré-cadastradas, sendo possível apenas consulta.

Listar Bandeiras de Cartão de Crédito

GET /credit_card_flags

Retorna 200 OK e uma lista de bandeiras.

Exemplo de Resposta

HTTP/1.1 200 OK
Date: Mon, 17 Jan 2011 20:00:02 GMT
Content-Type: application/json; charset=utf-8
{
  "credit_card_flags" => [
    {
             "name" => "American Express",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-americanexpress.png"
    },
    {
             "name" => "Aura",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-aura.png"
    },
    {
             "name" => "Avista",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-avista.png"
    },
    {
             "name" => "BrasilCard",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-brasilcard.png"
    },
    {
             "name" => "Cabal",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-cabal.png"
    },
    {
             "name" => "CardBan",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-cardban.png"
    },
    {
             "name" => "Diners Club",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-dinersclub.png"
    },
    {
             "name" => "Elo",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-elo.png"
    },
    {
             "name" => "FortBrasil",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-fortbrasil.png"
    },
    {
             "name" => "Hipercard",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-hipercard.png"
    },
    {
             "name" => "MasterCard",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-mastercard.png"
    },
    {
             "name" => "Personal Card",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-personalcard.png"
    },
    {
             "name" => "Pleno Card",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-plenocard.png"
    },
    {
             "name" => "Santander",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-santander.png"
    },
    {
             "name" => "Sicredi",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-sicredi.png"
    },
    {
             "name" => "Sorocred",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-sorocred.png"
    },
    {
             "name" => "ValeCard",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-valecard.png"
    },
    {
             "name" => "Visa",
        "image_url" => "http://test.host/assets/logos/logo-creditcard-visa.png"
    }
  ]
}
HTTP/1.1 200 OK
Date: Mon, 17 Jan 2011 20:00:02 GMT
Content-Type: application/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
  <credit-card-flags type="array">
    <credit-card-flag>
      <name>American Express</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-americanexpress.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Aura</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-aura.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Avista</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-avista.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>BrasilCard</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-brasilcard.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Cabal</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-cabal.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>CardBan</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-cardban.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Diners Club</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-dinersclub.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Elo</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-elo.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>FortBrasil</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-fortbrasil.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Hipercard</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-hipercard.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>MasterCard</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-mastercard.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Personal Card</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-personalcard.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Pleno Card</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-plenocard.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Santander</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-santander.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Sicredi</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-sicredi.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Sorocred</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-sorocred.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>ValeCard</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-valecard.png</image-url>
    </credit-card-flag>
    <credit-card-flag>
      <name>Visa</name>
      <image-url>https://app.myfinance.com.br/assets/logos/logo-creditcard-visa.png</image-url>
    </credit-card-flag>
  </credit-card-flags>