2012

Table Of Contents
Recurring Payments and Reference Transactions API Operations
SetCustomerBillingAgreement API Operation
12
162 August 2012 Name-Value Pair API Developer Guide
CreateBillingAgreement API Response Message
CreateBillingAgreement Response Fields
SetCustomerBillingAgreement API Operation
The SetCustomerBillingAgreement API operation initiates the creation of a billing
agreement.
NOTE: If you are using Express Checkout with version 54.0 or later of the API, do not use the
SetCustomerBillingAgreement API operation to set up a billing agreement. Use
the SetExpressCheckout API operation instead.
SetCustomerBillingAgreement Request Message
SetCustomerBillingAgreement Request Fields
Field Description
BILLINGAGREEMENTID Identification number of the billing agreement.
Field Description
METHOD (Required) Must be SetCustomerBillingAgreement.
RETURNURL (Required) URL to which the buyers browser is returned after choosing to pay with
PayPal.
NOTE: PayPal recommends that the value be the final review page on which the
buyer confirms the billing agreement.
Character length and limitations: no limit
CANCELURL (Required) URL to which the customer is returned if he does not approve the use of
PayPal to pay you.
NOTE: PayPal recommends that the value be the original page on which the
customer chose to pay with PayPal or establish a billing agreement.
Character length and limitations: no limit