Create a Mass Payout

Mass Payout lets you send up to 10,000 payments at once by uploading a properly formatted CSV file.

This feature supports payouts to Brazilian accounts (BR) in BRL currency, using either PagBank or Pix as payment methods.

Required Fields

To use the Mass Payout, your CSV file must have the fields described in the following table:

FieldAccepted ValuesDescription
countryBRDestination country (ISO 3166).
currencyBRLPayment currency (ISO 4217).
amount0.01 to 20,000.00Transfer amount per payee.
paymentMethodPix or PagBankPayment method.
paymentKeySee Payment Key RulesUnique identifier for payee (key type varies by method).
payeeNameString (max 64 characters)Recipient’s full name.
payeeDocumentTypeCPF or CNPJDocument type (individual or legal entity).
payeeDocumentValueCPF: 11 digits
CNPJ: 14 digits
Recipient’s document number.

Step 1: Prepare Your CSV File

Your CSV file must:

  • Use semicolon (;) as the field separator.
  • Have one payment per line.
  • Include a header row in the following order:
country;currency;amount;paymentMethod;paymentKey;payeeName;payeeDocumentType;payeeDocumentValue

📘

Use a dot (.) as the decimal separator for the amount field.

The following code blocks shows an example of CSV file.

country;currency;amount;paymentMethod;paymentKey;payeeName;payeeDocumentType;payeeDocumentValue
BR;BRL;250.00;Pix;12345678901;Maria da Silva;CPF;12345678901
BR;BRL;1250.55;PagBank;[email protected];João Souza;CPF;98765432100

Step 2: Choose the Correct Payment Key

If using PagBank, the paymentKey must be the payee's email registered in PagBank.

Key TypeFormatExample
EmailValid email[email protected]

If using Pix, the paymentKey can be one of the following:

Key TypeFormat (Regex)Example
CPF^[0-9]{11}$12345678901
CNPJ^[0-9]{14}$12345678901234
Phone^\+[1-9][0-9]\d{1,14}$
Country code required
+5511998765432
Email^[a-z0-9.!#$&'*+/=?^_{|}~-]+@[a-z0-9?(?:.a-z0-9?)]*$`[email protected]
Random[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}123e4567-e89b-12d3-a456-426655440000

📘

Country Code Required for Phone Pix Keys

Always include the international dialing code (e.g., +55 for Brazil).

Step 3: Upload Your CSV File

  1. Log in to your PagSeguro MyAccount.
  2. Navigate to the Mass payout request section.
  3. Upload the CSV file.
  4. Confirm the details and click Create a New Mass Request.