Create discount codes from the API and give orders away free

Your server or app can now create, list and archive discount codes with /v1/discounts. A code can expire, be limited to one customer by email, or work only on certain products. Leave out the code and Paysio generates one for you.
A percentage code can now be 100%. A one-time order that comes to zero asks for no card, and it still gets a receipt and shows up in Transactions. Subscriptions still need a payment method.
To cap a code, turn on Limit units per order in the discount form and enter Units discounted. The code then discounts that many units, starting with the highest priced item. Add ?discount=CODE to a hosted checkout link to apply a code when the page opens.
- Products and subscriptions can bill Every 2 months or Every 4 months.
- Receipts for bank payments that settle later are sent after the payment settles, not when it is first accepted.
- US sole proprietors can leave the EIN blank in the merchant application and file under their SSN.
- Charges against a saved bank account now go to your bank processor, not your card processor.
POST /v1/discounts,GET /v1/discounts,GET /v1/discounts/:idandDELETE /v1/discounts/:id, plusmax_quantity.POST /v1/chargesacceptsinvoice_idto pay an existing invoice with a saved card. The charge uses the invoice's line items and closes its payment link.GET /v1/customersacceptssearchto find customers by email, name or phone.PATCH /v1/customers/:idnow updatesemail. It used to ignore the field without an error.