This page is no longer supported. Please refer to the current guide for up-to-date information.

At SolidGate we are constantly working on the enhancement of our product. Right now we have changed the format of the error in some cases for subscription service.


TABLE OF CONTENTS


Subscription cancellation by a Customer ID

We have standardized the error message in case there is entered non-existing customer_account_id while using the method - subscription cancellation by a customer id.

The previous error message was sent in such format:

{"error": {"code":"2.01", "messages":"customer not found with id: {{customer_account_id}}"}}

The new format of the response is also in JSON format and is looking like this:

{
  "error": {
    "code": "2.01",
    "messages": {
      "customer": [
        "customer not found with id: {{customer_account_id}}"
      ]
    }
  }
}

Cancel the subscription

We have also standardized the error message in case there is entered a non-existing subscription_id while using the method - cancel the subscription.

The previous error message was sent in such format:

{"error":{"code":"2.01","messages":"subscription not found with id: {Subscription1}"}}

The new format of the response is also in JSON format and is looking like this:

{
  "error": {
    "code": "2.01",
    "messages": {
      "subscription": [
        "subscription not found with id: {Subscription1}"
      ]
    }
  }
}

In case you have any questions regarding this update, kindly contact [email protected] - we would be more than glad to assist!