# customerPaymentMethodPaypalBillingAgreementCreate - admin - MUTATION Version: 2025-01 ## 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/2025-01/input-objects/MailingAddressInput): MailingAddressInput - The billing address. * [billingAgreementId](/docs/api/admin/2025-01/scalars/String): String! - The billing agreement ID from PayPal that starts with 'B-' (for example, `B-1234XXXXX`). * [customerId](/docs/api/admin/2025-01/scalars/ID): ID! - The ID of the customer. * [inactive](/docs/api/admin/2025-01/scalars/Boolean): Boolean - Whether the PayPal billing agreement is inactive. ## Returns * [customerPaymentMethod](/docs/api/admin/2025-01/objects/CustomerPaymentMethod): CustomerPaymentMethod The customer payment method. * [userErrors](/docs/api/admin/2025-01/objects/CustomerPaymentMethodUserError): CustomerPaymentMethodUserError! The list of errors that occurred from executing the mutation. ## Examples