Skip to main content

PrepareSubscribeRequest

addressAddressrequired

Buyer = sender = account.

Possible values: Value must match regular expression ^erd1[02-9ac-hj-np-z]{58}$

Example: erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0e
tierIdintegerrequired
monthsinteger

0 only for a no-period tier.

Possible values: >= 0 and <= 12

Default value: 1
payWithstring

auto uses credits first and pays only the difference in USDC.

Possible values: [auto, usdc, credits]

Default value: auto
extraDepositMicroUsdcDecimalString

USDC paid above the price stays as credits.

Possible values: Value must match regular expression ^[0-9]+$

gaslessboolean
Default value: true
PrepareSubscribeRequest
{
"address": "erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0e",
"tierId": 0,
"months": 1,
"payWith": "auto",
"extraDepositMicroUsdc": "string",
"gasless": true
}