Skip to content

Branding

Logo status

Scope: settings:read

Terminal window
curl https://app.rieck.nu/api/v1/branding \
-H "Authorization: Bearer $RIECK_API_KEY"

Upload logo

Scope: settings:write

Terminal window
curl -X PUT https://app.rieck.nu/api/v1/branding/logo \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041" \
-d '{
"data": "…",
"mime": "image/png",
"variant": "light"
}'
Request body — fuldt JSON Schema
{
"type": "object",
"properties": {
"data": {
"type": "string",
"minLength": 1
},
"mime": {
"type": "string",
"enum": [
"image/png",
"image/jpeg",
"image/svg+xml",
"image/webp"
]
},
"variant": {
"default": "light",
"type": "string",
"enum": [
"light",
"dark"
]
}
},
"required": [
"data",
"mime"
],
"additionalProperties": false
}

Delete logo variant

Scope: settings:write

Query
variantlight (default) or dark
Terminal window
curl -X DELETE https://app.rieck.nu/api/v1/branding/logo \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041"

Get payment domain

Scope: settings:read

Terminal window
curl https://app.rieck.nu/api/v1/payment-domain \
-H "Authorization: Bearer $RIECK_API_KEY"

Set payment domain

Changing the domain resets verification.

Scope: settings:write

Terminal window
curl -X PUT https://app.rieck.nu/api/v1/payment-domain \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041" \
-d '{
"domain": "…"
}'
Request body — fuldt JSON Schema
{
"type": "object",
"properties": {
"domain": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 255
},
{
"type": "null"
}
]
}
},
"required": [
"domain"
],
"additionalProperties": false
}

Run live domain check

Scope: settings:write

Terminal window
curl -X POST https://app.rieck.nu/api/v1/payment-domain/verify \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041"

Get customer-portal settings

Scope: settings:read

Terminal window
curl https://app.rieck.nu/api/v1/customer-portal \
-H "Authorization: Bearer $RIECK_API_KEY"

Update customer-portal settings

Scope: settings:write

Terminal window
curl -X PATCH https://app.rieck.nu/api/v1/customer-portal \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041" \
-d '{
"active": true,
"subscriptionSelfService": true
}'
Request body — fuldt JSON Schema
{
"type": "object",
"properties": {
"subdomain": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$"
},
"active": {
"type": "boolean"
},
"subscriptionSelfService": {
"type": "boolean"
},
"primaryColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"palette": {
"type": "string",
"enum": [
"smoer",
"lys",
"beton",
"sand",
"graa",
"mint",
"blaa",
"is",
"groen",
"varm",
"lavendel",
"rosa",
"moerk",
"midnat",
"grafit",
"skov",
"espresso",
"vin"
]
},
"customDomain": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 255
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}

Verify portal custom domain

Scope: settings:write

Terminal window
curl -X POST https://app.rieck.nu/api/v1/customer-portal/verify-domain \
-H "Authorization: Bearer $RIECK_API_KEY" \
-H "Idempotency-Key: order-2041"