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
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string |
RESPONSES
status: OK
{"fileId":"48965a78-59bf-4cdf-adc5-3344943052b1","message":"File uploaded sucessfully"}