The plan that can be used to create an agreement.
payment_definitionsobject<payment_definition>[]Optionalcharge_modelsobject<charge_models>[]Optionalamountobject<currency>RequiredvaluestringRequiredcurrencyobject<currency_code>Requiredamountobject<currency>RequiredvaluestringRequiredcurrencyobject<currency_code>Requiredtermsobject<terms>[]Optionalmax_billing_amountobject<currency>RequiredvaluestringRequiredcurrencyobject<currency_code>Requiredamount_rangeobject<currency>RequiredvaluestringRequiredcurrencyobject<currency_code>Requiredmerchant_preferencesobject<merchant_preferences>Optionalauto_bill_amountenumOptionalNO. PayPal does not automatically bill the customer the outstanding balance. Default is NO.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. When the initial payment clears, the pending agreement becomes active. If the initial payment fails, the pending agreement is cancelled.Note: Initial payment failures will not increment the max_fail_attempt counter as initial payments are not considered regularly recurring payments.setup_feeobject<currency>OptionalvaluestringRequiredcurrencyobject<currency_code>Requiredlinksobject<link_description>[]OptionalhrefstringRequiredcurrency_codeobject<currency_code>Optional