Skip to main content
POST
/
collections
/
{id}
/
logo
Upload payment link logo
curl --request POST \
  --url http://localhost:4000/v1/collections/{id}/logo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form logo='@example-file'
const form = new FormData();
form.append('logo', '<string>');

const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

options.body = form;

fetch('http://localhost:4000/v1/collections/{id}/logo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "http://localhost:4000/v1/collections/{id}/logo"

files = { "logo": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, files=files, headers=headers)

print(response.text)
{
  "status": "success",
  "message": "Logo uploaded",
  "data": {
    "logoUrl": "https://api.remitflex.io/v1/pay/b2c3d4e5-f6a7-8901-bcde-f12345678902/logo"
  }
}

Authorizations

Authorization
string
header
required

API key created in the Remitflex Dashboard at dashboard.remitflex.io (rmf_live_... or rmf_test_...). Key management endpoints require a dashboard JWT and are not part of this reference.

Path Parameters

id
string<uuid>
required

Body

multipart/form-data

Response

200 - application/json

Logo upload result

status
string
Example:

"success"

message
string
data
object