public class PreapprovalCreateRequest
extends WePayRequest<Preapproval>
https://stage.wepay.com/developer/reference/preapproval
Creates a new payment preapproval request object for the user associated
with the access token used to make this call. If reference_id is passed,
it MUST be unique for the application/user pair or an error will be returned.
To make the payments execute automatically every month, set auto_recur to true.
If you set auto_recur to true, then the first payment will execute at the
start_time for that preapproval. If you do not pass a start_time in the
/preapproval/create call, then the start_time will default to the time that
/preapproval/create was called. The payments will then automatically execute
every period after the start_time. So if you set the start_time to January
20th, then the first payment will occur on January 20th, and the next payment
will occur on February 20th, and so on.
- Author:
- Jon Scott Stevens, Jeff Schnitzer