post
https://test-api.bill.pro/api/v2/profiles//orders//scheduled_payments
Adds one payment to a metered order, to charge the customer for usage. The payment joins the order's schedule as a new scheduled payment.
A scheduled payment is a planned future collection on an instalment, subscription or metered order. It shows as one billing event in the order's payment timeline. A metered order has no schedule of its own: each payment you add here is one scheduled payment.
- Send the
amountto charge. Choose when to collect it withprocess_date. - You get back the new scheduled payment, with status
scheduled. Nothing is charged in this request. - BillPro collects it on its date. With
now, the next collection run charges it. To charge it straight away and see the result, execute it with the returnedid.
- The amount is saved as you send it. BillPro doesn't work it out from a product.
- The currency is always the order's currency. There's no
currencyfield: one sent is ignored. - Your
noteis saved in the order's notes. It isn't stored on the payment. - Other fields, such as
product_idandqty, are ignored. - Only
meteredorders accept this request. Other order types return 422.
To cancel the payment before it's collected, skip it.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…