GoCardless Logos API.
Upload a logo image associated with a creditor. The logo appears on GoCardless-hosted payment pages for that creditor.
Example
pem_data = File.read!("logo.png") |> Base.encode64()
{:ok, logo} = GoCardlessClient.Resources.Logos.create(client, %{
image: pem_data,
links: %{creditor: "CR123"}
})
Summary
Functions
Uploads a logo and associates it with a creditor.
Functions
@spec create(GoCardlessClient.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, GoCardlessClient.APIError.t() | GoCardlessClient.Error.t()}
Uploads a logo and associates it with a creditor.
Params
:image— Base64-encoded image data (PNG, JPG, or SVG; min 400×400px recommended)links.creditor— Creditor ID (required)