Skip to content

Releases: AbacatePay/abacatepay-python-sdk

v.1.0.9

08 Sep 19:38

Choose a tag to compare

Async mode! 🎉

What's Changed

New Contributors

Full Changelog: v1.0.5...v1.0.6

v1.0.5

28 May 21:25

Choose a tag to compare

Pix QR CODE! 🎉

Now, you can finally create a Pix charge and receive the Qr code directly!

Usage:

import abacatepay
from abacatepay.pixQrCode import PixQrCodeIn
import logging
key = "TOKEN" #without the "Bearer " prefix! 
logging.basicConfig(level=logging.DEBUG)
client = abacatepay.AbacatePay(key)


cliente_a =abacatepay.customers.CustomerMetadata(tax_id="123.456.789-00", name="Cliente A", email="a@gmail.com", cellphone="11999999999")

pix_charge = client.pixQrCode.create(data=PixQrCodeIn(
    amount=750,
    expires_in=2000,
    description="Pagamento de teste",
    customer=cliente_a
))
print(pix_charge.id)
print(pix_charge.brcode)

More details in 27209e3!

v1.0.4

27 May 22:27

Choose a tag to compare

This version just adds small fixes

[FIX] Billing model doesn't validate

v1.0.3

26 May 18:17

Choose a tag to compare

1.0.3! 🎉

This version focuses on adding the discount codes (or coupons) feature to the SDK.

Minor changes:

  • Fixed the docs URL on the __init__.py docstring
- More examples found on https://abacatepay.readme.io/
+More examples found on https://docs.abacatepay.com/

v1.0.2

09 Apr 16:32
c9af4af

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

09 Dec 19:43

Choose a tag to compare

Changes/fixes

  • Changed the logger calls from warning to debug (c90b605)
  • Changed minimum python version from 3.12 to 3.10 (2ae8f24)
  • Added a.py to gitignore (59fe54a)

New features

  • Added the new customer features (create and list customers) (c90b605)

Usage:

Create customer

import abacatepay

token = "key here"

client = abacatepay.AbacatePay(token)

print(client.create_customer(
  abacatepay.Customer(
    taxId="123456789",
    name="John Doe",
    email="a@b.c",
    cellphone="123456789"
))
)

List customers

import abacatepay

token = "token"

client = abacatepay.AbacatePay(token)

print(client.list_customers())

TODO

  • Add tests to the customers feature

Full Changelog: v1.0.0...v1.0.1

First official release! 🎉

07 Dec 21:08
a7ad8dd

Choose a tag to compare

What's Changed from the 0.1.0

  • small review by @eletroswing in #2
  • Arruma formatação, adiciona novas boas práticas de Python e adiciona mock de requisições a API by @vmesel in #6

New Contributors

Full Changelog: https://github.com/AbacatePay/abacatepay-python-sdk/commits/v1.0.0