The currency and the amount of the costs of setting up the agreement. The default value is 0. Use the /billing-agreements resource to create, update, view details, invoice, cancel, reactivate, set and suspend balance, suspend, list, and execute transactions. Merchant settings that override the default information in the plan. If you omit this setting, the agreement uses the default settings of the plan merchant. Merchant preferences include the cost of setting up the contract, the URLs under which the customer can approve or terminate the contract, the maximum number of unsuccessful payment attempts allowed, whether PayPal automatically charges the outstanding balance in the next billing cycle, and action if the customer`s first payment fails. After extracting the token, call the billing contract execution method to complete the billing contract and enroll the user in the associated subscription purchase. You may not create this Agreement. Create the agreement and redirect the user to PayPal to confirm the subscription information. The billing object defines a payment method, a reference to subscription information in a billing plan, and any other information, such as . B shipping details.
To start a billing contract, create the settlement agreement attribute object. For more information about billing contracts PayPal, see their Knowledge Base article. The character set of this Agreement. Read-only and reserved for future use. The start date and time of this Agreement in Internet date and time format. The start date must be at least 24 hours after the current date, as it can take up to 24 hours for the agreement to be activated. The start date and time of the request to create an agreement may not match the start date and time returned by the API in the response to the execution agreement. When you run a contract, the API internally converts the start date and time to the beginning of the day in the merchant account time zone.
For example, the API converts a start date and time from 2017-01-02T14:36:21Z for an account in the Berlin time zone (UTC+1) to 2017-01-02T00:00:00. When the API returns this date and time in the execution agreement response, it displays the converted date and time in the UTC time zone. Thus, the internal start date and time of 2017-01-02T00:00:00 become external 2017-01-01T23:00:00. To create an agreement, reference an active billing plan from which the agreement inherits the information. They also provide customer and payment information and can optionally override the merchant`s preferences, as well as the shipping costs and tax information of the referenced plan. .