---
title: "Creating a Mass Payment File"
source_url: https://docs.rapyd.net/en/creating-a-mass-payment-file.html
lang: en
---

# Creating a Mass Payment File

Create your own mass payment file based on the sample file that you downloaded.

This is the second step in [Creating Mass Payments](https://docs.rapyd.net/en/creating-mass-payments.md "Creating Mass Payments").

This procedure requires Owner or Administrator privileges.

> **Note:**
>
> Completion of [Downloading a Sample Mass Payment File](https://docs.rapyd.net/en/downloading-a-sample-mass-payment-file.md "Downloading a Sample Mass Payment File").

### How to Create a Mass Payment File

1. Open the sample file that you downloaded.
2. Using your own tools, edit the downloaded sample to list your payments. The header row (line 1) is required in the file. Use a separate row for each payment, as shown in the following example.

   **Mass Payment File**

   ```xml
   amount,currency,country,payment_method,payment_method.type,expiration,merchant_reference_id,customer,description,complete_payment_url,error_payment_url
               
   10,USD,US,,us_psc_cash,,607060,,ebook 2342424,https://complete.example12345.net,https://error.example123456.net
               
   11,USD,US,,us_psc_cash,,32423402340,,ebook 2342342,https://complete.example12345.net,https://complete.example12345.net
               
   12,USD,US,,us_psc_cash,,101-130-132,,ebook wf23423,https://complete.example12345.net,https://complete.example12345.net
   ```

   > **Note:**
   >
   > The Sandbox environment supports files of up to 10 rows.
3. Continue to [Uploading a Mass Payment File](https://docs.rapyd.net/en/uploading-a-mass-payment-file.md "Uploading a Mass Payment File").
