v1

latestOpenAPI 3.1.02026-07-242325051.4 MB
Layout

Layout:Update

Updates a layout which will be used on interaction with the end-user, e.g. our hosted payment page, payment terminal, second chance emails etc. You need to have access to the merchant to update a layout

patch/v2/layouts/{layoutCode}

Path parameters

layoutCodestring required

The code of the layout you want to edit

Request body

namestring nullable
supportingColorstring nullable
headerTextColorstring nullable
buttonColorstring nullable
buttonTextColorstring nullable
brandTagobject

Example request

{
  "brandTag": {
    "brandTag": {
      "text": "Selling Goods",
      "translations": {
        "nl_NL": "Goederen verkopen",
        "en_GB": "Selling Goods"
      }
    }
  }
}

Response

OK

codestring

The LY-code for a layout.

status'NOT_CHECKED' | 'APPROVED' | 'DECLINED' | 'RECHECK'

The status of the layout

declineReasonstring nullable

The reason why the layout has been declined

namestring

The name for the layout

createdAtstring date-time nullable

The date and time at which this entity was created in ISO-8601 (ATOM) notation

createdBystring nullable

The reference to an account or token whom created the entity

modifiedAtstring date-time nullable

The date and time at which this entity was modified in ISO-8601 (ATOM) notation.

modifiedBystring nullable

The reference to an account or token whom modified this entity

deletedAtstring date-time nullable

The date and time at which this entity was deleted in ISO-8601 (ATOM) notation.

deletedBystring nullable

The reference to an account or token whom deleted the entity

Example response

{
  "code": "LY-1234-4321",
  "status": "APPROVED",
  "name": "My branding",
  "createdAt": "2024-06-04T08:15:00+01:00",
  "createdBy": "A-1234-4321",
  "modifiedAt": "2024-06-04T08:15:00+01:00",
  "modifiedBy": "A-1234-4321",
  "deletedAt": "A-1234-4321",
  "deletedBy": "A-1234-4321"
}