Create/Update/Get Response
Response is same for: create, update and get subscription.
field
status
length
enum
type
String
description
approved, invalid-request or error
field
id
length
predefined
type
Integer
description
Subscription id
field
name
length
1-255
type
String
description
Name
field
message
length
-
type
String
description
OPTIONAL - available if status is error
or invalid-request
field
merchant_id
length
predefined
type
Integer
description
Merchant's id
field
price
length
predefined
type
Integer
description
Price in minor units
field
currency
length
3
type
String
description
ISO 3 letter currency code
field
period
length
predefined
type
String
description
One of available period values (week, day etc)
Response example:
{
"id": 593,
"name": "Subscription #1",
"merchant_id": 11880,
"status": "approved",
"sku": null,
"description": "Description",
"price": 1000,
"currency": "EUR",
"period": "week"
}
Last updated