Skip to content
Systey

Renew with wallet balance

Request, parameters and responses for this API endpoint.

POST/api/v1/customer/products/{id}/renewals

Overview

This endpoint requires an API key with write access. Its creator must still be the user of the customer account.

Headers & parameters

AuthorizationBearer $SYSTEY_API_KEY · required

Content-Typeapplication/json

idpath · required

{"type":"string","format":"uuid"}

Idempotency-Keyheader · required

{"type":"string","format":"uuid"}

Use a new UUID per action. Reuse the same UUID and content for retries.

Request body

Send a JSON object. Required fields refer to their containing object. Business requirements for the endpoint also apply; unknown fields are rejected.

Schema fields and requirements
FieldTypeRequired
affiliateCode

default: "" · maxLength: 32

string—
paymentMethod

const: "WALLET"

stringYes
accepted

const: true

booleanYes

Example request

Replace placeholders with your own values. Persist $REQUEST_UUID before a mutation if this endpoint requires an Idempotency-Key.

cURL
curl -i -X POST "https://systey.com/api/v1/customer/products/<resource UUID>/renewals" \
  -H "Authorization: Bearer $SYSTEY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $REQUEST_UUID" \
  --data '{
  "paymentMethod": "WALLET",
  "accepted": true
}'

Response

HTTP 202

The order has been accepted. Check order status using the Location header URL. FULFILLED confirms provisioning.

Schema fields and requirements
FieldTypeRequired
dataobjectYes
data.id

uuid

stringYes
data.numberintegerYes
data.kind

"INITIAL" | "RENEWAL"

stringYes
data.namestringYes
data.category

"VPS" | "DOMAIN" | "WEBSPACE" | "DEVELOPMENT" | "MANAGED_SERVICE"

stringYes
data.status

"PENDING_PAYMENT" | "PAID" | "PROVISIONING" | "FULFILLED" | "CANCELLED" | "REVIEW_REQUIRED"

stringYes
data.priceCentsintegerYes
data.setupCentsintegerYes
data.taxCentsintegerYes
data.totalCentsintegerYes
data.billingCycle

"ONCE" | "MONTHLY" | "YEARLY"

stringYes
data.paymentMethod

"WALLET" | "MOLLIE"

stringYes
data.commercialModel

"CONTRACT" | "PREPAID"

stringYes
data.renewalMode

"NONE" | "AUTOMATIC" | "CUSTOMER"

stringYes
data.sandboxbooleanYes
data.createdAt

date-time

stringYes
data.paidAt

date-time | null

string | nullYes
data.fulfilledAt

date-time | null

string | nullYes
data.product

object | null

object | nullYes
data.product.id

uuid

stringYes
data.payment

object | null

object | nullYes
data.payment.id

uuid

stringYes
data.payment.statusstringYes

Errors

Error responses contain error and optionally message and details. Rate limit: 120 requests per minute per key. On HTTP 429 respect Retry-After.