Plataforma de Ressarcimento do Open Banking Brasil
- API version: beta-0.0.1
- Build date: 2021-07-01T00:17:59.641Z[GMT]
APIs da plataforma de Ressarcimento do Open Banking Brasil para a comunicação online com a plaforma. Através da documentação das APIs abaixo é possível realizar os devidos testes de integração.
For more information, please visit http://suporte.ressarcimento.openbankingbrasil.org.br
Automatically generated by the Swagger Codegen
Building the API client library requires:
- Java 1.7+
- Maven/Gradle
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-java-client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "io.swagger:swagger-java-client:1.0.0"
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/swagger-java-client-1.0.0.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RefundApiV1Api;
import java.io.File;
import java.util.*;
public class RefundApiV1ApiExample {
public static void main(String[] args) {
RefundApiV1Api apiInstance = new RefundApiV1Api();
String processId = "processId_example"; // String |
try {
RefundProcess result = apiInstance.findNotificationById(processId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RefundApiV1Api#findNotificationById");
e.printStackTrace();
}
}
}
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RefundApiV1Api;
import java.io.File;
import java.util.*;
public class RefundApiV1ApiExample {
public static void main(String[] args) {
RefundApiV1Api apiInstance = new RefundApiV1Api();
try {
RefundProcess result = apiInstance.healthcheck();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RefundApiV1Api#healthcheck");
e.printStackTrace();
}
}
}
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RefundApiV1Api;
import java.io.File;
import java.util.*;
public class RefundApiV1ApiExample {
public static void main(String[] args) {
RefundApiV1Api apiInstance = new RefundApiV1Api();
RefundNotification body = new RefundNotification(); // RefundNotification |
try {
RefundProcess result = apiInstance.notification(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RefundApiV1Api#notification");
e.printStackTrace();
}
}
}
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RefundApiV1Api;
import java.io.File;
import java.util.*;
public class RefundApiV1ApiExample {
public static void main(String[] args) {
RefundApiV1Api apiInstance = new RefundApiV1Api();
List<RefundNotification> body = Arrays.asList(new RefundNotification()); // List<RefundNotification> |
try {
RefundProcess result = apiInstance.notifications(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RefundApiV1Api#notifications");
e.printStackTrace();
}
}
}
All URIs are relative to https://ressarcimento.opbkdev.smartfylabs.com
Class | Method | HTTP request | Description |
---|---|---|---|
RefundApiV1Api | findNotificationById | GET /apis/v1/refund/notifications/{processId} | Operação de consulta de processos de transações |
RefundApiV1Api | healthcheck | GET /apis/v1/refund/notifications/healthcheck | Operação de consulta de monitoramento de processos de transações |
RefundApiV1Api | notification | POST /apis/v1/refund/notifications/ | Operação de registro unitário de transação |
RefundApiV1Api | notifications | PATCH /apis/v1/refund/notifications/ | Operação de registro em massa de uma transação |
All endpoints do not require authorization. Authentication schemes defined for the API:
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.