-
Notifications
You must be signed in to change notification settings - Fork 0
Tipos de Documentos Personal
Agustin Fernandez edited this page Nov 7, 2020
·
2 revisions
Mediante esta función, podremos obtener los Tipo de Documento Personal que Mercado Pago permite.
Usando la siguiente clase
SAPIDK_MP\Action::IDTypes(TOKEN);
Obtendremos el siguiente resultado
Array
(
[0] => Array
(
[id] => DNI
[name] => DNI
[type] => number
[min_length] => 7
[max_length] => 8
)
[1] => Array
(
[id] => CI
[name] => Cédula
[type] => number
[min_length] => 1
[max_length] => 9
)
[2] => Array
(
[id] => LC
[name] => L.C.
[type] => number
[min_length] => 6
[max_length] => 7
)
[3] => Array
(
[id] => LE
[name] => L.E.
[type] => number
[min_length] => 6
[max_length] => 7
)
[4] => Array
(
[id] => Otro
[name] => Otro
[type] => number
[min_length] => 5
[max_length] => 20
)
)