CreateRecurringPaymentsProfile API Operation (NVP)
Last updated: Sept 18th, 5:28pm
Creates a recurring payments profile. You must invoke the CreateRecurringPaymentsProfile API operation for each profile you want to create. The API operation creates a profile and an associated billing agreement.
CreateRecurringPaymentsProfile Request Message
CreateRecurringPaymentsProfile Request Fields
Field | Description |
---|---|
|
(Required) Must be |
|
A timestamped token, the value of which was returned in the response to the first call to |
Recurring Payments Profile Details Fields
Field | Description |
---|---|
|
(Optional) Full name of the person receiving the product or service paid for by the recurring payment. If not present, the name in the buyer's PayPal account is used. Character length and limitations: 32 double-byte characters |
|
(Required) The date when billing for this profile begins. Character length and limitations: Must be a valid date, in UTC/GMT format; for example, |
|
(Optional) The merchant's own unique reference or invoice number. Character length and limitations: 127 single-byte alphanumeric characters |
Schedule Details Fields
Field | Description |
---|---|
|
(Required) Description of the recurring payment. Character length and limitations: 127 single-byte alphanumeric characters |
|
(Optional) Number of scheduled payments that can fail before the profile is automatically suspended. An IPN message is sent to the merchant when the specified number of failed payments is reached. Character length and limitations: Number string representing an integer |
|
(Optional) Indicates whether you would like PayPal to automatically bill the outstanding balance amount in the next billing cycle. The outstanding balance is the total amount of any previously failed scheduled payments that have yet to be successfully paid. Value is:
|
Billing Period Details Fields
Field | Description |
---|---|
|
(Required) Unit for billing during this subscription period. Value is:
For |
|
(Required) Number of billing periods that make up one billing cycle. The combination of billing frequency and billing period must be less than or equal to one year. For example, if the billing cycle is |
|
(Optional) Number of billing cycles for payment period.
|
|
(Required) Billing amount for each billing cycle during this payment period. This amount does not include shipping and tax amounts. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period ( |
|
Unit for billing during this subscription period; required if you specify an optional trial period. Value is:
For |
|
Number of billing periods that make up one billing cycle; required if you specify an optional trial period. The combination of billing frequency and billing period must be less than or equal to one year. For example, if the billing cycle is |
|
(Optional) Number of billing cycles for trial payment period. |
|
Billing amount for each billing cycle during this payment period; required if you specify an optional trial period. This amount does not include shipping and tax amounts. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period ( |
|
(Required) Currency code (default is USD). Character length and limitations: 3 single-byte characters |
|
(Optional) Shipping amount for each billing cycle during this payment period. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period ( |
|
(Optional) Tax amount for each billing cycle during this payment period. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period ( |
Activation Details Fields
Field | Description |
---|---|
|
(Optional) Initial non-recurring payment amount due immediately upon profile creation. Use an initial amount for enrollment or setup fees. Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period ( |
|
(Optional) Action you can specify when a payment fails. Value is:
|
Ship To Address Fields
Field | Description |
---|---|
|
Person's name associated with this shipping address. It is required if using a shipping address. Character length and limitations: 32 double-byte characters |
|
First street address. It is required if using a shipping address. Character length and limitations: 100 single-byte characters |
|
(Optional) Second street address. Character length and limitations: 100 single-byte characters |
|
Name of city. It is required if using a shipping address. Character length and limitations: 40 single-byte characters |
|
State or province. Character length and limitations: 40 single-byte characters |
|
U.S. ZIP code or other country-specific postal code. It is required if using a U.S. shipping address; may be required for other countries. Character length and limitations: 20 single-byte characters |
|
Country code. It is required if using a shipping address. Character length and limitations: 2 single-byte characters |
|
(Optional) Phone number. Character length and limitations: 20 single-byte characters |
Credit Card Details Fields
Payer Information Fields
Field | Description |
---|---|
|
(Required) Email address of buyer. Character length and limitations: 127 single-byte characters |
|
(Optional) Unique PayPal Customer Account identification number. Character length and limitations:13 single-byte alphanumeric characters |
|
(Optional) Status of buyer. Value is:
Character length and limitations: 10 single-byte alphabetic characters |
|
(Optional) Buyer's country of residence in the form of ISO standard 3166 two-character country codes. Character length and limitations: 2 single-byte characters |
|
(Optional) Buyer's business name. Character length and limitations: 127 single-byte characters |
Payer Name Fields
Field | Description |
---|---|
|
(Optional) Buyer's salutation. Character length and limitations: 20 single-byte characters |
|
(Optional) Buyer's first name. Character length and limitations: 64 double-byte characters |
|
(Optional) Buyer's middle name. Character length and limitations: 64 double-byte characters |
|
(Optional) Buyer's last name. Character length and limitations: 64 double-byte characters |
|
(Optional) Buyer's suffix. Character length and limitations: 12 single-byte characters |
Address Fields
Payment Details Item Fields
Field | Description |
---|---|
|
Indicates whether the item is digital or physical. For digital goods, this field is required and must be set to
This field is introduced in version 69.0. |
|
Item name. This field is required when Item name. This field is required when Character length and limitations: 127 single-byte characters This field is introduced in version 69.0. |
|
(Optional) Item description. These parameters must be ordered sequentially beginning with 0 (for example Character length and limitations: 127 single-byte characters This field is introduced in version 69.0. |
|
Cost of item. This field is required when Cost of item. This field is required when Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period ( This field is introduced in version 69.0. |
|
(Optional) Item number. These parameters must be ordered sequentially beginning with 0 (for example Character length and limitations: 127 single-byte characters This field is introduced in version 69.0. |
|
Item quantity. This field is required when Item quantity. This field is required when Character length and limitations: Any positive integer This field is introduced in version 69.0. |
|
(Optional) Item sales tax. These parameters must be ordered sequentially beginning with 0 (for example Character length and limitations: Value is typically a positive number that cannot exceed nine (9) digits in SOAP request/response for USD, CLP, or JPY or the per transaction limit for the currency. It includes no currency symbol. Most currencies require two decimal places. The decimal separator must be a period ( This field is introduced in version 69.0. |
CreateRecurringPaymentsProfile Response Message
CreateRecurringPaymentsProfile Response Fields
Field | Description |
---|---|
|
A unique identifier for future reference to the details of this recurring payment. Character length and limitations: Up to 14 single-byte alphanumeric characters. |
|
Status of the recurring payment profile.
|
|
The transaction ID from the direct credit card initial payment. Character length and limitations: 17 characters. Orders transactions have 19 characters. |