# SetCustomerBillingAgreement API Operation (NVP) (/api/nvp-soap/set-customer-billing-agreement-nvp)



> **Note:** **Important:** NVP/SOAP is a legacy integration method. We accept new integrations and support existing integrations, but there are newer solutions. If you're starting an integration, [we recommend our latest solutions](/).

This page has **moved** to the documentation archive.

Initiates the creation of a billing agreement.

**This API operation has been deprecated starting with API version 54.0 and later**.

> **Note:** **Important:** If you use Express Checkout with API version 54.0 or later, do not use the `SetCustomerBillingAgreement` and `GetBillingAgreementCustomerDetails` API operations for billing agreements. Instead, to set up a billing agreement, use the `SetExpressCheckout` ([NVP](/api/nvp-soap/set-express-checkout-nvp/) | [SOAP](/api/nvp-soap/set-express-checkout-soap/)) API operation and set the amount value to zero. Call the `GetExpressCheckoutDetails` ([NVP](/api/nvp-soap/get-express-checkout-details-nvp/) | [SOAP](/api/nvp-soap/get-express-checkout-details-soap/)) API operation to obtain information about the buyer and the buyer's checkout status. Then use the `CreateBillingAgreement` ([NVP](/api/nvp-soap/create-billing-agreement-nvp/) | [SOAP](/api/nvp-soap/create-billing-agreement-soap/)) API operation to create the billing agreement. See the Express Checkout integration guide for more information on [setting up a billing agreement](/archive/express-checkout/integration-guide/ECReferenceTxns#billing-agreements).

## Additional information [#additional-information]

* [API error codes](/api/nvp-soap/errors/)
