Skip to main content
POST
Renew or top up an existing subscription

Authorizations

Authorization
string
header
required

Partner API Key passed in the Authorization header: Authorization: Bearer ak_live_... (or ak_test_... for Cloud Sandbox, ak_local_... for Local Direct).

Headers

Idempotency-Key
string<uuid>

Unique UUID recommended on all mutating calls to safely retry after network timeouts.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
facilityId
string
required

Unique external facility identifier within your partner scope.

Example:

"MY-KL-001"

subscriptionId
string
required
newEndDate
string<date>
topUpAmount
object
topUpUnits
integer

Additional visits (VISIT_PACK) or minutes (DURATION_PACK).

Required range: x >= 1
paidAmount
object
paymentMethod
enum<string>

Normalized payment instrument used to settle the transaction; use paymentProvider to specify the concrete processor or wallet brand (e.g. stripe, apple_pay, tng).

Available options:
CARD,
DIGITAL_WALLET,
BANK_TRANSFER,
CASH,
STORED_VALUE,
OTHER
externalOrderId
string

Response

Subscription renewed.

subscription
object
required