We elevate our integrators' experience by offering services that go beyond conventional transactions. Next, we present the integration endpoints for external payments to companies, made from your account with us.
As a Merchant, first, you need to authenticate with your specific Api Keys.
If you are not aware of the process, please refer to the first part of our Integration Flow Guide as well as the Athentication Endpoint.
We strongly recommend you create new API Keys, exclusive for this purpose.
Request the list of registered Receivers. In our platform, the Receiver is a company registered by the merchant exclusivelly to receive payments. This request is important to get the Receiver Id, to be used in the payment request.
Note: Receivers are registered manually via Admin Portal. We intend to publish receivers registration endpoints soon.
Be aware that the desired receiver must be approved by our team.
Based on the Receiver Id, request the list of registered bank accounts for that receiver.
Note: Receivers' Bank Accounts are registered manually via Admin Portal, and are part of the necessary for review approval. We intend to publish bank accounts endpoints soon.
Request a payment for a specific bank account of a registered and approved receiver, you will need to provide both the receiver id and the account id.
To upload the payment invoice, you need to ask for a secure upload URL. For such, you will use the recently created payment request id. Upload the invoice via code using the returned upload URL.
Next, we present the set of endpoints to allow you executing these operations via API.
Listing the Receivers
Reference Endpoint
GET /partners-int/receivers
This endpoint allows you to list a paginated set of receivers based on the approval status.
The receiver status, as one of: Pending, Approved or Rejected
companyFantasyName
string
The company fantasy name. Fantasy names are commercial names company may chose in their social contract. Typically, this is how the company is popularly known.
companyCNPJ
string
The Company CNPJ. In Brazil, CNPJ is a unique identification number assigned to legal entities, such as companies, organizations, and businesses.
reviewNote
string
Any note a reviewer added when reviewing this receiver registration.
Retrieving a Specific Receiver
Reference Endpoint
GET /partners-int/receivers/{receiverId}
This endpoint allows you to get a specific receiver by providing the receiverId. For the example bellow, consider the receiver id 6f8a7e7e-b1b2-498f-82b8-9c999fe7451c.
The pagination offset, in this case, 0 by default.
total
string
The number of receivers found, in this case, 1 by default.
items
array
The set of receivers found, in this case, containing a single.
id
string
The receiver id.
creationDate
string
The receiver creation date.
receiverStatus
string
The receiver status, as one of: Pending, Approved, Rejected.
companyFantasyName
string
The company fantasy name. Fantasy names are commercial names company may chose in their social contract. Typically, this is how the company is popularly known.
companyCNPJ
string
The Company CNPJ. In Brazil, CNPJ is a unique identification number assigned to legal entities, such as companies, organizations, and businesses.
reviewNote
string
Any note a reviewer added when reviewing this receiver registration.
Retrieving the Receiver Accounts
Reference Endpoint
GET /partners-int/receivers/{receiverId}/accounts
This endpoint allows you to get a specific receiver bank account by providing the receiverId. For the example bellow, consider the receiver id 6f8a7e7e-b1b2-498f-82b8-9c999fe7451c.
The bank code as registered in Brazilian Central Bank.
bankName
string
The bank name.
accountAgency
string
The bank agency of this account.
accountNumber
string
The bank account number.
accountOwnerDocNumber
string
The owner's document number. In this case, the CNPJ number.
pixKey
string
The PIX Key, a CNPJ value.
pixKeyType
string
The PIX key type, in this case CNPJ is mandatory.
Creating a Company Payment
Reference Endpoint
POST /partners-int/accounts/transaction-requests
This endpoint allows you to create a payment request to a specific receiver bank account by providing the refReceiver, the receiver id, and the refBankAccount, the bank account id.
For the example bellow, consider the receiver id 6f8a7e7e-b1b2-498f-82b8-9c999fe7451c, and the bank account id bd90f915-ce89-4cc8-9f20-5d622bdfd2b3.
The approval status as one of: Pending, Approved or Rejected.
pixKey
string
The PIX key, the CNPJ provided in the request
pixKeyType
string
The PIX key type, in this case CNPJ.
description
string
The description provided in the request.
refReceiver
string
The reference receiver provided in the request.
refBankAccount
string
The reference bank account provided in the request.
refTransaction
string
The banking transaction id, the one to be found in the Sales list.
referencesInfo.receiverName
string
The company (receiver) fantasy name.
referencesInfo.customerName
string
The merchant (requestor) name.
All Payment Requests created via API also follow the approval flow as if created via Admin Portal. Notice that it is possible to Cancel a Payment Request while it was not Approved and Executed.
When Approved, the Payment Request are associated to a transaction object with its own Transaction Lifecycle. State changes in the transaction lifecycle are promptly notified via webhooks notification.
Requesting a Document Upload URL
Reference Endpoint
POST /partners-int/documents
This endpoint allows you to get an upload URL where to you will upload the payment invoice.