# customerPaymentMethodPaypalBillingAgreementCreate - admin-graphql - MUTATION Version: 2024-10 ## Description Creates a PayPal billing agreement for a customer. ### Access Scopes `write_customers` access scope. Also: Requires `write_customer_payment_methods` scope. ## Arguments * [billingAddress](/docs/api/admin-graphql/2024-10/input-objects/MailingAddressInput): MailingAddressInput - The billing address. * [billingAgreementId](/docs/api/admin-graphql/2024-10/scalars/String): String! - The billing agreement ID from PayPal that starts with 'B-' (for example, `B-1234XXXXX`). * [customerId](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The ID of the customer. * [inactive](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean - Whether the PayPal billing agreement is inactive. ## Returns * [customerPaymentMethod](/docs/api/admin-graphql/2024-10/objects/CustomerPaymentMethod): CustomerPaymentMethod The customer payment method. * [userErrors](/docs/api/admin-graphql/2024-10/objects/CustomerPaymentMethodUserError): CustomerPaymentMethodUserError! The list of errors that occurred from executing the mutation. ## Examples