Background - API1Created with Sketch.

Subscriptions

The Hotmart subscription service consists of recurring charges that are programmed and processed by HotPay.

Reactivate and Charge Subscription List

This endpoint reactivates a list of inactive subscriptions , you'll be able to choose whether a new charge will be issued after the process.

Request parameters

Body

  • subscriber_codearray containing stringsgeneral.required

    List of unique subscriber codes (subscriber_code) whose subscription you want to reactivate

  • chargeboolean

    Indicates whether to charge buyers again when reactivating subscriptions. It generates a new charge if you mark it as true, by default its value is false. The billing date will remain the same as before the subscription was deactivated.


Return

  • success_subscriptionsarray containing objects

    List of subscribers who were successfully reactivated.

    general.showParameters
  • fail_subscriptionsarray containing objects

    List of subscribers that could not be reactivated for some reason or error. For example: invalid subscriber code or subscription that is already active.

    general.showParameters

Sandbox

isPageUseful.question