Docs/SDKs

SDKs

Clientes oficiais para chamar a API AurePay sem montar HTTP na mão. Em todas as linguagens a tipagem acompanha o OpenAPI público. O contrato narrado continua na referência.

Como usar o SDK

  1. Autentique com apiKey + apiSecret.
  2. Instancie new AurePay({ apiKey, apiSecret }) e chame recursos planos (deposits, withdrawals, webhooks, company, conversions, chargebacks, wallets).

Mapa rápido SDK → HTTP

SDKHTTPDocs
aure.deposits.create(body)POST /v1/depositsDepósitos
aure.deposits.get(id)GET /v1/deposits/:idDepósitos
aure.withdrawals.create(body)POST /v1/withdrawalsSaques
aure.webhooks.list()GET /v1/webhooksWebhooks
aure.company.balance()GET /v1/company/balanceEmpresa
aure.conversions.create(body)POST /v1/conversionsConversões
aure.chargebacks.list()GET /v1/chargebacksMED
aure.wallets.list()GET /v1/walletsCarteiras

Install

Node / TypeScript

npm
npm install @aurepay/sdk
Quickstart
import { AurePay } from '@aurepay/sdk'

const aure = new AurePay({
  apiKey: process.env.AUREPAY_API_KEY,
  apiSecret: process.env.AUREPAY_API_SECRET
})

const balance = await aure.company.balance()
console.log(balance)

PHP

Composer
composer require aurepay/sdk

Python

pip
pip install aurepay

.NET

NuGet
dotnet add package AurePay

Java

Maven
<dependency>
  <groupId>br.com.aurepay</groupId>
  <artifactId>aurepay</artifactId>
  <version>0.1.0</version>
</dependency>

Ruby

gem
gem install aurepay

Receita — depósito PIX

Node
import { AurePay } from '@aurepay/sdk'

const aure = new AurePay({
  apiKey: process.env.AUREPAY_API_KEY,
  apiSecret: process.env.AUREPAY_API_SECRET
})

const deposit = await aure.deposits.create({
  method: 'pix',
  amount: 10000,
  reference: 'order-123',
  customer: {
    name: 'Maria Silva',
    document: { type: 'cpf', number: '12345678909' }
  }
})

console.log(deposit)

Contrato completo para agentes: llms-full.txt · openapi.yaml · Para IAs