CreateBillingPlanRequest
namestring
Required
Human-readable name of the billing plan.
Length:
1 <= length <= 256amountinteger
Required
Charge amount (in the smallest currency unit, e.g. cents).
Range:
1 <= valuecurrencystring
Required
ISO 4217 alpha-3 currency code (e.g., USD, EUR).
Match:
^[A-Z]{3}$Length:
3 <= length <= 3instantCapturestring
Nullable
The InstantCapture mode to use for all charges related to the plan.
OFFindicates that the payment should not be captured instantly (Default).VOIDindicates that the payment should be captured instantly and if somehow the instant capture fails the payment is voided.NO_VOIDindicates that the payment should be captured instantly and if the capture fails the authorization is kept (no void is made)
Default:
"OFF"Possible values:
"OFF""VOID""NO_VOID"Example:
"OFF"maxAttemptsinteger
Required
Maximum number of billing attempts before giving up.
Range:
1 <= value <= 31The frequency between automatic charges. A frequency=2 and period=WEEK means one charge every two weeks.