Upload badge
Upload a badge image for the specified subprocessor. Supports image formats (PNG, JPEG, GIF, SVG, WebP) up to 2 MB.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Subprocessor ID
Request Body
multipart/form-data
file*file
Badge image file (PNG, JPEG, GIF, SVG, WebP)
Format
binaryResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://app.orbiqhq.com/api/v1/subprocessors/string/badge" \ -F file="string"{
"success": true,
"data": {
"fileId": "f9a1b2c3-d4e5-6789-0abc-def123456789",
"url": "https://app.orbiqhq.com/assets/f9a1b2c3-d4e5-6789-0abc-def123456789"
}
}{
"error": "file_required"
}Empty
Empty
Empty
{
"error": "badge_too_large"
}{
"error": "unsupported_media_type"
}{
"error": "badge_upload_failed"
}How is this guide?