Retrieve Required Payout Fields
GET/payouts/fields/:providerCode/:instrumentType/
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
In the future, this endpoint will be deprecated and replaced by the POST endpoint Retrieve Required Payout Fields because the POST endpoint provides more data and supports more providers.
This endpoint retrieves data fields required to fill the recipient
object for a payout. These fields vary based on the specified providerCode
, instrumentType
. You can get a list of required parameters for your store from Retrieve Payout Methods. Upon calling this endpoint, you will receive a recipient
object with fields that need to be filled out and submitted in the payout creation endpoint."
Request​
Path Parameters
The name of the provider for which you want to retrieve data.
Possible values: [card
, bank_transfer
, wallet
, crypto_wallet
, voucher
]
Specifies the instrument type for the payout.
Responses​
- 200
- 412
A list of required fields for each object.
- application/json
- Schema
- Example (from schema)
Schema
data objectrequired
recipient objectrequired
Detailed information about the payout recipient.
Personal identification and contact information of the recipient.
Address information for the payout recipient.
Document identification for the payout recipient.
Information required for processing a payout via credit card.
Information required for processing a payout via e-wallet.
Information required for processing a payout via bank transfer.
paymentData objectnullable
Details about the payment channel used for the payout.
The payment channel used for the transaction
payoutData objectnullable
Details related to the payout, including fee responsibility and currency.
Indicates who bears the fee for the transaction.
The source currency of the payout.
payoutOptions objectrequired
Object containing information about the requirements for filling out Create Payout Request.
Array containing information about the parameters of available banks for the payout method. Provided only for instrumentType
== bank_transfer
.
{
"data": {
"recipient": {
"personalData": [
"firstName",
"lastName",
"middleName",
"phone",
"email",
"birthDate"
],
"addressData": [
"countryCode",
"state",
"city",
"zipCode",
"address"
],
"documentData": [
"identityDocumentId",
"TIN",
"passportNumber",
"documentCardNumber",
"CPFNumber",
"documentSeries",
"issueCountry",
"validBeforeAt",
"documentType"
],
"cardData": [
"cardNumber",
"cardHolderName",
"expireMonth",
"expireYear",
"cardId"
],
"walletData": [
"walletId",
"walletType",
"walletName"
],
"bankTransferData": [
"accountNumber",
"accountName",
"bankName",
"bankBranch",
"bankCode",
"bankCity",
"bankAddress",
"bankZipCode",
"bankProvince",
"bankArea",
"routingNumber",
"bankBic"
],
"paymentData": {
"channel": "string"
},
"payoutData": {
"feeBear": "string",
"sourceCurrency": "USD"
}
},
"payoutOptions": {
"supportedRecipientBanks": [
"string"
]
}
}
}
Precondition Failed. The specified providerCode/InstrumentType is not supported.