Actalink Docs
Acta billings/Paymentlink

Subscription Status

This API checks whether the user has an active subscription to any plan associated with the given subscription Id

GET
/api/subscriptionstatus

Query Parameters

addressRequiredstring

Consumer EOA wallet address

subscriptionIdRequiredstring

Unique Id of the subscription associated with the payment link.

curl -X GET "http://localhost:4000/api/subscriptionstatus?address=0xc0ffee254729296a45a3885639AC7E10F9d54979&subscriptionId=135910b9-5450-49bc-876a-a4bcec33f09b"

Indicates whether the user is already subscribed to this subscription.

{
  "status": true,
  "data": {
    "subscription": {
      "id": "135910b9-5450-49bc-876a-a4bcec33f09b"
    },
    "plan": {
      "title": "Plan 1",
      "frequency": "month",
      "amount": 1,
      "volume": 12
    }
  }
}