--- title: paymentCustomizationUpdate - GraphQL Admin description: Updates a payment customization. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/paymentcustomizationupdate md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/paymentcustomizationupdate.md --- # payment​Customization​Update mutation Requires `write_payment_customizations` access scope. Updates a payment customization. ## Arguments * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The global ID of the payment customization. * payment​Customization [Payment​Customization​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/PaymentCustomizationInput) required The input data used to update the payment customization. *** ## Payment​Customization​Update​Payload returns * payment​Customization [Payment​Customization](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentCustomization) Returns the updated payment customization. * user​Errors [\[Payment​Customization​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentCustomizationError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### paymentCustomizationUpdate reference ## Mutation Reference ```graphql mutation paymentCustomizationUpdate($id: ID!, $paymentCustomization: PaymentCustomizationInput!) { paymentCustomizationUpdate(id: $id, paymentCustomization: $paymentCustomization) { paymentCustomization { # PaymentCustomization fields } userErrors { field message } } } ``` ## Input ```json { "id": "gid://shopify//10079785100", "paymentCustomization": { "functionHandle": "", "title": "", "enabled": true, "metafields": [ { "id": "gid://shopify//10079785100", "namespace": "", "key": "", "value": "", "type": "" } ] } } ``` ##### Variables ``` { "id": "gid://shopify//10079785100", "paymentCustomization": { "functionHandle": "", "title": "", "enabled": true, "metafields": [ { "id": "gid://shopify//10079785100", "namespace": "", "key": "", "value": "", "type": "" } ] } } ``` ##### Schema ``` input PaymentCustomizationInput { functionHandle: String title: String enabled: Boolean metafields: [MetafieldInput!] } input MetafieldInput { id: ID namespace: String key: String value: String type: String } ```