An open API service indexing awesome lists of open source software.

https://github.com/viniciusdesenna/asaas-sdk-java

A lightweight and easy-to-use Java SDK for integrating with the Asaas API using Spring Boot. This SDK abstracts common operations like customer management, billing, and subscriptions, making it easier to integrate Asaas into your Java or Spring-based applications.
https://github.com/viniciusdesenna/asaas-sdk-java

api asaas boleto java pagamento payments pix sdk sdk-java spring-boot

Last synced: 6 months ago
JSON representation

A lightweight and easy-to-use Java SDK for integrating with the Asaas API using Spring Boot. This SDK abstracts common operations like customer management, billing, and subscriptions, making it easier to integrate Asaas into your Java or Spring-based applications.

Awesome Lists containing this project

README

          

# asaas-spring-sdk
A lightweight and easy-to-use Java SDK for integrating with the Asaas API using Spring Boot. This SDK abstracts common operations like customer management, billing, and subscriptions, making it easier to integrate Asaas into your Java Spring applications.

![AsaasSpringSDK-Banner-min](https://github.com/user-attachments/assets/6887ca76-f431-4a16-8fcc-3fdd44977e62)

πŸ”„ Este README estΓ‘ disponΓ­vel em [PortuguΓͺs πŸ‡§πŸ‡·](README.pt-br.md).

πŸ”— [Official Asaas documentation πŸ’™.](https://docs.asaas.com/)

## Implemented routes:

### Payments
βœ… Create new payment. \
βœ… List payments. \
βœ… Create new payment with credit card. \
βœ… Capture payment with Pre-Authorization. \
βœ… Pay a charge with a credit card. \
βœ… Retrieve payment billing information. \
βœ… Payment viewing information. \
βœ… Retrieve a single payment. \
βœ… Update existing payment. \
βœ… Delete payment. \
βœ… Restore removed payment. \
βœ… Retrieve status of a payment. \
βœ… Refund payment. \
βœ… Get digitable bill line. \
βœ… Get QR Code for Pix payments. \
βœ… Confirm cash receipt. \
βœ… Undo cash receipt confirmation. \
βœ… Sales simulator. \
βœ… Retrieve payment escrow in the Escrow Account. \
βœ… Recovering payment limits.

### Credit Card
βœ… Credit card tokenization.

### Customers
βœ… Create new customer. \
βœ… List customers. \
βœ… Retrieve a single customer. \
βœ… Update existing customer. \
βœ… Remove Customer. \
βœ… Restore removed customer. \
βœ… Retrieve notifications from a customer.

---

## Installation

### Settings
First you need to have a `settings.xml` with the content below in the `~/.m2/settings.xml` directory. \
πŸ”’ `USERNAME`: GitHub username. \
πŸ”’ `GITHUB_TOKEN`: Personal Access Token (Personal Access Token with `read:packages` permissions).
```xml


github
USERNAME
GITHUB_TOKEN

```

### Repositories
In your `pom.xml` file add the following sections: \
πŸ†š `LAST_VERSION`: πŸ”— [See the latest version](https://github.com/ViniciusDeSenna/asaas-spring-sdk/packages/2488874)
```xml


github
https://maven.pkg.github.com/ViniciusDeSenna/asaas-spring-sdk

...

com.senna
asaas-spring-sdk
LAST_VERSION

```

### Properties
In your `application.properties` file it is important that you have instantiated the following properties: \
πŸ”— `URL` Asaas call url. \
πŸ”’ `ASAAS_TOKEN` Your Asaas token.
```properties
asaas.api.base-url=URL
asaas.api.token=ASAAS_TOKEN
```