# customerPaymentMethodCreditCardCreate - admin-graphql - MUTATION Version: 2024-10 ## Description Creates a credit card payment method for a customer using a session id. These values are only obtained through card imports happening from a PCI compliant environment. Please use customerPaymentMethodRemoteCreate if you are not managing credit cards directly. ### 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. * [customerId](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - The ID of the customer. * [sessionId](/docs/api/admin-graphql/2024-10/scalars/String): String! - The Cardserver session ID. Obtained by storing card data with Shopify's Cardsink. Exchanging raw card data for a session ID must be done in a PCI complaint environment. ## Returns * [customerPaymentMethod](/docs/api/admin-graphql/2024-10/objects/CustomerPaymentMethod): CustomerPaymentMethod The customer payment method. * [processing](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean If the card verification result is processing. When this is true, customer_payment_method will be null. * [userErrors](/docs/api/admin-graphql/2024-10/objects/UserError): UserError! The list of errors that occurred from executing the mutation. ## Examples