Skip to main content

1. Dashboard

Acesse app.goatpay.com.brIntegrações → Chaves de API.

2. Nova chave

  • Descrição: ex. Produção ERP
  • Escopo e permissões mínimas necessárias
  • Trilho: PADRAO ou LIVRE
Copie gp_live_... na hora.

3. Testar saldo

curl https://api.goatpay.com.br/v1/account/balance \
  -H "X-API-Key: gp_live_SUA_CHAVE"

4. Receber um PIX

curl -X POST https://api.goatpay.com.br/v1/payment-pix/create \
  -H "X-API-Key: gp_live_SUA_CHAVE" \
  -H "Content-Type: application/json" \
  -d '{"amount": 10, "description": "Teste integração", "coverFee": false, "externalReference": "pedido-001"}'

Referência completa

Parâmetros e resposta