Bulk Import Beneficiary

The API generates a group of multiple beneficiaries by making a single request within the account. After registration, the beneficiary ID can be used to transmit payment instructions, and the job ID can be used on the status endpoint to check the job status.

POST /payments/beneficiaries/import

Body Parameters Request

Body Parameters Response

Request Example

POST /payments/beneficiaries/import
{
   "items": [
      {
         "id": "1",
         "entity_type": "INDIVIDUAL",
         "bank_details": {
            "account_number": "789456123012",
            "bank_code": "111000025",
            "account_country": "US",
            "account_currency": "USD",
            "account_name": "Anderson Emily"
         },
         "entity": {
            "individual_last_name": "Anderson",
            "address_country_subdivision": "TX",
            "individual_first_name": " Emily",
            "date_of_birth": "1985-06-05",
            "address_line_1": "1234 Elm Street",
            "address_city": "Houston",
            "address_country": "US",
            "address_postal_code": "77001"
         }
      },
      {
         "id": "2",
         "entity_type": "INDIVIDUAL",
         "bank_details": {
            "bank_name": "BANK OF AMERICA",
            "account_number": "234567890567",
            "bank_code": "111000025",
            "account_country": "US",
            "account_currency": "USD",
            "account_name": "Patel Jason"
         },
         "entity": {
            "individual_last_name": "Patel",
            "address_country_subdivision": "TX",
            "individual_first_name": " Jason",
            "date_of_birth": "1986-12-02",
            "address_line_1": "1235 Elm Street",
            "address_city": "Houston",
            "address_country": "US",
            "address_postal_code": "77001"
         }
      },
      {
         "id": "3",
         "entity_type": "INDIVIDUAL",
         "bank_details": {
            "bank_name": "Bank of America",
            "account_number": "654321098765",
            "bank_code": "111000025",
            "account_country": "US",
            "account_currency": "USD",
            "account_name": "Garcia Olivia"
         },
         "entity": {
            "individual_last_name": "Garcia",
            "address_country_subdivision": "TX",
            "individual_first_name": " Olivia",
            "date_of_birth": "1972-11-25",
            "address_line_1": "1236 Elm Street",
            "address_city": "Houston",
            "address_country": "US",
            "address_postal_code": "77001"
         }
      }
   ]
}

Response Examples

{
  "job_id": "TPy4DcQATiqZRRzTMEXt2Q",
  "started_at": "2024-03-04T10:56:51.126587470Z",
  "processed": 0,
  "total": 3,
  "processing": 2,
  "failed": 1,
  "status": "QUEUED"
  "progress": [
    {
      "row": 0,
      "error": {
        "error_info": {
          "valid": false,
          "warnings": [],
          "errors": [
            {
              "description": "Missing property bank_name",
              "properties": [
                "$.bank_details"
              ]
            }
          ]
        },
        "error_code": 422,
        "error": "unprocessable_entity",
        "message": "Payload object is invalid."
      },
      "status": "FAILED"
    }
  ] 
}

Last updated

© All rights reserved to papaya global 2024