Saltar al contenido principal

Upload Disbursement Instructions

POST 

/disbursements/:id/instructions

Adds a file containing a list of receivers to a DRAFT disbursement. This step is required before a disbursement can begin. The file must be a CSV and has a different possible formats according with the disbursement configuration, and they can be found at public/resources/disbursementTemplates. The operation is idempotent, guaranteed by deleting and recreating the disbursement attributes when this endpoint is called.

Request

Path Parameters

    id stringrequired

    ID of the Disbursement

Body

required

    file binaryrequired

    Disbursement instructions file to upload. The CSV file columns can vary depending om the way the disbursement was configured, and the fields are a subset of the following: [phone, email, id, amount, verification, paymentID, walletAddress]

Responses

Created

Schema

    message string
Loading...