Current collected state Current
Observed since 20 Oct, 17:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python SDK to interact with AbacatePay's API
A Python SDK to simplify interactions with the AbacatePay API.
This SDK provides tools for billing management, customer handling, and more.
pip install abacatepay
poetry add abacatepay
To use the SDK, import it and initialize the client with your API key:
import abacatepay
client = abacatepay.AbacatePay("<your-api-key>")
from abacatepay.products import Product
products = [
Product(
external_id="123",
name="Test Product",
quantity=1,
price=50_00,
description="Example product"
),
# or as dict
{
'external_id': "321",
'name': "Product as dict",
'quantity': 1,
'price': 10_00,
'description': "Example using dict"
}
]
billing = client.billing.create(
products=products,
return_url="https://yourwebsite.com/return",
completion_url="https://yourwebsite.com/complete"
)
print(billing.data.url)
billings = client.billing.list()
for billing in billings:
print(billing.id, billing.status)
print(len(billings))
from abacatepay.customers import CustomerMetadata
customer = CustomerMetadata( # Its can also be only a dict
email="customer@example.com",
name="Customer Name",
cellphone="(12) 3456-7890",
tax_id="123-456-789-10"
)
created_customer = client.customers.create(customer)
print(created_customer.id)
We welcome contributions to the AbacatePay SDK! To get started, please follow the steps in our Contributing Guide.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.9 | 8 Sept 2025 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e27d0db6015151c736c53aa148fc0fae6b95b1b94d1414ee55f7d6a3d7ea5674