Skip to main content
Anchor to customerPaymentMethodPaypalBillingAgreementCreate

customerPaymentMethodPaypalBillingAgreementCreate

mutation

Requires write_customers access scope. Also: Requires write_customer_payment_methods scope.

Creates a PayPal billing agreement for a customer.

•MailingAddressInput

The billing address.

•String!
required

The billing agreement ID from PayPal that starts with 'B-' (for example, B-1234XXXXX).

•ID!
required

The ID of the customer.

•Boolean
Default:false

Whether the PayPal billing agreement is inactive.


Was this section helpful?

Anchor to CustomerPaymentMethodPaypalBillingAgreementCreatePayload returnsCustomerPaymentMethodPaypalBillingAgreementCreatePayload returns

Anchor to customerPaymentMethodcustomerPaymentMethod
•CustomerPaymentMethod

The customer payment method.

•[CustomerPaymentMethodUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?
OSZAR »