This will allow you to search for a recurring payment subscription inside Kartra, and to verify whether it exists or not.

TypeParametersValues
POSTcmd*search_subscription
POSTtransaction_internal_subscription_id*integer

* Required fields Here is an example:

'actions' => [
    '0' => [
        'cmd' => 'search_subscription',
        'transaction_internal_subscription_id' => 94314
    ]
]

Success message:

{
  "status": "Success",
  "message": "Subscription exists"
}

Error Cases:

Type NumberMessageCause
248Subscription doesn't exist
  • The subscription you are trying to find does not exist in our database.
An example of an error message:
{
  "status": "Error",
  "message": "Subscription doesn't exist",
  "type": 248
}