Create a payer theme associated with a creditor#
POST
/branding/payer_themesCreates a new payer theme associated with a creditor. If a creditor already has payer themes, this will update the existing payer theme linked to the creditor.
Responsehttp
Request Body
payer_themesobject5 properties
header_background_colourstring
Colour for header background (hexcode)
link_text_colourstring
Colour for text links (hexcode)
button_background_colourstring
Colour for buttons background (hexcode)
content_box_border_colourstring
Colour for content box border (hexcode)
linksobject
1 properties
creditorstring
ID of the creditor the payer theme belongs to
Response 201
Resource created successfully
payer_themesobject1 properties
idstring
Unique identifier, beginning with "PTH".
Errors 400401404422500
400
Bad Request
401
Unauthorised
404
Not found
422
Validation Error
500
Internal Error
Error Body
codeintegerdocumentation_urlstringerrorsarray2 properties
reasonstringmessagestringmessagestringrequest_idstringtypestringmetadataobjectlinksobject