Ir para o conteúdo
Infopago Developersv1.0.3
Referência da APIAPI de ContasPagadores

Listar pagadores.

Lista os pagadores cadastrados na conta, com paginação. Use `filter` para buscar pelo nome.

GET
/customers

Autorização

OAuth2 invoices.read
headerAuthorizationBearer <token>

Escopo: invoices.read

Parâmetros de consulta

page?integer
Faixa1 <= value
Padrão1
perPage?integer
Faixa1 <= value <= 100
Padrão20
filter?string

Filtra por nome.

Tamanholength <= 255
x-account-id?integer

Identificador interno da conta filha que será operada. Obrigatório quando o token foi emitido por uma credencial BaaS (clientId com prefixo baas_) em endpoints operacionais de conta.

Formatoint64

Corpo da resposta

Sucesso

application/json
  1. response
meta?
data?array<>
Exemplo de requisição
curl -X GET 'https://cashout.infopago.com.br/api/v2/customers'
Exemplo de resposta
{  "meta": {    "total": 0,    "perPage": 0,    "currentPage": 0,    "firstPage": 0,    "lastPage": 0,    "nextPage": 0,    "prevPage": 0  },  "data": [    {      "id": 0,      "accountId": 0,      "name": "string",      "email": "string",      "phone": "string",      "document": "string",      "address": {        "address": "string",        "number": "string",        "complement": "string",        "district": "string",        "city": "string",        "zipCode": "stringst",        "uf": "st"      },      "addresses": [        {          "address": "string",          "number": "string",          "complement": "string",          "district": "string",          "city": "string",          "zipCode": "stringst",          "uf": "st"        }      ]    }  ]}