The billing agreement information.
stateenumOptionalstart_datestringRequiredagreement_detailsobject<agreement_details>Optionaloutstanding_balanceobject<currency>OptionalvaluestringRequiredcurrencyobject<currency_code>Requiredlast_payment_amountobject<currency>OptionalvaluestringRequiredcurrencyobject<currency_code>Requiredpayerobject<payer>Requiredfunding_instrumentsobject<funding_instrument>[]Optionalcredit_cardobject<credit_card>Optionalvalid_untilstringOptionallinksobject<link_description>[]OptionalhrefstringRequiredbilling_addressobject<address>OptionalstatestringOptionalcountry_codestring<country_code>RequiredNote: The country code for Great Britain isGBand notUKas used in the top-level domain names for that country. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
payer_infoobject<payer_info>Optionalshipping_addressobject<shipping_address>OptionalstatestringOptionalcountry_codestring<country_code>RequiredNote: The country code for Great Britain isGBand notUKas used in the top-level domain names for that country. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
billing_addressobject<address>OptionalstatestringOptionalcountry_codestring<country_code>RequiredNote: The country code for Great Britain isGBand notUKas used in the top-level domain names for that country. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.
override_merchant_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>Requiredoverride_charge_modelsobject<override_charge_model>[]Optionalamountobject<currency>RequiredvaluestringRequiredcurrencyobject<currency_code>Requiredplanobject<plan>Requiredpayment_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>Optionallinksobject<link_description>[]OptionalhrefstringRequiredshipping_addressobject<shipping_address>OptionalstatestringOptionalcountry_codestring<country_code>RequiredNote: The country code for Great Britain isGBand notUKas used in the top-level domain names for that country. Use the `C2` country code for China worldwide for comparable uncontrolled price (CUP) method, bank card, and cross-border transactions.