{"title":"Override the card mask","category":"default","creationDate":1776961627,"content":"<p>A card mask is a template for the format of a card number.<\/p>\n<p>If the gift card number is longer than the default card mask, you will need to override this with your own mask.<\/p>\n<p>For example, the default card mask is 9 digits and is formatted like \"xxx-xxx-xxx\".<\/p>\n<p>To override the default card mask, specify the format in the\u00a0<code>cardMask<\/code>\u00a0parameter. For example, a 16 digit card number would be formatted like so: \"xxxx-xxxx-xxxx-xxxx\"<\/p>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/start-gift-card-transactions-jni\/override-the-card-mask-jni","articleFields":{"id":"31491634","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/start-gift-card-transactions-jni\/override-the-card-mask-jni","title":"Override the card mask","content":"A card mask is a template for the format of a card number.\nIf the gift card number is longer than the default card mask, you will need to override this with your own mask.\nFor example, the default card mask is 9 digits and is formatted like \"xxx-xxx-xxx\".\nTo override the default card mask, specify the format in the\u00a0cardMask\u00a0parameter. For example, a 16 digit card number would be formatted like so: \"xxxx-xxxx-xxxx-xxxx\"","type":"page","locale":"pt","boost":13,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"Java Native Interface integration","lvl5":"Extras","lvl6":"Start gift card transactions","lvl7":"Override the card mask"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni","lvl6":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/start-gift-card-transactions-jni","lvl7":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/start-gift-card-transactions-jni\/override-the-card-mask-jni"},"levels":8,"category":"In-person payments","category_color":"green","tags":["Override"]}}
