mayarin
GET
/v1/subscriptions

Authorization

secretKey
AuthorizationBearer <token>

Server-side sk_ key. Grants a subset of the merchant's permissions.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/subscriptions"
[  {    "id": "string",    "subscriber": {      "customerId": "string",      "name": "string",      "email": "string"    },    "description": "string",    "amount": {      "amount": "string",      "asset": "string",      "formatted": "string",      "display": "string"    },    "interval": "week",    "state": "active",    "billedCycles": 0,    "daysUntilDue": 0,    "anchorAt": "string",    "nextBillingAt": "string",    "createdAt": "string",    "cancelledAt": "string"  }]