The merchant preferences for a plan, which define how much it costs to set up the agreement, the URLs where the customer can approve or cancel the agreement, the maximum number of allowed failed payment attempts, whether PayPal automatically bills the outstanding balance in the next billing cycle, and the action if the customer's initial payment fails.
auto_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>OptionalvaluestringRequired