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
- Autentique com
apiKey+apiSecret. - Instancie
new AurePay({ apiKey, apiSecret })e chame recursos planos (deposits, withdrawals, webhooks, company, conversions, chargebacks, wallets).
Mapa rápido SDK → HTTP
| SDK | HTTP | Docs |
|---|---|---|
aure.deposits.create(body) | POST /v1/deposits | Depósitos |
aure.deposits.get(id) | GET /v1/deposits/:id | Depósitos |
aure.withdrawals.create(body) | POST /v1/withdrawals | Saques |
aure.webhooks.list() | GET /v1/webhooks | Webhooks |
aure.company.balance() | GET /v1/company/balance | Empresa |
aure.conversions.create(body) | POST /v1/conversions | Conversões |
aure.chargebacks.list() | GET /v1/chargebacks | MED |
aure.wallets.list() | GET /v1/wallets | Carteiras |
Install
Node / TypeScript
npm
npm install @aurepay/sdkQuickstart
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/sdkPython
pip
pip install aurepay.NET
NuGet
dotnet add package AurePayJava
Maven
<dependency>
<groupId>br.com.aurepay</groupId>
<artifactId>aurepay</artifactId>
<version>0.1.0</version>
</dependency>Ruby
gem
gem install aurepayReceita — 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