Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Connect

Lucas Garcia edited this page Sep 5, 2018 · 4 revisions

Introduction

TO DO

Dependencies

import static br.com.moip.helpers.PayloadFactory.payloadFactory;
import static br.com.moip.helpers.PayloadFactory.value;

Features

Index

Ask for OAuth authorization

Map<String, Object> url = Moip.API.connect().buildUrl("client_id", "redirect_uri", "RECEIVE_FUNDS, MANAGE_ACCOUNT_INFO, TRANSFER_FUNDS", setup);

Generate Access Token

Map<String, Object> response = Moip.API.connect().generateAccessToken("", setup);

Refresh Access Token

Map<String, Object> response = Moip.API.connect().refreshAccessToken("", setup);
Clone this wiki locally