Stone acquirer sales, the card machine. It is the panel's sales summary turned into structured data, down to each transaction. Do not confuse it with Stone Pagamentos, which reads the bank account through Open Finance: together they close the loop between cash in and sales.
How to connect
- In the Stone portal, go to Profile, Authentication keys, Create key and pick the Conciliação API. The menu is only visible to the account holder, and each account can hold up to 10 keys.
- Paste the key and the merchant's StoneCode. The same key works for every StoneCode under your tax id, so a second store is just the same connect flow with a different StoneCode.
- Fill in the tax id (CNPJ or CPF) if you want the Pix on the card machine report. Stone delivers Pix in a separate file, per tax id rather than per StoneCode. Without it, card sales still work normally.
The tools
• stone_vendas_listar returns one row per captured sale, with date and time, gross and net amounts, payment method, card brand, truncated card, capture type, installments and status.
• stone_vendas_resumo consolidates the period by payment method, brand, day, status, capture type or terminal, adding Pix on the card machine to the totals.
• stone_vendas_pix details Pix taken on the machine, with fee, terminal, key, e2e identifier and payer data.
• stone_vendas_cancelamentos gathers cancellations, chargebacks and chargeback re-presentments.
• stone_vendas_recebiveis shows the installments still to be paid, with the expected payment date.
• stone_vendas_liquidacoes shows what Stone deposited and into which account, the end that reconciles with the bank statement.
• stone_vendas_arquivo returns a full day's file, and stone_vendas_limpar_cache makes Stone regenerate it when the numbers do not match the panel.
• stone_vendas_contas lists the connected StoneCodes.
Good to know
• Stone closes one file per day, and a given day is only ready after 5am the next day. That is why every period defaults to yesterday as the end date.
• Card accepts up to 92 days per call. Pix accepts 31, because it is asynchronous: the request is accepted immediately but the file can take up to 30 minutes. When that happens the response lists the pending days, and you call again later to complete the period.
• Stone's limit is 7 requests per hour for each StoneCode and date pair, so avoid repeating the same window back to back.
• The Pix file covers all Pix under the tax id, including QR code and online charges. The default shows only what was captured on the machine; use apenas_maquininha: false to see the rest.
• Read-only. No tool creates a charge, cancels a sale or advances receivables.
• Recognised brands: Visa, MasterCard, Elo, Amex, Hipercard, Cabal and UnionPay. Payment methods: credit, debit, prepaid, voucher, boleto and Pix on the card machine.
• The key is stored encrypted, is never shown back and is deleted when you disconnect.