Listar lançamentos
GET
/api/seller/external/v1/finance/entry
curl --request GET \ --get "https://api.spelt.com.br/api/seller/external/v1/finance/entry?direction=architecto&search=architecto&per_page=16" \ --header "Authorization: Bearer splt_live_SUA_CHAVE" \ --header "Content-Type: application/json" \ --header "Accept: application/json"const url = new URL( "https://api.spelt.com.br/api/seller/external/v1/finance/entry");
const params = { "direction": "architecto", "search": "architecto", "per_page": "16",};Object.keys(params) .forEach(key => url.searchParams.append(key, params[key]));
const headers = { "Authorization": "Bearer splt_live_SUA_CHAVE", "Content-Type": "application/json", "Accept": "application/json",};
fetch(url, { method: "GET", headers,}).then(response => response.json());$client = new \GuzzleHttp\Client();$url = 'https://api.spelt.com.br/api/seller/external/v1/finance/entry';$response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer splt_live_SUA_CHAVE', 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], 'query' => [ 'direction' => 'architecto', 'search' => 'architecto', 'per_page' => '16', ], ]);$body = $response->getBody();print_r(json_decode((string) $body));import requestsimport json
url = 'https://api.spelt.com.br/api/seller/external/v1/finance/entry'params = { 'direction': 'architecto', 'search': 'architecto', 'per_page': '16',}headers = { 'Authorization': 'Bearer splt_live_SUA_CHAVE', 'Content-Type': 'application/json', 'Accept': 'application/json'}
response = requests.request('GET', url, headers=headers, params=params)response.json()Lista de lançamentos (paginada), com busca por descrição ou número e direção.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”direction
Payable | receivable
string
Payable | receivable
search
Descrição
string
Descrição
per_page
Padrão: 50 (até 200)
integer
Padrão: 50 (até 200)
