This endpoint allows to upload and attach invoice or other supporting documents to the payment.
Provide the following data requirements when sending a POST request to the Upload File Payment. The content type of this request must be multipart/form-data.
Additional Header parameter:
|Client-Id||No||Unique identifier of Child Account (required only for Partner). See Authentication Page to learn more.||String|
The body of this request should contain the following parameter:
|document||Yes||File containing invoice or other supporting document for payment. Accepted types are pdf, png and jpeg.||File|
The url of this request should contain the following query parameters:
|type||Yes||Type of the document that is being uploaded. Possible values are INVOICE for invoice and SUPP_DOCUMENT for supporting document. File with type INVOIVE can only be uploaded once.||String|
The url of this request should contain the following path parameter:
|paymentReferenceId||Yes||A unique number generated to identify each individual payment.||String|