Skip to main content

Overview

Before an organization can receive payments via Tesouro payment rails, you need to specify the payment methods that the organization will be able to use.
All API calls mentioned on this page require a partner access token.

Enable payment methods

To enable one or more payment methods for an organization, call PUT /entities/{entity_id}/payment-methods. In the request body, the payment_methods_receive list specifies the methods by which the organization can receive payments from its counterparts.
In the response, check the status of each payment method. Those with the active status can be used immediately, whereas inactive methods may require additional onboarding of the organization.

Get enabled payment methods

To get the payment methods that were enabled for an organization, call GET /entities/{entity_id}/payment-methods:
The response contains the display names and codes of each payment methods, the payment direction (send or receive), and the payment method’s status (active or inactive).

Payment method codes

The following table contains the payment method codes used by the /entities/{entity_id}/payment-methods endpoints, and whether these methods can be used to receive payments.