---
updatedAt: 2025-09-22T17:23:28.000Z
agentTools:
  projectIndex: https://developer.bitpay.com/llms.txt
---

# Subscriptions

Subscriptions are repeat billing agreements with specific buyers. BitPay sends bill emails to buyers identified in active subscriptions according to the specified schedule.

## Resource

<HTMLBlock>{`
<table class="table">
    <tbody>
    <tr>
      <th style="text-align: center;">Name</th>
      <th style="text-align: center;">Type</th>
    </tr>
    <tr>
      <td>
        <code>facade</code>
        <div class="param-info">Facade used to view subscription objects, set to <code>"merchant/subscription"</code>.</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td>
        <code>data</code>
        <div class="param-info">Subscription data object</div>
      </td>
      <td>
        <code>object</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>id</code>
        <div class="param-info">Subscription resource Id</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>status</code>
        <div class="param-info">Subscription object status. Can be <code>draft</code>, <code>active</code> or <code>cancelled</code>. Subscriptions in active state will create new Bills on the <code>nextDelivery</code> date.</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>billData</code>
        <div class="param-info">Object containing the recurring billing information</div>
      </td>
      <td>
        <code>object</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>emailBill</code>
        <div class="param-info">If set the <code>true</code>, BitPay will automatically issue recurring bills to the <code>email</code> address provided once the status of the subscription is set to <code>active</code>.</div>
      </td>
      <td>
        <code>boolean</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>cc</code>
        <div class="param-info">Email addresses to which a copy of the recurring bill must be sent</div>
      </td>
      <td>
        <code>array</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>number</code>
        <div class="param-info">Recurring bill identifier, specified by merchant</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>currency</code>
        <div class="param-info">ISO 4217 3-character currency code. This is the currency associated with the price field</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>name</code>
        <div class="param-info">Recurring Bill recipient's name</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>address1</code>
        <div class="param-info">Recurring Bill recipient's address</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>address2</code>
        <div class="param-info">Recurring Bill recipient's address</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>city</code>
        <div class="param-info">Recurring Bill recipient's city</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>state</code>
        <div class="param-info">Recurring Bill recipient's state or province</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>zip</code>
        <div class="param-info">Recurring Bill recipient's ZIP code</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>country</code>
        <div class="param-info">Recurring Bill recipient's country</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>email</code>
        <div class="param-info">Recurring Bill recipient's email address</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>phone</code>
        <div class="param-info">Recurring Bill recipient's phone</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>dueDate</code>
        <div class="param-info">Date and time at which a bill is due, ISO-8601 format yyyy-mm-ddThh:mm:ssZ (UTC).</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>passProcessingFee</code>
        <div class="param-info">If set to <code>true</code>, BitPay's processing fee will be included in the amount charged on the invoice</div>
      </td>
      <td>
        <code>boolean</code>
      </td>
    </tr>
    <tr>
      <td class="childchild">
        <code>items</code>
        <div class="param-info">List of line items</div>
      </td>
      <td>
        <code>array</code>
      </td>
    </tr>
    <tr>
      <td class="childchildchild">
        <code>description</code>
        <div class="param-info">Line item description</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="childchildchild">
        <code>price</code>
        <div class="param-info">Line item unit price for the corresponding <code>currency</code></div>
      </td>
      <td>
        <code>number</code>
      </td>
    </tr>
    <tr>
      <td class="childchildchild">
        <code>quantity</code>
        <div class="param-info">Line item number of units</div>
      </td>
      <td>
        <code>number</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>merchant</code>
        <div class="param-info">Internal identifier for BitPay, this field can be ignored by the merchants.</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>schedule</code>
        <div class="param-info">Schedule of repeat bill due dates. Can be <code>weekly</code>, <code>monthly</code>, <code>quarterly</code>, <code>yearly</code>, or a simple cron expression specifying seconds, minutes, hours, day of month, month, and day of week. BitPay maintains the difference between the due date and the delivery date in all subsequent, automatically-generated bills.
          <code>
            <p>+-------------- second (0 - 59)</p>
            <p>|  +------------ minute (0 - 59)</p>
            <p>|  |  +---------- hour (0 - 23)</p>
            <p>|  |  |  +-------- day of month (1 - 31)</p>
            <p>|  |  |  |  +------ month (1 - 12)</p>
            <p>|  |  |  |  |  +---- day of week (0 - 6) (Sunday=0 or 7)</p>
            <p>|  |  |  |  |  |</p>
            <p>*  *  *  *  *  *     Cron expression</p>
          </code>
        </div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>nextDelivery</code>
        <div class="param-info">Default is current date &amp; time, ISO-8601 format yyyy-mm-ddThh:mm:ssZ (UTC). Current or past date indicates that the bill can be delivered immediately. BitPay may modify the hh:mm:ss values in order to distribute deliveries evenly throughout the day.</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>createdDate</code>
        <div class="param-info">Date and time of recurring billing creation, ISO-8601 format yyyy-mm-ddThh:mm:ssZ (UTC)</div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
    <tr>
      <td class="child">
        <code>token</code>
        <div class="param-info">API token for subscription resource. This token is actually derived from the API token used to create the subscription and is tied to the specific resource id created. </div>
      </td>
      <td>
        <code>string</code>
      </td>
    </tr>
  </tbody>
</table>
`}</HTMLBlock>