# Add data requirements to a payout method, overwriting any existing requirements through file

Returns the processed file details method

Endpoint: POST /v1/data-requirements/upload
Version: 1.0.0
Security: oauth2

## Request fields (multipart/form-data):

  - `dataRequirementsFile` (string)

## Response 200 fields (application/json):

  - `totalPayoutMethods` (integer, required)

  - `successfullyProcessedPayoutMethods` (integer, required)

  - `successfullyProcessedPayoutMethodsDetails` (array)

  - `successfullyProcessedPayoutMethodsDetails.payoutMethod` (string, required)

  - `successfullyProcessedPayoutMethodsDetails.dataRequirements` (integer, required)

  - `failedPayoutMethods` (integer, required)

  - `failedPayoutMethodsDetails` (array)

  - `failedPayoutMethodsDetails.payoutMethod` (string, required)

  - `failedPayoutMethodsDetails.failureReason` (string, required)

## Response 400 fields (application/problem+json):

  - `status` (integer, required)

  - `errors` (array, required)

  - `errors.category` (string, required)
    Enum: "TRANSACTION", "VALIDATION", "AUTHZ", "INTERNAL", "MISCELLANEOUS", "FUND", "ACCOUNT", "COMPLIANCE"

  - `errors.title` (string, required)

  - `errors.code` (string, required)

  - `errors.detail` (string, required)

  - `timestamp` (string)


