Skip to main content
POST
Create a subscription service

Authorizations

api-key
string
header
required

Project API Key

Body

application/json
service_fee
integer
required

Service fee amount

penalty_fee
integer
required

Penalty fee amount

interval_length
integer
required

Length of the interval

num_intervals
integer
required

Number of intervals

is_active
boolean
required

Is the service active

merchant_address
string

Merchant address

selected_out_ref
object

UTXO

service_fee_policyid
string

Policy ID of the service fee

service_fee_assetname
string

Asset name of the service fee

penalty_fee_policyid
string

Policy ID of the penalty fee

penalty_fee_assetname
string

Asset name of the penalty fee

Response

Service created successfully

Unsigned transaction

cbor_hex
string
required

CBOR hexadecimal representation of the transaction

tx_hash
string
required

Transaction hash