Upload the issuer's logo
Replaces the previous logo. It appears on the issuer's portal, on the RIDE and in the emails to its customers. PNG or JPEG, up to 512 KB: the format is read from the file, not from its name.
Your API key, which acts for the one business it was created for: fb_sandbox_… issues in sandbox, fb_test_… in test, the tax authority's testing service, and fb_live_… in live.
In: header
Path Parameters
uuidRequest Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
The logo, as PNG or JPEG, up to 512 KB.
binaryResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/v1/ec/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/logo" \ -F file="string"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "entity", "kind": "sandbox", "country": "ec", "ruc": "string", "legal_name": "string", "trade_name": "string", "head_office_address": "string", "head_office_phone": "string", "head_office_email": "string", "reply_to_email": "string", "footer_legend": "string", "keeps_accounting": true, "regime": "general", "special_taxpayer_resolution": "string", "withholding_agent_resolution": "string", "large_taxpayer_resolution": "string", "certificate": { "holder": "string", "holder_identification": "string", "holder_identification_type": "cedula", "kind": "natural_person", "issuer_name": "string", "subject": "string", "issuer": "string", "serial_number": "string", "valid_from": "2019-08-24T14:15:22Z", "valid_until": "2019-08-24T14:15:22Z" }, "portal_shows_test": true, "live_since": "2019-08-24T14:15:22Z", "issuing": { "allowed": true, "lock": { "code": "plan_required", "message": "string", "canceled": true } }, "logo": { "url": "http://example.com", "content_type": "image/png", "size": 0 }, "created_at": "2019-08-24T14:15:22Z"}An issuer's logo GET
Public, without credentials, for the portal, the RIDE and emails. Its URL (`logo.url`, with `v`) changes with the logo, so it is cached forever; without `v` or with another version, only for a few seconds.
Remove the issuer's logo DELETE
The portal, the RIDE and emails go back to showing only its name.