Checking access…

Skip to main content
Version: v2
Audience: Consumers, CCG Platform Engineers

Customer Migration β€” File Format Reference

Looking up the field schema for a migration CSV file. For the file-delivery steps, see Migrate to CCG.

Migration File Format​

The migration files contain essential information required for successful customer migration. Depending on the Payment Method type, the files contain optional and compulsory fields. Below, we provide a description of each field.

  • Card file: Customer Information + Card Information
  • Bank Account file: Customer Information + Bank Account Information

Customer Information​

fieldtypeCompulsorydescription
customer[merchant_customer_key]Map<String, String>
Yes
Merchant Customer Identifier. Multiple merchant customer identifiers can be provided.
firstNameStringfirst name
lastNameStringlast name
emailStringemail address
ssnLastFourDigits (4)SSN last four digits, e.g 1234
phoneCountryCodeDigits (3)Phone country code, e.g. 001
phoneNumberDigits (20)Phone number, e.g. 0123456789
dateOfBirthDate (YYYY-MM-DD)Date of Birth, e.g. 1975-11-14
zip5Digits (5)ZIP Code, e.g. 10001
hsidUUIDHealthSafe Identifier of the customer
enterpriseIdStringEnterprise Identifier of the customer

Card Information​

fieldtypeCompulsorydescription
vaultCardIdString
Yes
Merchant Payment Method Identifier
nameOnCardString
Yes
Name on card
zipOnCardDigits (5)ZIP Code on card, e.g. 10001
cardLast4Digits (4)Card number last four digits, e.g. 1234
expirationYearDate (YYYY)Expiration Year, e.g. 2032
expirationMonthDate (MM)Expiration Month, e.g. 12
cardNickNameStringCard nickname
isDefaultBooleanDefault card flag
isManufacturerBooleanManufacturer card flag

Sample Card Migration template:

card_test_migration_file_20240625-153549.csv

Bank Account Information​

fieldtypeCompulsorydescription
accountHolderTypeindividual/business
Yes
Type of account holder
accountTypechecking/savings
Yes
Type of account
bankNameStringName of the bank
accountLast4Digits (4)Last four digits of the bank account
accountNumberString
Yes
Account number
routingNumberString
Yes
Routing number
nameOnAccountString
Yes
Name on bank account
accountNickNameStringBank account nickname
isDefaultBooleanDefault bank account flag

Sample Bank Account Migration template:

bank_account_test_migration_file_20240701-095200.csv

File Delivery​

ECG QuickConnect will be used for transferring migration files between Merchant and CCG.