Create Subscription

Create new subscription

POST https://ipgtest.monri.com/v2/subscriptions

Headers

NameTypeDescription

Content-Type*

application/json

Accept*

application/json

Authorization*

<calculated-value>

Request Body

NameTypeDescription

name*

String

Name, it should be unique. 1-255 characters.

description*

String

Subscription description

price*

Integer

Amount in minor units

currency*

String

ISO three letter currency code - it should be one of supported currencies.

period*

String

Subscription charge period - possible values are: day, week, month, half_year, year

{
  "id": 593,
  "name": "Subscription #1",
  "merchant_id": 11880,
  "status": "approved",
  "description": "Description",
  "price": 1000,
  "currency": "EUR",
  "period": "week"
}

Last updated