Home > Requesting Services > Create Agreement Service


Create Agreement Service

The payPalCreateAgreementService service:

nCreates a billing agreement.

nReturns a billing agreement ID.

Before calling payPalCreateAgreementService:

nYou must call payPalEcSetService for the amount of $0.

nThe billing agreement status returned by the payPalEcGetDetailsService service must indicate that the customer accepted the billing agreement.

When you request payPalCreateAgreementService, you must include the following fields in the request:

npayPalCreateAgreementService_run

npayPalCreateAgreementService_paypalToken

npayPalCreateAgreementService_paypalEcSetRequestID

npayPalCreateAgreementService_paypalEcSetRequestToken

nmerchantID

nmerchantReferenceCode

Additional fields are optional. The required and optional fields are described in API Fields.