---
schema_version: "1"
id: 85b9437273801fd104eb6e9e61c56e7b3134de07fdd108efdd42757b5d9b26b5
title: Customer Object Import and Export for Payments with B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_customer_object_impex_for_salesforce_payments.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_customer_object_impex_for_salesforce_payments.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 423396f564f64eeea3924624ec6affc646412723ad56a9878ca280df2c72f6c5
description: For Payments with B2C Commerce, use the Customer Object (customer.xsd) to import and export site-specific data about payment customers. See Customer Object Import and Export for Customer object details.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Customer Object Import and Export for Payments with B2C Commerce

For Payments with B2C Commerce, use the Customer Object (customer.xsd) to import and export site-specific data about payment customers. See Customer Object Import and Export for Customer object details.

## Export

The Customer object export includes a PaymentsCustomer complex type that maps theses elements:

- Account ID–The Stripe merchant account ID
- Live–Is the account live or a sandbox
- Customer ID–The Stripe ID
- Creation Date–The record creation date

This mapping is customer data that tells the system where to find payment data. The mapping isn’t customer payment data. If present in the database, PaymentsCustomer information is exported regardless of the Salesforce Payments feature toggle status.

## Import

The customer import handles the PaymentsCustomer mappings based on the standard import modes.

- MERGE
    - Adds missing PaymentsCustomer records, and updates existing information
    - Result
        - All imported PaymentsCustomer records are available
        - Previously created PaymentsCustomer records are available
        - Missing information isn’t changed
- UPDATE
    - Updates existing PaymentsCustomer records. Missing records aren't added
    - Result
        - All existing PaymentsCustomers records are available
        - Previously created PaymentsCustomer records are available
        - Missing information isn’t changed
- REPLACE
    - Removes all PaymentsCustomer records for the customer
    - Recreates all PaymentsCustomer records from the import file
- DELETE
    - Removes all PaymentsCustomer records for the customer
    - Deletes the customer

The import logs a warning if the merchant account isn’t available.