API Reference
Go to zen.comGo to myZEN.com
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • Merchant panel
  • Brandbook
  • API transfers
Go to zen.comGo to myZEN.com
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • Merchant panel
  • Brandbook
  • API transfers
  1. subscriptions
  • Introduction
  • Authentication & authorization
  • Environments
  • Transaction statuses
  • Notifications
  • Response codes
  • Error codes
  • purchase
    • Create transaction
    • Capture transaction
    • Transaction details using ZEN id
    • Transaction details using merchantTransactionId
    • Cancel transaction
    • Renew authorization
    • Validate ApplePay session
    • Calculate cashback
  • refund
    • Create transaction
  • payout
    • Create transaction
    • Transaction details using ZEN id
    • Transaction details using merchantTransactionId
    • Capture transaction
    • Cancel transaction
    • Renew transaction
    • Transaction details using ZEN id
    • Refresh transaction offers
    • Select transaction offer
  • payment-methods
    • Returns information about payment methods
    • Returns information about payment methods
  • payment-links
    • Create payment link
    • Fetch payment links list
    • Fetch payment link
    • Update payment link
  • customers
    • Create customer
    • Remove customer
    • Add customer recipient
    • Add payout card
    • Remove payout card
    • Fetch payout card list
    • Update payout card details
    • Fetch saved subscription customer list V3
    • Fetch customer
    • Update a customer
    • Fetch card
    • Update card details
    • Remove card
    • Fetch card list
    • Fetch customer recipient list
    • Fetch customer recipient
    • Update customer details recipient
    • Remove customer recipient
    • Add customer payout card
    • Fetch saved payout card V3
    • Initialize widget payout card process
    • Removes customer saved payout card V3
    • Fetch saved payout card list V3
    • Fetch blik paymentTokens list
    • Remove Blik paymentToken
    • Fetch Blik paymentToken
    • Add paynow recipient
    • Remove paynow profile
    • Fetch saved merchant customer payout recipient list V3
    • Verify merchant's customer payout recipient card
    • Fetch saved merchant customer's payout card V3
    • Update merchant payout card alias
    • Removes merchant customer payout card.
  • authorization
    • Calculate authorization amount
    • Calculate reversed authorization amount
  • subscriptions
    • Fetch subscription products list
      GET
    • Add new subscription product
      POST
    • Fetch subscription product
      GET
    • Update subscription product
      PATCH
    • Removes subscription product
      DELETE
    • Fetch subscription plan list
      GET
    • Add new subscription plan
      POST
    • Fetch subscription plan
      GET
    • Removes subscription plan
      DELETE
    • Activate subscription plan
      POST
    • Deactivate subscription plan
      POST
    • Fetch subscriptions list
      GET
    • Fetch subscription
      GET
    • Removes subscription
      DELETE
    • Cancel subscription
      POST
  • reports
    • Download report file
  1. subscriptions

Fetch subscription plan list

GET
https://api.zen.com/v1/subscriptions/plans
Fetch all saved subscription plan list (multiple subscription plans). Within a single subscription plan, one product can be included (one plan, one product). There can be multiple plans for the same product. The plans can differ by some parameters such as trial period, fee charge day, activation fee, amount, currency, interval count or interval unit etc.

Request

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.zen.com/v1/subscriptions/plans' \
--header 'request-id;'

Responses

🟢200OK
application/json
Body

Example
{
    "data": [
        {
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "merchantId": "string",
            "shopId": "string",
            "terminalId": "string",
            "status": true,
            "trialPeriodDays": 0,
            "chargeDay": 1,
            "setupFee": "string",
            "amount": "string",
            "currency": "str",
            "intervalUnit": "day",
            "intervalCount": 1,
            "totalCount": 0,
            "chargeRetry": true,
            "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113",
            "createdAt": "2019-08-24",
            "updatedAt": "2019-08-24",
            "deletedAt": "string"
        }
    ],
    "meta": {
        "itemsPerPage": "10",
        "page": "1",
        "direction": "asc",
        "sortBy": "createdAt"
    }
}
🟠404Not Found
Modified at 2025-01-15 13:21:34
Previous
Removes subscription product
Next
Add new subscription plan