A list of plans, with details for each plan and a set of HATEOAS links.
plansobject<plan>[]OptionaltypeenumRequiredFIXED. The plan has a fixed number of payment cycles.INFINITE. The plan has infinite, or 0, payment cycles.payment_definitionsobject<payment_definition>[]Optionalcharge_modelsobject<charge_models>[]Optionalamountobject<currency>RequiredvaluestringRequiredamountobject<currency>RequiredvaluestringRequiredtermsobject<terms>[]Optionalmax_billing_amountobject<currency>RequiredvaluestringRequiredamount_rangeobject<currency>RequiredvaluestringRequiredmerchant_preferencesobject<merchant_preferences>Optionalauto_bill_amountenumOptionalNO. PayPal does not automatically bill the customer the outstanding balance.YES. PayPal automatically bills the customer the outstanding balance.initial_fail_amount_actionenumOptionalCONTINUE. The agreement remains active and the failed payment amount is added to the outstanding balance. If auto-billing is enabled, PayPal automatically bills the outstanding balance in the next billing cycle.CANCEL PayPal creates the agreement but sets its state to pending until the initial payment clears. If the initial payment clears, the pending agreement becomes active. If the initial payment fails, the pending agreement is canceled.Note: You can use the `setup_fee` value as the initial amount to trigger the `initial_fail_amount_action`.
setup_feeobject<currency>OptionalvaluestringRequiredlinksobject<link_description>[]OptionalhrefstringRequiredlinksobject<link_description>[]OptionalhrefstringRequired