Skip to content

[FEATURE] - Implement withdrawal functionality #77

@Gustavonobregab

Description

@Gustavonobregab

Descrição da proposta

Adds complete withdrawal functionality to the AbacatePay SDK, including:

  • Support for creating PIX withdrawals with various key types (CPF, CNPJ, EMAIL, PHONE, RANDOM)
  • Ability to list all withdrawals
  • Proper TypeScript types and interfaces following the existing codebase patterns
  • Comprehensive test coverage for all withdrawal methods
  • Integration with the existing SDK structure

The implementation follows the official AbacatePay API schema for withdrawal endpoints:

  • POST /withdraw/create - Create new withdrawal
  • GET /withdraw/list - List all withdrawals

Contexto adicional

No response

Impacto esperado

  • Melhora significativa na usabilidade
  • Facilita manutenção ou refatoração
  • Reduz custo de desenvolvimento no longo prazo
  • Outro (descrever acima)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions