Upload a file

POST {{baseUrl}}/api/attachments

Upload a file so it can be attached to a payment link.

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring

RESPONSES

status: OK

{"fileId":"48965a78-59bf-4cdf-adc5-3344943052b1","message":"File uploaded sucessfully"}