{
	"info": {
		"_postman_id": "bf9c84df-a586-4c20-9324-3ab45d0cef28",
		"name": "eFirma API",
		"description": "\n![alt text](https://efirma.com/pub/img/logo/logo-color.png \"Logo Efirma\")\n\nCon el API de eFirma.com podrás integrar nuestros servicios a tu plataforma de una manera sencilla y práctica.\n\n\nEn caso de contar con un plan enterprise de geo-localización, eFirma tiene multiples servidores geo-distribuidos para cumplir con normas de privacidad de datos. Si se requiere almacenar datos en un servidor especifico, el nombre del servidor se encuentra en código Alfa-2 especificado en ISO 3166-1 y llevará la siguiente base:\n\n**https://{servidor}.efirma.com/**\n\nPor ejemplo, para almacenar datos y transferir datos de manera especifica por nuestros servidores en México, se haría de la siguiente manera:\n\n**https://mx.efirma.com/**\n\nY para nuestros servidores en españa, sería de la siguiente manera:\n\n**https://es.efirma.com/**\n\n\nUna respuesta exitosa siempre vendra en formato JSON.",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Cuenta",
			"item": [
				{
					"name": "Account",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"warning": "This is a duplicate header and will be overridden by the X-eFirma-Auth header generated by Postman.",
								"description": "Header utilizado para la autenticación en eFirma.com",
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [],
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/account",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"account"
							]
						},
						"description": "Para autenticar la llamada a la API contamos con un header personalizado X-eFirma-Auth donde tendrás que especificar tú ID de Usuario y tu Llave de API, los cuales podrás obtener en tu panel de administración en https://efirma.com/panel/api-management, el header debe contener los parámetros en formato JSON:\n```\ncurl -H 'X-eFirma-Auth:{\"uid\": \"your_uid\",\"key\": \"your_key\"}' \\\nhttps://efirma.com/api/account\n```\n\n**GET /api/account**"
					},
					"response": [
						{
							"name": "Account Success",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/x-www-form-urlencoded",
										"type": "text"
									}
								],
								"body": {
									"mode": "urlencoded",
									"urlencoded": []
								},
								"url": {
									"raw": "https://efirma.com/api/account",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"account"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Thu, 30 Jan 2020 00:51:06 GMT"
								},
								{
									"key": "Content-Length",
									"value": "184"
								}
							],
							"cookie": [],
							"body": "{\n    \"uid\": \"GUUXXXXXXXXXS04\",\n    \"individualname\": \"ALAN DAVID\",\n    \"companyname\": \"EFIRMA PUNTO COM SAPI DE CV\",\n    \"certificate\": \"00001000000410001409\",\n    \"funds\": 0,\n    \"docsleft\": 99999,\n    \"whitelist\": [\n        \"*\"\n    ]\n}"
						}
					]
				}
			],
			"description": "Los métodos de cuenta, nos sirven para monitorear la cuenta dueña de las **API Keys**; recomendamos también usarla par revisar la correcta conexión de nuestro código con **eFirma**",
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"id": "377f8829-dcea-482a-a026-6491e0ed6ce4",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"id": "280c2b30-83ba-4f5f-8358-d1296dd024a0",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			],
			"protocolProfileBehavior": {}
		},
		{
			"name": "Documentos",
			"item": [
				{
					"name": "List documents",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/document/get_all",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"document",
								"get_all"
							]
						},
						"description": "Permite obtener una lista objectos del tipo **Documento** a los cuales se tiene acceso.\n\n**GET /api/document/get_all**"
					},
					"response": [
						{
							"name": "List documents Success",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{efirma_url}}/api/document/get_all",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"document",
										"get_all"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Tue, 04 Aug 2020 21:09:50 GMT"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"id\": \"XXXXXXXXXX\",\n        \"name\": \"Document 1\",\n        \"createdat\": \"2020-08-04T02:10:52.607Z\",\n        \"hash\": \"b9cdafe03253e2d25360547c12e021e90e3e1562cb30baee4e88703bd305b0ee\",\n        \"owner\": \"xxxx@efirma.com\",\n        \"users\": [\n            {\n                \"email\": \"xxxx@efirma.com\",\n                \"type\": \"signer\",\n                \"access_token\": \"XXXXXXXXXX\",\n                \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXXXXXX&at=XXXXXXXXXX&ae=xxxx@efirma.com\"\n            }\n        ],\n        \"signatures\": [\n            {\n                \"email\": \"xxxx@efirma.com\",\n                \"name\": \"ALAN\",\n                \"lname\": \"GUTIERREZ\",\n                \"signature_type\": 1,\n                \"signed\": false\n            }\n        ],\n        \"fully_signed\": false,\n        \"original_file\": \"https://efirma.com/odocument/XXXXXXXXXX?at=XXXXXXXXXX&ut=XXXXXXXXXX&tt=XXXXXXXXXX\",\n        \"evidence_file\": \"\",\n        \"merged_file\": \"\",\n        \"signed_file\": \"\"\n    },\n    {\n        \"id\": \"XXXXXXXXXX\",\n        \"name\": \"Document 2\",\n        \"createdat\": \"2020-08-04T02:10:31.188Z\",\n        \"hash\": \"2f295610279183e5388a206a2a2a67ce24971bf732ea5a58cac58fdd64ddbcc5\",\n        \"owner\": \"xxxx@efirma.com\",\n        \"users\": [\n            {\n                \"email\": \"xxxx@efirma.com\",\n                \"type\": \"signer\",\n                \"access_token\": \"XXXXXXXXXX\",\n                \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXXXXXX&at=XXXXXXXXXX&ae=xxxx@efirma.com\"\n            }\n        ],\n        \"signatures\": [\n            {\n                \"email\": \"xxxx@efirma.com\",\n                \"name\": \"ALAN\",\n                \"lname\": \"GUTIERREZ\",\n                \"signature_type\": 1,\n                \"signed\": false\n            }\n        ],\n        \"fully_signed\": false,\n        \"original_file\": \"https://efirma.com/odocument/XXXXXXXXXX?at=XXXXXXXXXX&ut=XXXXXXXXXX&tt=XXXXXXXXXX\",\n        \"evidence_file\": \"\",\n        \"merged_file\": \"\",\n        \"signed_file\": \"\"\n    },\n    {\n        \"id\": \"5f28be10aa470052878a7fe6\",\n        \"name\": \"Documento 3\",\n        \"createdat\": \"2020-08-04T01:46:56.845Z\",\n        \"hash\": \"cc8f92183d7b20a46188585dfdf6f28b4208ca402c36ccc4a9f3304ac18c928b\",\n        \"owner\": \"xxxx@efirma.com\",\n        \"users\": [\n            {\n                \"email\": \"xxxx@efirma.com\",\n                \"type\": \"signer\",\n                \"access_token\": \"XXXXXXXXXX\",\n                \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXXXXXX&at=XXXXXXXXXX&ae=XXXXXXXXXX\"\n            },\n            {\n                \"email\": \"xxxx@empresa.com.mx\",\n                \"type\": \"signer\",\n                \"access_token\": \"XXXXXXXXXX\",\n                \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXXXXXX&at=XXXXXXXXXX&ae=XXXXXXXXXX\"\n            },\n            {\n                \"email\": \"xxxx@efirma.com\",\n                \"type\": \"signer\",\n                \"access_token\": \"XXXXXXXXXX\",\n                \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXXXXXX&at=XXXXXXXXXX&ae=xxxx@efirma.com\"\n            },\n            {\n                \"email\": \"xxxx@empresa.com.mx\",\n                \"type\": \"observer\",\n                \"access_token\": \"XXXXXXXXXX\",\n                \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXXXXXX&at=XXXXXXXXXX&ae=xxxx@empresa.com.mx\"\n            }\n        ],\n        \"signatures\": [\n            {\n                \"email\": \"xxx@efirma.com\",\n                \"name\": \"Alberto\",\n                \"lname\": \"Leyva\",\n                \"signature_type\": 1,\n                \"signed\": false\n            },\n            {\n                \"email\": \"xxxx@empresa.com.mx\",\n                \"name\": \"Eleonora\",\n                \"lname\": \"Martinez\",\n                \"signature_type\": 1,\n                \"signed\": false\n            },\n            {\n                \"email\": \"xxxx@efirma.com\",\n                \"name\": \"ALAN\",\n                \"lname\": \"GUTIERREZ\",\n                \"signature_type\": 1,\n                \"signed\": false\n            }\n        ],\n        \"fully_signed\": false,\n        \"original_file\": \"https://efirma.com/odocument/XXXXXXXXXX?at=XXXXXXXXXX&ut=XXXXXXXXXX&tt=XXXXXXXXXX\",\n        \"evidence_file\": \"\",\n        \"merged_file\": \"\",\n        \"signed_file\": \"\"\n    }\n]"
						}
					]
				},
				{
					"name": "Find document by ID",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{efirma_url}}/api/document/get/:id",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"document",
								"get",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "XXXXXX"
								}
							]
						},
						"description": "Permite obtener los datos respecto a un documento.\n\n**GET /api/document/get/:id**\n\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| :id | String | El id único del documento. |\n\nRegresará un objeto *Documento*"
					},
					"response": [
						{
							"name": "Document found by ID",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "https://efirma.com/api/document/get/{{document_id}}",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"document",
										"get",
										"{{document_id}}"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Thu, 30 Jan 2020 00:51:58 GMT"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"XXXXXX\",\n    \"name\": \"Documento\",\n    \"createdat\": \"2020-05-15T18:40:35.554Z\",\n    \"hash\": \"66c0fc2bb90ce3565c4cb8a8afdf3bd800323c94d7d3003971cdd7c186985159\",\n    \"owner\": \"xxxx@efirma.com\",\n    \"users\": [\n        {\n            \"email\": \"xxxx@efirma.com\",\n            \"type\": \"signer\",\n            \"access_token\": \"XXXXXX\",\n            \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXX&at=XXXXXX&ae=xxxx@efirma.com\"\n        },\n        {\n            \"email\": \"yyyy@efirma.com\",\n            \"type\": \"signer\",\n            \"access_token\": \"XXXXXX\",\n            \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXX&at=XXXXXX&ae=yyyy@efirma.com\"\n        },\n        {\n            \"email\": \"xxxx@hotmail.com\",\n            \"type\": \"signer\",\n            \"access_token\": \"XXXXXX\",\n            \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=XXXXXX&at=XXXXXX&ae=xxxx@hotmail.com\"\n        }\n    ],\n    \"signatures\": [\n        {\n            \"email\": \"xxxx@efirma.com\",\n            \"name\": \"DAVID\",\n            \"lname\": \"GUTIERREZ\",\n            \"signature_type\": 2,\n            \"signed\": true,\n            \"signature\": \"<<BASE64 de la imágen de la firma>>\",\n            \"tsq_file\": \"https://efirma.com/tsq/XXXXXX\",\n            \"tsr_file\": \"https://efirma.com/tsr/XXXXXX\",\n            \"ip\": \"127.0.0.1\"\n        },\n        {\n            \"email\": \"yyyy@efirma.com\",\n            \"name\": \"Alberto\",\n            \"lname\": \"Leyva\",\n            \"signature_type\": 2,\n            \"signed\": true,\n            \"signature\": \"<<BASE64 de la imágen de la firma>>\",\n            \"tsq_file\": \"https://efirma.com/tsq/XXXXXX\",\n            \"tsr_file\": \"https://efirma.com/tsr/XXXXXX\",\n            \"ip\": \"127.0.0.1\"\n        },\n        {\n            \"email\": \"xxxxx@hotmail.com\",\n            \"name\": \"Isabel\",\n            \"lname\": \"Ulloa\",\n            \"signature_type\": 2,\n            \"signed\": true,\n            \"signature\": \"<<BASE64 de la imágen de la firma>>\",\n            \"tsq_file\": \"https://efirma.com/tsq/XXXXXX\",\n            \"tsr_file\": \"https://efirma.com/tsr/XXXXXX\",\n            \"ip\": \"127.0.0.1\"\n        }\n    ],\n    \"fully_signed\": true,\n    \"original_file\": \"https://efirma.com/odocument/XXXXXX?at=XXXXXX&ut=XXXXXX&tt=XXXXXX\",\n    \"evidence_file\": \"https://efirma.com/sdocument/XXXXXX?at=XXXXXX&ut=XXXXXX&tt=XXXXXX\",\n    \"merged_file\": \"https://efirma.com/osdocument/XXXXXX?at=XXXXXX&ut=XXXXXX&tt=XXXXXX\",\n    \"signed_file\": \"https://efirma.com/pkcsdocument/XXXXXX?at=XXXXXX&ut=XXXXXX&tt=XXXXXX\"\n}"
						}
					]
				},
				{
					"name": "Create Document",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "multipart/form-data",
								"type": "text"
							},
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "Multipart/Form",
									"type": "file",
									"src": "/Users/Downloads/file.pdf"
								},
								{
									"key": "data",
									"value": "{\n   \"name\":\"iFrame Test\",\n   \"desc\":\"Este documento esta hecho por medio de la API para las pruebas de la firma en un iFrame. Esperamos pruebas exitosas\",\n   \"users\":[\n      {\n         \"email\":\"one@signer.com\",\n         \"type\":\"signer\"\n      },{\n        \"email\":\"other@observer.com\",\n        \"type\":\"observer\"\n       }\n   ],\n   \"send_mails\":true,\n   \"signature_type\":1,\n   \"idcard_required\":false,\n   \"geo_required\":false,\n   \"sms_required\":false,\n   \"allowed_ids\":{\n      \"idcard\":false,\n      \"passport\":false,\n      \"fmcard\":false\n   },\n   \"callback_url\":\"\",\n   \"return_url\":\"https://google.com\",\n   \"reject_url\":\"https://google.com\",\n   \"expiry_in\":30\n}",
									"type": "text"
								}
							],
							"options": {
								"formdata": {}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/document",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"document"
							],
							"query": [
								{
									"key": "",
									"value": "",
									"disabled": true
								}
							]
						},
						"description": "Permite crear/subir un documento a nuestros sistemas para su firmado, el contenido debe venir en un **multipart/form-data** y los parametros en formato JSON dentro de un campo con nombre **\"data\"**.\n\n**POST /api/document/**\n\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **name**| String | El nombre con el cual se creará el documento.|\n| **signature_type**|Int |Especifica el tipo de firma electrónica a utilizar dentro del documento. **1 = Firma Electrónica Avanzada**, **2 = Firma Autógrafa Digital.** |\n|**users**| [ ]Object | Una lista de objetos del tipo User de los usuarios que tienen permisos dentro del documento. *El usuario que sube el documento se agrega por default como observador, si necesita que el usuario que sube el documento sea firmante, es necesario darlo de alta.*|\n| **send_mails**| Bool| En caso de ser falso, no se enviarán los correos de invitación a los usuarios del documento.|\n| **idcard_required**| Bool | *(Opcional)* En caso de ser verdadero, el documento generado requerirá una identificación anexa para poder ser firmado. |\n|**allowed_ids**| AllowedIds | *(Opcional)* Un arreglo indexado donde el indice representa el nombre de la identificación a aceptar y el valor otorgado al indice representa si es permitido el documento para identificarse al firmar. Por ejemplo: ```{ \"idcard\" : true, \"passport\" : false, \"fmcard\" : true }```, los indices permitidos son: idcard, passport, fmcard. |\n|**geo_required**| Bool | *(Opcional)* En caso de ser verdadero, el documento generado requerirá obtener la geolocalización del dispositivo para ser firmado. |\n|**sms_required**| Bool | *(Opcional)* En caso de ser verdadero, el documento generado requerirá validar el número de celular del firmante. *Esta opción solo es válida para documentos que vayan a ser firmados con Firma Autógrafa Digital.* |\n|**expiry_in**| Int | *(Opcional)* Plazo para la celebración del contrato, el parametro puede ser entre 1 y 90 días. Valor predefinido de 30 días.|\n|**desc**| String | *(Opcional)* Descripción del documento que se agregará en la nota de invitación enviada a los usuarios por correo electrónico.|\n| **callback_url**| String | *(Opcional)* URL para notificar cuando una acción sea ejercida sobre el documento. |\n|**return_url**| String | *(Opcional)* URL para redirigir al usuario una vez que se firme el documento. |\n| **reject_url**| String | *(Opcional)* URL para redirigir al usuario en caso de que decida rechazar el documento. |\n\n\nRegresa un JSON con el \"*id*\" del documento creado"
					},
					"response": [
						{
							"name": "Successful creation of Document",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "multipart/form-data",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": "/Users/Downloads/hello-world.pdf"
										},
										{
											"key": "data",
											"value": "{\n    \"name\": \"API Test\",\n    \"desc\": \"This is a test made thru the API to check on the template creation\",\n    \"users\": [\n        {\n            \"email\": \"****@hotmail.com\",\n            \"type\": \"signer\"\n        },\n        {\n            \"email\": \"****@efirma.com\",\n            \"type\": \"observer\"\n        }\n    ],\n    \"send_mails\": true,\n    \"signature_type\": 2,\n    \"idcard_required\": true,\n    \"geo_required\": false,\n    \"sms_required\": false,\n    \"allowed_ids\": {\n        \"idcard\": true,\n        \"passport\": false,\n        \"fmcard\": true\n    },\n    \"callback_url\": \"https://eng2w1ntc2zst.x.pipedream.net\",\n    \"return_url\": \"https://example.com\",\n    \"reject_url\": \"https://example.com/reject\",\n    \"expiry_in\": 30\n}",
											"type": "text"
										}
									],
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://efirma.com/api/document",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"document"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Mon, 10 Feb 2020 23:32:23 GMT"
								},
								{
									"key": "Content-Length",
									"value": "33"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"XXXXXXXXX\"\n}"
						}
					]
				},
				{
					"name": "Send Reminder",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"id\":\"XXXXXXXXX\",\n\t\"user\":\"xxxx@efirma.com\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/document/send_reminder/",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"document",
								"send_reminder",
								""
							]
						},
						"description": "Permite enviar un recordatorio de firma con acceso al documento, los parametros deben venir en el BODY con un Header del tipo `application/json`.\n\n**POST /api/document/send_reminder/**\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| id| String | El id único del documento en nuestro sistemas.|\n| user| String | El correo electrónico del usuario al que se le enviará el recordatorio. *El usuario tiene que estar registrado como observador o firmante.*|"
					},
					"response": [
						{
							"name": "Error auto send reminder",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"id\":\"5dd8bxxxxxx2xxxxx9f76\",\n\t\"user\":\"xxxxxxx@efirma.com\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://efirma.com/api/document/send_reminder/",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"document",
										"send_reminder",
										""
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Mon, 10 Feb 2020 21:30:59 GMT"
								},
								{
									"key": "Content-Length",
									"value": "64"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Can't send a reminder to yourself\",\n    \"status\": \"error\"\n}"
						},
						{
							"name": "Successful",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"id\":\"5xxxc14eaxxxxxx18e2f855\",\n\t\"user\":\"xxxxxx@efirma.com\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://efirma.com/api/document/send_reminder/",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"document",
										"send_reminder",
										""
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Mon, 10 Feb 2020 21:29:15 GMT"
								},
								{
									"key": "Content-Length",
									"value": "20"
								}
							],
							"cookie": [],
							"body": "{\n    \"status\": \"success\"\n}"
						},
						{
							"name": "Document does not exist",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"id\":\"5dd8b957aa4700fXxxxxxf76\",\n\t\"user\":\"xxxxxx@efirma.com\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://efirma.com/api/document/send_reminder/",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"document",
										"send_reminder",
										""
									]
								}
							},
							"status": "Not Found",
							"code": 404,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Mon, 10 Feb 2020 21:58:44 GMT"
								},
								{
									"key": "Content-Length",
									"value": "52"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Document does't exist\",\n    \"status\": \"error\"\n}"
						}
					]
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"id": "10462f2d-0859-4242-b140-f26696db37c9",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"id": "e3bf72f6-077b-44bc-b3e0-ac488e502459",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			],
			"protocolProfileBehavior": {}
		},
		{
			"name": "Plantillas",
			"item": [
				{
					"name": "Get HTML Template by ID",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/template/get/:id",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"template",
								"get",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "XXXXXXXXX"
								}
							]
						},
						"description": "Permite obtener los datos de una plantilla.\n\n**GET /api/template/get/:id**\n\n\n\nRegresará un objeto `Plantilla`"
					},
					"response": [
						{
							"name": "Get Template by ID",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "https://efirma.com/api/template/get/:id",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"template",
										"get",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "******2869f76"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Tue, 11 Feb 2020 00:16:09 GMT"
								},
								{
									"key": "Content-Length",
									"value": "172"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"XXXXXXXX\",\n    \"ref\": \"Demo Plantilla\",\n    \"custom_fields\": [\n        {\n            \"name\": \"campo_opcion_mulitple\",\n            \"fname\": \"¿Cual es la pregunta a contestar con opción múltiple?\",\n            \"type\": \"multiple\",\n            \"Choices\": [\n                \"Opción 1\",\n                \"Opción 2\",\n                \"Opción 3\",\n                \"Opción 4\"\n            ]\n        },\n        {\n            \"name\": \"campo_texto\",\n            \"fname\": \"¿Que quieres mostrar en la forma de llenado de plantilla?\",\n            \"type\": \"string\",\n            \"Choices\": null\n        }\n    ],\n    \"autosigner\": []\n}"
						}
					]
				},
				{
					"name": "List HTML Templates",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/template/get_all",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"template",
								"get_all"
							]
						},
						"description": "Permite obtener una lista de objectos del tipo Plantilla a las cuales tienes acceso en la cuenta.\n\n**GET /api/template/get_all**"
					},
					"response": [
						{
							"name": "List Templates",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "https://efirma.com/api/template/get_all",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"template",
										"get_all"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Mon, 10 Feb 2020 22:14:47 GMT"
								},
								{
									"key": "Content-Length",
									"value": "174"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"id\": \"5dd8b9xxxxxxxx69f76\",\n        \"ref\": \"Hello World\",\n        \"custom_fields\": [\n            {\n                \"name\": \"test\",\n                \"fname\": \"test\",\n                \"type\": \"string\"\n            },\n            {\n                \"name\": \"newtest\",\n                \"fname\": \"New Test\",\n                \"type\": \"string\"\n            }\n        ]\n    },\n    {\n        \"id\": \"5dd8b957xxxxxxxxxxd12\",\n        \"ref\": \"Hello World 2\",\n        \"custom_fields\": [\n            {\n                \"name\": \"test\",\n                \"fname\": \"test\",\n                \"type\": \"string\"\n            },\n            {\n                \"name\": \"newtest\",\n                \"fname\": \"New Test\",\n                \"type\": \"string\"\n            }\n        ]\n    }\n]"
						}
					]
				},
				{
					"name": "Create Doc from HTML Template",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"id\": \"XXXXXXXXX\",\n    \"title\": \"Documento 1\",\n    \"desc\": \"This is a test made thru the API to check on the template creation\",\n    \"users\": [\n        {\n\t\t\t\"email\": \"{{api_user}}\",\n\t\t\t\"type\": \"signer\"\n        }\n    ],\n    \"custom_fields\": \n        {\n            \"string_test\":\"David Gutierrez\",\n            \"test_multiple\":\"1,2\"\n        }\n    ,\n    \"send_mails\": false,\n    \"signature_type\": 2,\n    \"idcard_required\": true,\n    \"geo_required\": false,\n    \"sms_required\": false,\n    \"allowed_ids\": {\n        \"idcard\": true,\n        \"passport\": false,\n        \"fmcard\": true\n    },\n    \"callback_url\": \"https://callback.example.com\",\n    \"return_url\": \"https://example.com\",\n    \"reject_url\": \"https://example.com/reject\",\n    \"expiry_in\": 30\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/template/",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"template",
								""
							]
						},
						"description": "Permite generar un documento PDF en nuestros sistemas para su firmado, los parametros deben venir en el `BODY` con un Header del tipo application/json.\n\n**POST /api/template**\n\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **id** | String | El identificador de la plantilla que se utilizará para generar el documento.|\n| **title** | String | El nombre con el cual se creará el documento.|\n| **desc**| String | Descripción del documento que se agregará en la nota de invitación enviada a los usuarios por correo electrónico.|\n| **signature_type** |Int |Especifica el tipo de firma electrónica a utilizar dentro del documento. **1 = Firma Electrónica Avanzada**, **2 = Firma Autógrafa Digital.** |\n|**users**| [ ]Users | Una lista de objetos del tipo User de los usuarios que tienen permisos dentro del documento.|\n| **send_mails**| Bool| En caso de ser falso, no se enviarán los correos de invitación a los usuarios del documento.|\n| **idcard_required**| Bool | (Opcional) En caso de ser verdadero, el documento generado requerirá una identificación anexa para poder ser firmado. |\n|**allowed_ids**| AllowedIds| (Opcional) Un arreglo indexado donde el indice representa el nombre de la identificación a aceptar y el valor otorgado al indice representa si es permitido el documento para identificarse al firmar. Por ejemplo: `{ \"idcard\" : true, \"passport\" : false, \"fmcard\" : true }`, los indices permitidos son: idcard, passport, fmcard. |\n|**geo_required**| Bool |(Opcional) En caso de ser verdadero, el documento generado requerirá obtener la geolocalización del dispositivo para ser firmado. |\n|**sms_required**| Bool |(Opcional) En caso de ser verdadero, el documento generado requerirá validar el número de celular del firmante. *Esta opción solo es válida para documentos que vayan a ser firmados con Firma Autógrafa Digital.* |\n|**expiry_in**| Int | (Opcional) Plazo para la celebración del contrato, el parametro puede ser entre 1 y 90 días. Valor predefinido de 30 días.|\n| **callback_url**| String | (Opcional) URL para notificar cuando una acción sea ejercida sobre el documento. |\n|**return_url**| String | (Opcional) URL para redirigir al usuario una vez que se firme el documento. |\n| **reject_url**| String |Opcional) URL para redirigir al usuario en caso de que decida rechazar el documento. |\n| **custom_fields**|  JSONObject | Un objeto JSON formado de la siguiente manera `{\"<<NOMBRE DE VARIABLE STRING>>\":\"Texto a llenar\",\"<<NOMBRE DE VARIABLE MULTIPLE>>\":\"<< NUMERO DE RESPUESTA >>\"}`|"
					},
					"response": [
						{
							"name": "Create Template Error",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Encoding",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"id\": \"5dd8b9xxxxxxxxx6\",\n    \"title\": \"API Test\",\n    \"desc\": \"This is a test made thru the API to check on the template creation\",\n    \"users\": [\n        {\n            \"email\": \"xxxxx@hotmail.com\",\n            \"type\": \"signer\"\n        }\n    ],\n    \"custom_fields\": {\n        \"test\": \"test\"\n    },\n    \"send_mails\": true,\n    \"signature_type\": 2,\n    \"idcard_required\": true,\n    \"geo_required\": false,\n    \"sms_required\": false,\n    \"allowed_ids\": {\n        \"idcard\": true,\n        \"passport\": false,\n        \"fmcard\": true\n    },\n    \"callback_url\": \"https://eng2w1ntc2zst.x.pipedream.net\",\n    \"return_url\": \"https://example.com\",\n    \"reject_url\": \"https://example.com/reject\",\n    \"expiry_in\": 30\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://efirma.com/api/template/",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"template",
										""
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Mon, 10 Feb 2020 22:44:50 GMT"
								},
								{
									"key": "Content-Length",
									"value": "90"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"The API User does not have a specified role in the document\",\n    \"status\": \"error\"\n}"
						},
						{
							"name": "Create Template Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Encoding",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"id\": \"5dd8bxxxxxxxxxf76\",\n    \"title\": \"API Test\",\n    \"desc\": \"This is a test made thru the API to check on the template creation\",\n    \"users\": [\n        {\n            \"email\": \"xxxxxx@hotmail.com\",\n            \"type\": \"signer\"\n        },\n        {\n            \"email\": \"xxxxx@efirma.com\",\n            \"type\": \"observer\"\n        }\n    ],\n    \"custom_fields\": {\n        \"test\": \"test\"\n    },\n    \"send_mails\": true,\n    \"signature_type\": 2,\n    \"idcard_required\": true,\n    \"geo_required\": false,\n    \"sms_required\": false,\n    \"allowed_ids\": {\n        \"idcard\": true,\n        \"passport\": false,\n        \"fmcard\": true\n    },\n    \"callback_url\": \"https://eng2w1ntc2zst.x.pipedream.net\",\n    \"return_url\": \"https://example.com\",\n    \"reject_url\": \"https://example.com/reject\",\n    \"expiry_in\": 30\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://efirma.com/api/template/",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"template",
										""
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Mon, 10 Feb 2020 22:46:13 GMT"
								},
								{
									"key": "Content-Length",
									"value": "33"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"5e41dd35aa4xxxxx10db52f7\"\n}"
						}
					]
				},
				{
					"name": "Upload PDFTemplate",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "multipart/form-data",
								"type": "text"
							},
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "Multipart/Form",
									"type": "file",
									"src": "/Users/Downloads/contrato completo Diesel Fleet -v1 (1).pdf"
								},
								{
									"key": "data",
									"value": "{\n    \"title\": \"API Template Title\",\n    \"auto_signers\":[{\"email\":\"xxxx@xxxx.com\"},{\"email\":\"xxxx@xxxx.com\"}]\n}",
									"type": "text"
								}
							],
							"options": {
								"formdata": {}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/pdftemplate",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"pdftemplate"
							],
							"query": [
								{
									"key": "",
									"value": "",
									"disabled": true
								}
							]
						},
						"description": "Permite crear/subir un documento a nuestros sistemas para su firmado, el contenido debe venir en un **multipart/form-data** y los parametros en formato JSON dentro de un campo con nombre **\"data\"**.\n\n**POST /api/document/**\n\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **name**| String | El nombre con el cual se creará el documento.|\n| **signature_type**|Int |Especifica el tipo de firma electrónica a utilizar dentro del documento. **1 = Firma Electrónica Avanzada**, **2 = Firma Autógrafa Digital.** |\n|**users**| [ ]Object | Una lista de objetos del tipo User de los usuarios que tienen permisos dentro del documento. *El usuario que sube el documento se agrega por default como observador, si necesita que el usuario que sube el documento sea firmante, es necesario darlo de alta.*|\n| **send_mails**| Bool| En caso de ser falso, no se enviarán los correos de invitación a los usuarios del documento.|\n| **idcard_required**| Bool | *(Opcional)* En caso de ser verdadero, el documento generado requerirá una identificación anexa para poder ser firmado. |\n|**allowed_ids**| AllowedIds | *(Opcional)* Un arreglo indexado donde el indice representa el nombre de la identificación a aceptar y el valor otorgado al indice representa si es permitido el documento para identificarse al firmar. Por ejemplo: ```{ \"idcard\" : true, \"passport\" : false, \"fmcard\" : true }```, los indices permitidos son: idcard, passport, fmcard. |\n|**geo_required**| Bool | *(Opcional)* En caso de ser verdadero, el documento generado requerirá obtener la geolocalización del dispositivo para ser firmado. |\n|**sms_required**| Bool | *(Opcional)* En caso de ser verdadero, el documento generado requerirá validar el número de celular del firmante. *Esta opción solo es válida para documentos que vayan a ser firmados con Firma Autógrafa Digital.* |\n|**expiry_in**| Int | *(Opcional)* Plazo para la celebración del contrato, el parametro puede ser entre 1 y 90 días. Valor predefinido de 30 días.|\n|**desc**| String | *(Opcional)* Descripción del documento que se agregará en la nota de invitación enviada a los usuarios por correo electrónico.|\n| **callback_url**| String | *(Opcional)* URL para notificar cuando una acción sea ejercida sobre el documento. |\n|**return_url**| String | *(Opcional)* URL para redirigir al usuario una vez que se firme el documento. |\n| **reject_url**| String | *(Opcional)* URL para redirigir al usuario en caso de que decida rechazar el documento. |\n\n\nRegresa un JSON con el \"*id*\" del documento creado"
					},
					"response": [
						{
							"name": "Create PDFTemplate Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "multipart/form-data",
										"type": "text"
									},
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": "/Users/Downloads/contrato completo Diesel Fleet -v1 (1).pdf"
										},
										{
											"key": "data",
											"value": "{\n    \"title\": \"API Template Title\",\n    \"auto_signers\":[{\"email\":\"test@celularfast.com\"},{\"email\":\"test1@celularfast.com\"}]\n}",
											"type": "text"
										}
									],
									"options": {
										"formdata": {}
									}
								},
								"url": {
									"raw": "{{efirma_url}}/api/pdftemplate",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"pdftemplate"
									],
									"query": [
										{
											"key": "",
											"value": "",
											"disabled": true
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Sun, 23 Aug 2020 18:19:49 GMT"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"xxxxxxxxxxxx\",\n    \"title\": \"API Template Title\",\n    \"custom_fields\": [\n        {\n            \"name\": \"num_clie\",\n            \"fname\": \"num_clie\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"tip_clie\",\n            \"fname\": \"tip_clie\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"tip_prod\",\n            \"fname\": \"tip_prod\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"pf_pm\",\n            \"fname\": \"pf_pm\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"num_cod_copp\",\n            \"fname\": \"num_cod_copp\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"raz_soc\",\n            \"fname\": \"raz_soc\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"rfc\",\n            \"fname\": \"rfc\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"dom_fisc_col\",\n            \"fname\": \"dom_fisc_col\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"dom_fis_calle_y_num\",\n            \"fname\": \"dom_fis_calle_y_num\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"dom_fisc_cp\",\n            \"fname\": \"dom_fisc_cp\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"dom_fisc_ef\",\n            \"fname\": \"dom_fisc_ef\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"dom_fisc_mun\",\n            \"fname\": \"dom_fisc_mun\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"tel\",\n            \"fname\": \"tel\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"num_esc_pub\",\n            \"fname\": \"num_esc_pub\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"num_ntaria\",\n            \"fname\": \"num_ntaria\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"rppyc\",\n            \"fname\": \"rppyc\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"fech_const\",\n            \"fname\": \"fech_const\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"fecha_rppyc\",\n            \"fname\": \"fecha_rppyc\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"nom_rl\",\n            \"fname\": \"nom_rl\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"poder_rl\",\n            \"fname\": \"poder_rl\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"num_not_rl\",\n            \"fname\": \"num_not_rl\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"fecha_rl\",\n            \"fname\": \"fecha_rl\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"nom_not_pub\",\n            \"fname\": \"nom_not_pub\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"com_cli_1\",\n            \"fname\": \"com_cli_1\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"com_cli_2\",\n            \"fname\": \"com_cli_2\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"com_cli_3\",\n            \"fname\": \"com_cli_3\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"com_cli_4\",\n            \"fname\": \"com_cli_4\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"com_cli_5\",\n            \"fname\": \"com_cli_5\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"cost_lic_intg1\",\n            \"fname\": \"cost_lic_intg1\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"cost_lic_intg2\",\n            \"fname\": \"cost_lic_intg2\",\n            \"type\": \"string\"\n        },\n        {\n            \"name\": \"per_lic_intg1\",\n            \"fname\": \"per_lic_intg1\",\n            \"type\": \"string\"\n        }\n    ],\n    \"auto_signers\": [\n        {\n            \"Id\": \"xxxxxxxxxxxxxxxxxxxx\",\n            \"email\": \"xxxx@xxxx.com\",\n            \"SignatureId\": \"\"\n        },\n        {\n            \"Id\": \"xxxxxxxxxxxxxxxxxxxx\",\n            \"email\": \"xxxx@xxxx.com\",\n            \"SignatureId\": \"\"\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Fill PDFTemplate",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Accept-Encoding",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"id\": \"xxxxxxxxxxxx\",\n    \"title\": \"Documento\",\n    \"desc\": \"This is a test made thru the API to check on the template creation\",\n    \"users\": [\n        {\n\t\t\t\"email\": \"{{api_user}}\",\n\t\t\t\"type\": \"signer\"\n        }\n    ],\n    \"custom_fields\": \n        {\n           \"num_clie\":\"test\",\n                \"tip_clie\":\"test\",\n                \"tip_prod\":\"test\",\n                \"pf_pm\":\"test\",\n                \"num_cod_copp\":\"test\",\n                \"raz_soc\":\"test\",\n                \"rfc\":\"test\",\n                \"dom_fisc_col\":\"test\",\n                \"dom_fis_calle_y_num\":\"test\",\n                \"dom_fisc_cp\":\"test\",\n                \"dom_fisc_ef\":\"test\",\n                \"dom_fisc_mun\":\"test\",\n                \"tel\":\"test\",\n                \"num_esc_pub\":\"test\",\n                \"num_ntaria\":\"test\",\n                \"rppyc\":\"test\",\n                \"fech_const\":\"test\",\n                \"fecha_rppyc\":\"test\",\n                \"nom_rl\":\"test\",\n                \"poder_rl\":\"test\",\n                \"num_not_rl\":\"test\",\n                \"fecha_rl\":\"test\",\n                \"nom_not_pub\":\"test\",\n                \"com_cli_1\":\"test\",\n                \"com_cli_2\":\"test\",\n                \"com_cli_3\":\"test\",\n                \"com_cli_4\":\"test\",\n                \"com_cli_5\":\"test\",\n                \"cost_lic_intg1\":\"test\",\n                \"cost_lic_intg2\":\"test\",\n                \"per_lic_intg1\":\"test\"\n        }\n    ,\n    \"send_mails\": false,\n    \"signature_type\": 2,\n    \"idcard_required\": false,\n    \"geo_required\": false,\n    \"sms_required\": false,\n    \"allowed_ids\": {\n        \"idcard\": false,\n        \"passport\": false,\n        \"fmcard\": false\n    },\n    \"callback_url\": \"https://callback.example.com\",\n    \"return_url\": \"https://example.com\",\n    \"reject_url\": \"https://example.com/reject\",\n    \"expiry_in\": 30\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/pdftemplate/fill",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"pdftemplate",
								"fill"
							]
						},
						"description": "Permite generar un documento PDF a partir de una plantilla PDF para su firmado, los parametros deben venir en el `BODY` con un Header del tipo application/json.\n\n**POST /api/pdftemplate/fill**\n\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **id** | String | El identificador de la plantilla que se utilizará para generar el documento.|\n| **title** | String | El nombre con el cual se creará el documento.|\n| **desc**| String | Descripción del documento que se agregará en la nota de invitación enviada a los usuarios por correo electrónico.|\n| **signature_type** |Int |Especifica el tipo de firma electrónica a utilizar dentro del documento. **1 = Firma Electrónica Avanzada**, **2 = Firma Autógrafa Digital.** |\n|**users**| [ ]Users | Una lista de objetos del tipo User de los usuarios que tienen permisos dentro del documento.|\n| **send_mails**| Bool| En caso de ser falso, no se enviarán los correos de invitación a los usuarios del documento.|\n| **idcard_required**| Bool | (Opcional) En caso de ser verdadero, el documento generado requerirá una identificación anexa para poder ser firmado. |\n|**allowed_ids**| AllowedIds| (Opcional) Un arreglo indexado donde el indice representa el nombre de la identificación a aceptar y el valor otorgado al indice representa si es permitido el documento para identificarse al firmar. Por ejemplo: `{ \"idcard\" : true, \"passport\" : false, \"fmcard\" : true }`, los indices permitidos son: idcard, passport, fmcard. |\n|**geo_required**| Bool |(Opcional) En caso de ser verdadero, el documento generado requerirá obtener la geolocalización del dispositivo para ser firmado. |\n|**sms_required**| Bool |(Opcional) En caso de ser verdadero, el documento generado requerirá validar el número de celular del firmante. *Esta opción solo es válida para documentos que vayan a ser firmados con Firma Autógrafa Digital.* |\n|**expiry_in**| Int | (Opcional) Plazo para la celebración del contrato, el parametro puede ser entre 1 y 90 días. Valor predefinido de 30 días.|\n| **callback_url**| String | (Opcional) URL para notificar cuando una acción sea ejercida sobre el documento. |\n|**return_url**| String | (Opcional) URL para redirigir al usuario una vez que se firme el documento. |\n| **reject_url**| String |Opcional) URL para redirigir al usuario en caso de que decida rechazar el documento. |\n| **custom_fields**|  JSONObject | Un objeto JSON formado de la siguiente manera `{\"<<NOMBRE DE VARIABLE STRING>>\":\"Texto a llenar\",\"<<NOMBRE DE VARIABLE MULTIPLE>>\":\"<< NUMERO DE RESPUESTA >>\"}`|"
					},
					"response": [
						{
							"name": "Fill PDFTemplate Success",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "Accept-Encoding",
										"type": "text",
										"value": "application/json"
									},
									{
										"key": "X-eFirma-Auth",
										"type": "text",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"id\": \"xxxxxxxxxxxx\",\n    \"title\": \"Documento\",\n    \"desc\": \"This is a test made thru the API to check on the template creation\",\n    \"users\": [\n        {\n\t\t\t\"email\": \"{{api_user}}\",\n\t\t\t\"type\": \"signer\"\n        }\n    ],\n    \"custom_fields\": \n        {\n           \"num_clie\":\"test\",\n                \"tip_clie\":\"test\",\n                \"tip_prod\":\"test\",\n                \"pf_pm\":\"test\",\n                \"num_cod_copp\":\"test\",\n                \"raz_soc\":\"test\",\n                \"rfc\":\"test\",\n                \"dom_fisc_col\":\"test\",\n                \"dom_fis_calle_y_num\":\"test\",\n                \"dom_fisc_cp\":\"test\",\n                \"dom_fisc_ef\":\"test\",\n                \"dom_fisc_mun\":\"test\",\n                \"tel\":\"test\",\n                \"num_esc_pub\":\"test\",\n                \"num_ntaria\":\"test\",\n                \"rppyc\":\"test\",\n                \"fech_const\":\"test\",\n                \"fecha_rppyc\":\"test\",\n                \"nom_rl\":\"test\",\n                \"poder_rl\":\"test\",\n                \"num_not_rl\":\"test\",\n                \"fecha_rl\":\"test\",\n                \"nom_not_pub\":\"test\",\n                \"com_cli_1\":\"test\",\n                \"com_cli_2\":\"test\",\n                \"com_cli_3\":\"test\",\n                \"com_cli_4\":\"test\",\n                \"com_cli_5\":\"test\",\n                \"cost_lic_intg1\":\"test\",\n                \"cost_lic_intg2\":\"test\",\n                \"per_lic_intg1\":\"test\"\n        }\n    ,\n    \"send_mails\": false,\n    \"signature_type\": 2,\n    \"idcard_required\": false,\n    \"geo_required\": false,\n    \"sms_required\": false,\n    \"allowed_ids\": {\n        \"idcard\": false,\n        \"passport\": false,\n        \"fmcard\": false\n    },\n    \"callback_url\": \"https://callback.example.com\",\n    \"return_url\": \"https://example.com\",\n    \"reject_url\": \"https://example.com/reject\",\n    \"expiry_in\": 30\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{efirma_url}}/api/pdftemplate/fill",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"pdftemplate",
										"fill"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Sat, 22 Aug 2020 01:22:38 GMT"
								},
								{
									"key": "Content-Length",
									"value": "398"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"xxxxxxxxxxxx\",\n    \"users\": [\n        {\n            \"email\": \"xxxx@xxxx.com\",\n            \"iframe_url\": \"https://efirma.com/frame/verify/doc?doc=xxxxxxxx&at=xxxxxxxxxxxx&ae=xxxxxxxxxxxx\",\n            \"token\": \"xxxx-xxxx\",\n            \"type\": \"signer\"\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Get PDF Template by ID",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/pdftemplate/get/:id",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"pdftemplate",
								"get",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "xxxxxxxxxxxx"
								}
							]
						},
						"description": "Permite obtener los datos de una plantilla.\n\n**GET /api/pdftemplate/get/:id**\n\n\n\nRegresará un objeto `Plantilla`"
					},
					"response": [
						{
							"name": "Get Template by ID",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "https://efirma.com/api/template/get/:id",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"template",
										"get",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "******2869f76"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Tue, 11 Feb 2020 00:16:09 GMT"
								},
								{
									"key": "Content-Length",
									"value": "172"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"XXXXXXXX\",\n    \"ref\": \"Demo Plantilla\",\n    \"custom_fields\": [\n        {\n            \"name\": \"campo_opcion_mulitple\",\n            \"fname\": \"¿Cual es la pregunta a contestar con opción múltiple?\",\n            \"type\": \"multiple\",\n            \"Choices\": [\n                \"Opción 1\",\n                \"Opción 2\",\n                \"Opción 3\",\n                \"Opción 4\"\n            ]\n        },\n        {\n            \"name\": \"campo_texto\",\n            \"fname\": \"¿Que quieres mostrar en la forma de llenado de plantilla?\",\n            \"type\": \"string\",\n            \"Choices\": null\n        }\n    ],\n    \"autosigner\": []\n}"
						}
					]
				},
				{
					"name": "List PDF Templates",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/pdftemplate/get_all",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"pdftemplate",
								"get_all"
							]
						},
						"description": "Permite obtener una lista de objectos del tipo Plantilla a las cuales tienes acceso en la cuenta.\n\n**GET /api/template/get_all**"
					},
					"response": []
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"id": "b995d4e5-23e9-4b72-8764-3fe6139beedf",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"id": "4c053235-63d2-4f54-aade-a285f1ea7042",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			],
			"protocolProfileBehavior": {}
		},
		{
			"name": "KYC [ PRO ]",
			"item": [
				{
					"name": "Find KYC Request by ID",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/kyc/request/:id",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"kyc",
								"request",
								":id"
							],
							"variable": [
								{
									"key": "id",
									"value": "XXXXXXXXX"
								}
							]
						},
						"description": "Nos permitirá encontrar una forma KYC y obtener toda la información.\n\n**GET /api/kyc/request/:id**"
					},
					"response": [
						{
							"name": "Find KYC Request by ID Success",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{efirma_url}}/api/kyc/request/:id",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"kyc",
										"request",
										":id"
									],
									"variable": [
										{
											"key": "id",
											"value": "5ea758a9aa4700bb56ab55d9"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:10:21 GMT"
								},
								{
									"key": "Content-Length",
									"value": "1852"
								}
							],
							"cookie": [],
							"body": "{\n    \"formfill_link\": \"https://efirma.com/panel/kyc-form?r=XXXXXX&at=XXXXXX&ae=person@email.com\",\n    \"documents_download_link\": \"https://efirma.com/kyc-documents/XXXXXX\",\n    \"download_pdf_report\": \"https://efirma.com/kyc-report/XXXXXX\",\n    \"kyc-request\": {\n        \"Id\": \"XXXXXX\",\n        \"RequesterId\": \"XXXXXX\",\n        \"OrganizationRequesterId\": \"XXXXXX\",\n        \"RequestedId\": \"XXXXXX\",\n        \"Type\": \"p\",\n        \"Filler\": \"requested\",\n        \"Requirements\": {\n            \"idcard\": true,\n            \"esignature\": true\n        },\n        \"OpenEmail\": {\n            \"Notified\": \"0001-01-01T00:00:00Z\",\n            \"Timestamp\": \"0001-01-01T00:00:00Z\"\n        },\n        \"LastOpen\": \"2020-04-27T22:12:02.358Z\",\n        \"TrackIPs\": [\n            {\n                \"IPInfo\": \"XXXXXX\",\n                \"TimeStamp\": \"2020-04-27T22:12:02.358Z\"\n            }\n        ],\n        \"Description\": \"Invitacion llenado de documentos KYC por API\",\n        \"Documents\": {\n            \"IdCard\": \"XXXXXX\",\n            \"Passport\": \"\",\n            \"FMCard\": \"\",\n            \"BirthCertificate\": \"\",\n            \"TaxId\": \"\",\n            \"IncLetter\": \"\",\n            \"Address\": \"\",\n            \"ProCard\": \"\",\n            \"DigitalSignature\": \"\",\n            \"ElectronicSignature\": \"\",\n            \"VideoProof\": \"\"\n        },\n        \"Report\": {\n            \"individual\": {\n                \"name\": \"Isabel\",\n                \"lname\": \"Ulloa\",\n                \"fname\": \"Isabel Ulloa\",\n                \"uid\": \"XUXIXXXXXXS04\",\n                \"taxid\": \"GUUIXXXXXXF0\",\n                \"birth_year\": \"70\",\n                \"birth_month\": \"01\",\n                \"birth_day\": \"01\",\n                \"sex\": \"F\",\n                \"nationality\": \"MEX\",\n                \"addresses\": [\n                    {\n                        \"street\": \"XXXXXX\",\n                        \"number\": \"\",\n                        \"interior_number\": \"\",\n                        \"colony\": \"XXXXXX\",\n                        \"municipality\": \"XXXXXX\",\n                        \"state\": \"XXXXXX\",\n                        \"zip\": \"XXXXXX\"\n                    }\n                ],\n                \"emails\": [\n                    \"xxxx@email.com\"\n                ],\n                \"father\": {},\n                \"mother\": {},\n                \"cedulas\": [\n                    {\n                        \"anioreg\": 1987,\n                        \"desins\": \"UNIVERSIDAD DE XXXXXX\",\n                        \"idCedula\": \"1XXXXXX2\",\n                        \"titulo\": \"LICENCIATURA EN DERECHO\"\n                    }\n                ]\n            }\n        },\n        \"CallbackUrl\": \"https://callback.exmaple.com/post\",\n        \"ReturnUrl\": \"http://yourcompany.com\"\n    }\n}"
						}
					]
				},
				{
					"name": "Validate RFC",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/validate/rfc/:rfc",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"validate",
								"rfc",
								":rfc"
							],
							"variable": [
								{
									"key": "rfc",
									"value": "EPC180509TV5"
								}
							]
						},
						"description": "RFC: Para la validación por RFC se hace una consulta directa a la base de datos de Secretaría de Hacienda y Crédito Público, existen diferentes métodos utilizados los cuales pueden ser:\r\n1. Con certificados expedidos para ver si la persona se encuentra registrada para emitir facturas.\r\n2. Utilizando la cédula fiscal o comparando con listas emitidas por la secretaría para consultas públicas.\r\n\r\n**GET /api/validate/rfc/:rfc**\r\n\r\nRegresara:\r\n\r\n| Nombre        | Tipo de Dato           | Descripcion  |\r\n| ------------- |:-------------:| -----|\r\n| valid | Bool | Estatus del RFC ante la Secretaría de Hacienda y Crédito Público|\r\n| organization | Organizacion |Datos de la organización |"
					},
					"response": [
						{
							"name": "Example1: Organization RFC",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "https://efirma.com/api/validate/rfc/:rfc",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"validate",
										"rfc",
										":rfc"
									],
									"variable": [
										{
											"key": "rfc",
											"value": "EPC180509TV5"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 29 Jan 2020 23:52:04 GMT"
								},
								{
									"key": "Content-Length",
									"value": "365"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": true,\n    \"organization\": {\n        \"names\": [\n            \"EFIRMA PUNTO COM S A P I DE CV\"\n        ],\n        \"rfc\": \"EPC180509TV5\",\n        \"active_esignature\": true,\n        \"certificates\": [\n            {\n                \"owner\": \"LEVJXXXXXXXZN06\",\n                \"serial\": \"00001000000411050484\",\n                \"active\": true\n            }\n        ]\n    }\n}"
						}
					]
				},
				{
					"name": "Validate RFC Format",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/validate/rfc-format/:rfc",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"validate",
								"rfc-format",
								":rfc"
							],
							"variable": [
								{
									"key": "rfc",
									"value": "EPC180509TV5"
								}
							]
						},
						"description": "RFC: Para la validación por RFC se hace una consulta directa a la base de datos de Secretaría de Hacienda y Crédito Público, existen diferentes métodos utilizados los cuales pueden ser:\r\n1. Con certificados expedidos para ver si la persona se encuentra registrada para emitir facturas.\r\n2. Utilizando la cédula fiscal o comparando con listas emitidas por la secretaría para consultas públicas.\r\n\r\n**GET /api/validate/rfc-format/:rfc**\r\n\r\nRegresara:\r\n\r\n| Nombre        | Tipo de Dato           | Descripcion  |\r\n| ------------- |:-------------:| -----|\r\n| **valid** | Bool | Nos indicará si el RFC cumple con el formato de formación de un RFC. |\r\n| **organization** | Organizacion |Datos de la organización *solo en caso de que existan.* |\r\n| **message** | String |Un mensaje sobre el RFC.|"
					},
					"response": [
						{
							"name": "RFC Mal formado",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{efirma_url}}/api/validate/rfc-format/:rfc",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"validate",
										"rfc-format",
										":rfc"
									],
									"variable": [
										{
											"key": "rfc",
											"value": "AA900157LA4"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:29:35 GMT"
								},
								{
									"key": "Content-Length",
									"value": "115"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": false,\n    \"message\": \"No se encontraron certificados ligados a este RFC, la composición del RFC es inválida\"\n}"
						},
						{
							"name": "RFC Bien Formado pero no válido",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{efirma_url}}/api/validate/rfc-format/:rfc",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"validate",
										"rfc-format",
										":rfc"
									],
									"variable": [
										{
											"key": "rfc",
											"value": "AEO900157LA4"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:28:15 GMT"
								},
								{
									"key": "Content-Length",
									"value": "209"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": true,\n    \"organization\": {\n        \"names\": null,\n        \"rfc\": \"AEO900157LA4\",\n        \"active_esignature\": false,\n        \"certificates\": null\n    },\n    \"message\": \"No se encontraron certificados ligados a este RFC, la composición del RFC es válida\"\n}"
						},
						{
							"name": "RFC Válido",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{efirma_url}}/api/validate/rfc-format/:rfc",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"validate",
										"rfc-format",
										":rfc"
									],
									"variable": [
										{
											"key": "rfc",
											"value": "EPC180509TV5"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:30:10 GMT"
								},
								{
									"key": "Content-Length",
									"value": "214"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": true,\n    \"organization\": {\n        \"names\": [\n            \"EFIRMA PUNTO COM S A P I DE CV\"\n        ],\n        \"rfc\": \"EPC180509TV5\",\n        \"active_esignature\": true,\n        \"certificates\": [\n            {\n                \"owner\": \"LEVJ900205HBCXZN06\",\n                \"serial\": \"00001000000411050484\",\n                \"active\": true\n            }\n        ]\n    }\n}"
						}
					]
				},
				{
					"name": "Validate CURP",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/validate/curp/:curp",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"validate",
								"curp",
								":curp"
							],
							"variable": [
								{
									"key": "curp",
									"value": "GAAA770516MDFBLL05"
								}
							]
						},
						"description": "**CURP:** Para la validación por CURP se hace en distintos pasos, el cual contempla:\r\n1. Verificación de los códigos y estándares de emisión conforme a la normativa mexicana de asignación de Clave Única de Registro de Población.\r\n2. Verificación ante Registro Civil para validar que se encuentra registrado con un Acta de Nacimiento ante el estado correspondiente.\r\n\r\n**GET /api/validate/curp/:curp**"
					},
					"response": [
						{
							"name": "Curp inválida",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "https://efirma.com/api/validate/curp/:curp",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"validate",
										"curp",
										":curp"
									],
									"variable": [
										{
											"key": "curp",
											"value": "MOAJ591026HNERYN01"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Tue, 11 Feb 2020 00:02:05 GMT"
								},
								{
									"key": "Content-Length",
									"value": "446"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": false,\n    \"person\": {\n        \"name\": \"\",\n        \"parsed_name\": {\n            \"first_name\": \"\",\n            \"middle_name\": \"\",\n            \"last_name_1\": \"\",\n            \"last_name_2\": \"\"\n        },\n        \"curp\": \"\",\n        \"birthyear\": \"\",\n        \"birthmonth\": \"\",\n        \"birthday\": \"\",\n        \"gender\": \"\",\n        \"nationality\": \"\",\n        \"state\": \"\",\n        \"rfc\": \"\",\n        \"active_esignature\": false,\n        \"certificates\": null\n    },\n    \"message\": \"No hay un acta de nacimiento asociada a la CURP capturada. Por favor verifica que hayas ingresado el dato correctamente o comunícate a nuestro centro de atención.\"\n}"
						},
						{
							"name": "Curp Valida",
							"originalRequest": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "https://efirma.com/api/validate/curp/:curp",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"validate",
										"curp",
										":curp"
									],
									"variable": [
										{
											"key": "curp",
											"value": "BURA031029HOCSBNA4"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Tue, 11 Feb 2020 00:03:12 GMT"
								},
								{
									"key": "Content-Length",
									"value": "301"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": true,\n    \"person\": {\n        \"name\": \"\",\n        \"parsed_name\": {\n            \"first_name\": \"\",\n            \"middle_name\": \"\",\n            \"last_name_1\": \"\",\n            \"last_name_2\": \"\"\n        },\n        \"curp\": \"BURA031029HOCSBNA4\",\n        \"birthyear\": \"03\",\n        \"birthmonth\": \"10\",\n        \"birthday\": \"29\",\n        \"gender\": \"M\",\n        \"nationality\": \"MX\",\n        \"state\": \"OAXACA\",\n        \"rfc\": \"\",\n        \"active_esignature\": false,\n        \"certificates\": null\n    }\n}"
						}
					]
				},
				{
					"name": "Create a KYC Request",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n   \"type\":\"p\",\n   \"filler\":\"requester\", \n   \"requested\":\"xxxxx@efirma.com\",\n   \"description\":\"Invitacion llenado de documentos KYC por API\",\n   \"callback_url\":\"https://example.com/post\",\n   \"return_url\":\"http://example.com\",\n   \"requirements\":{\n   \t\t\"idcard\":true,\n\t\t\"passport\":true,\n\t\t\"fmcard\":false,\n\t\t\"birthcert\":false,\n\t\t\"taxid\":false,\n\t\t\"incletter\":false,\n\t\t\"address\":false,\n\t\t\"procard\":false,\n\t\t\"dsignature\":true,\n\t\t\"esignature\":false,\n\t\t\"videoproof\":true\n   }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/kyc/request",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"kyc",
								"request"
							]
						},
						"description": "Permite crear un formulario de recopilacion de informacion KYC.\n\n**POST /api/kyc/request**\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **type**| `String` | Una letra que nos dirá si es una persona u organizacion, se usan los siguientes valores: **\"p\" para persona; \"o\" para organizacion.**|\n| **filler**|`String` |Especifica quien va a llenar el formulario, las opciones son: **requester** para que el formulario sea llenado por quie solicita la recopilación y **requested** para que el formulario sea llenado por la persona a al que se le solicita la informacion.|\n|**requested**| `String` | El email de la persona a la cual se quiere \"investigar\".|\n| **description**| `String`| Una breve descripción que aparecera en el correo que le solicita la informacion a la persona.|\n| **callback_url**| `String` | *(Opcional)* URL para notificar cuando una acción sea ejercida sobre el documento. |\n|**return_url**| `String` | *(Opcional)* URL para redirigir al usuario una vez que se firme el documento. |\n|**requirements**| `requirements` | Un objeto **KYCRequirements** que dicta que información se tiene que recopilar.|\n\n\nRegresa un JSON con el \"*id*\" del documento creado"
					},
					"response": [
						{
							"name": "Successful Create a KYC Request",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"type": "text",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n   \"type\":\"p\",\n   \"filler\":\"requester\", \n   \"requested\":\"xxx@efirma.com\",\n   \"description\":\"Invitacion llenado de documentos KYC por API\",\n   \"callback_url\":\"https://example.com/post\",\n   \"return_url\":\"http://example.com\",\n   \"requirements\":{\n   \t\t\"idcard\":true,\n\t\t\"passport\":true,\n\t\t\"fmcard\":false,\n\t\t\"birthcert\":false,\n\t\t\"taxid\":false,\n\t\t\"incletter\":false,\n\t\t\"address\":false,\n\t\t\"procard\":false,\n\t\t\"dsignature\":true,\n\t\t\"esignature\":false,\n\t\t\"videoproof\":true\n   }\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{efirma_url}}/api/kyc/request",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"kyc",
										"request"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Fri, 14 Aug 2020 19:25:44 GMT"
								},
								{
									"key": "Content-Length",
									"value": "1133"
								}
							],
							"cookie": [],
							"body": "{\n    \"formfill_link\": \"https://efirma.com/panel/kyc-form?r=XXXXXXXXXXX&at=XXXXXXXXXX&ae=xxxx@efirma.com\",\n    \"documents_download_link\": \"https://efirma.com/kyc-documents/XXXXXXXXX\",\n    \"download_pdf_report\": \"https://efirma.com/kyc-report/XXXXXXXXXX\",\n    \"kyc-request\": {\n        \"Id\": \"XXXXXXXXX\",\n        \"RequesterId\": \"XXXXXXXXX\",\n        \"OrganizationRequesterId\": \"XXXXXXXXX\",\n        \"RequestedId\": \"XXXXXXXXX\",\n        \"Type\": \"p\",\n        \"Filler\": \"requester\",\n        \"Requirements\": {\n            \"idcard\": true,\n            \"passport\": true,\n            \"dsignature\": true,\n            \"videoproof\": true\n        },\n        \"OpenEmail\": {\n            \"Notified\": \"0001-01-01T00:00:00Z\",\n            \"Timestamp\": \"0001-01-01T00:00:00Z\"\n        },\n        \"LastOpen\": \"0001-01-01T00:00:00Z\",\n        \"TrackIPs\": null,\n        \"Description\": \"Invitacion llenado de documentos KYC por API\",\n        \"Documents\": {\n            \"IdCard\": \"\",\n            \"Passport\": \"\",\n            \"FMCard\": \"\",\n            \"BirthCertificate\": \"\",\n            \"TaxId\": \"\",\n            \"IncLetter\": \"\",\n            \"Address\": \"\",\n            \"ProCard\": \"\",\n            \"DigitalSignature\": \"\",\n            \"ElectronicSignature\": \"\",\n            \"VideoProof\": \"\"\n        },\n        \"Report\": {},\n        \"CallbackUrl\": \"https://example.com/post\",\n        \"ReturnUrl\": \"http://example.com\"\n    }\n}"
						}
					]
				},
				{
					"name": "Validate email",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\"email\" : \"xxxx@gmail.com\"}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/validate/email",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"validate",
								"email"
							]
						},
						"description": "Nos permite corroborar la veracidad de una cuenta de correo electrónico. \nSe envía:\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **email** | String | La cuenta de email a consultar.|\n\n\nRegresa: \n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **valid** | Bool | Indica si fue posible contactar al correo para verificar que exista.|\n| **generic** | Bool | Indica si es un correo genérico. *ej: Gmail, Hotmail, Outlook*|\n| **email**| String | El email consultado.|\n\n\n**POST /api/validate/email**"
					},
					"response": [
						{
							"name": "Email válido y no generico",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\"email\" : \"soporte@efirma.com\"}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{efirma_url}}/api/validate/email",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"validate",
										"email"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:31:51 GMT"
								},
								{
									"key": "Content-Length",
									"value": "43"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": true,\n    \"email\": \"soporte@efirma.com\"\n}"
						},
						{
							"name": "Email válido pero de correo genérico",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\"email\" : \"juanperez@gmail.com\"}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{efirma_url}}/api/validate/email",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"validate",
										"email"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:32:47 GMT"
								},
								{
									"key": "Content-Length",
									"value": "59"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": true,\n    \"generic\": true,\n    \"email\": \"juanperez@gmail.com\"\n}"
						},
						{
							"name": "Invalid  email",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\"email\" : \"gilberto.guerrero80@hotmail.com\"}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "https://efirma.com/api/validate/email",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"validate",
										"email"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 29 Jan 2020 23:55:50 GMT"
								},
								{
									"key": "Content-Length",
									"value": "124"
								}
							],
							"cookie": [],
							"body": "{\n    \"valid\": false,\n    \"message\": \"Address does not exists in hostname or is unreachable.\",\n    \"email\": \"gilberto.guerrero80@hotmail.com\"\n}"
						}
					]
				},
				{
					"name": "Validate Inc Letter",
					"event": [
						{
							"listen": "test",
							"script": {
								"id": "3d5eee84-e141-466b-abf0-88d775346b2e",
								"exec": [
									""
								],
								"type": "text/javascript"
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							},
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "Multipart/Form",
									"description": "The file to be uploaded",
									"type": "file",
									"src": []
								},
								{
									"key": "data",
									"value": "{\"callback_url\":\"https://example.com/post\"}",
									"description": "JSON Key: callback_url and URL to Endpoint",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{efirma_url}}/api/incletter",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"incletter"
							]
						},
						"description": "Utilizando algoritmos de reconocimiento de imagen y extracción de datos\r\npodemos obtener los datos por separado de:\r\n1. Razón Social\r\n2. Número de Acta\r\n3. Fedatario Público (Notario o Corredor) que escrituró con:\r\n\t- Estado del fedatario\r\n\t- Municipio del fedatario\r\n\t- Número de registro del fedatario\r\n\t- Nombre del fedatario\r\n\t- Sitio web registrado ante hacienda\r\n\t- Dirección de notaría o correduría\r\n\t- Teléfonos de contacto\r\n\t- Emails de contacto\r\n\t- Estado de actividad\r\n4. Participantes en el capital social con su:\r\n\t- Razón Social\r\n\t- RFC\r\n\t- Participación en porcentaje\r\n\t- En caso de ser una persona moral adicionalmente:\r\n\t\t* Nombre del representante legal\r\n\t\t* CURP del representante legal\r\n\t\t* RFC del representante legal\r\n\t- En caso de ser una persona física adicionalmente:\r\n\t\t* CURP\r\n\r\n\r\nPosteriormente se hace una consulta con el RPC/SIGER para cotejar la información en el\r\ndocumento y obtener la información que se encuentre dentro de la base de datos de RPC para\r\nanexar al expediente organizacional.\r\n\r\nEl cuerpo del menaje debe contener: \r\n\r\n\r\n| Nombre        | Tipo de Dato           | Descripcion  |\r\n| ------------- |:-------------:| -----|\r\n| **Multipart/Form** | Multipart/Form | El documento PDF del Acta Constitutiva |\r\n| **data** | String |Json con el siguiente formato: `{\"callback_url\":\"<< ENDPOINT DONDE ENTREGAR LA INFORMACION >>\"` |\r\n\r\n*La respuesta generada por este metodo no sera inmediata por lo que se le solicitara un endpoint/webhook/callback a donde enviarle la informacion procesada.*\r\n## Se enviará la informacion al callback que se especifique en el cuerpo del request\r\n\r\n```\r\n{\r\n\t\"id\":\"5e3222eaaa4700975a426dfe\",\r\n\t\"lname\":\"\",\r\n\t\"inc_number\":0,\r\n\t\"Nationality\":\"\",\r\n\t\"share_capital\":0,\r\n\t\"individuals\":null,\r\n\t\"notary\":{\r\n\t\t\"type\":\"\",\r\n\t\t\"state\":\"\",\r\n\t\t\"municipality\":\"\",\r\n\t\t\"number\":0,\r\n\t\t\"name\":\"\",\r\n\t\t\"phones\":null,\r\n\t\t\"emails\":null\r\n\t},\r\n\t\"status\":\"rejected\",\r\n\t\"reason\":\"Algunas secciones no son legibles\"\r\n}\r\n```\r\n\r\n**POST /api/incletter**"
					},
					"response": [
						{
							"name": "Successful upload of Inc Letter",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/x-www-form-urlencoded",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"description": "The file to be uploaded",
											"type": "file",
											"src": []
										},
										{
											"key": "data",
											"value": "{\"callback_url\":\"https://webhook.site/973d8dee-357e-4c61-b93c-390e1d822123\"}",
											"description": "JSON Key: callback_url and URL to Endpoint",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "https://efirma.com/api/incletter",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"incletter"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Thu, 30 Jan 2020 00:27:22 GMT"
								},
								{
									"key": "Content-Length",
									"value": "52"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"5e3222eaaa4700975a426dfe\",\n    \"status\": \"success\"\n}"
						}
					]
				},
				{
					"name": "Verify ID Card",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "Multipart/Form",
									"type": "file",
									"src": "/Users/Downloads/ife.png"
								}
							],
							"options": {
								"formdata": {}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/idcard/verify",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"idcard",
								"verify"
							]
						},
						"description": "### Documento de identidad expedido por el Instituto Nacional/Federal Electoral (INE/IFE): \r\nUtilizando algoritmos de reconocimiento de imagen y extracción de datos podemos obtener los datos por separado de:\r\n1. Nombre\r\n2. Apellidos\r\n3. CURP\r\n4. Fecha de Nacimiento\r\n5. Clave de Elector\r\n6. Folio de identificación\r\n7. Dirección\r\n8. Estado\r\n9. Municipio\r\n10. Localidad Electoral\r\n11. Sección Electoral\r\n12. Fecha de Emisión de la identificación.\r\n13. Fecha de Vigencia de la identificación.\r\n\r\n**POST /api/idcard/verify**"
					},
					"response": [
						{
							"name": "Successful Front IFE",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": []
										}
									]
								},
								"url": {
									"raw": "https://efirma.com/api/idcard/verify",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"idcard",
										"verify"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Thu, 30 Jan 2020 00:39:02 GMT"
								},
								{
									"key": "Content-Length",
									"value": "651"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"5e3225a6aa4700975a426e02\",\n    \"v\": false,\n    \"MRPZData\": {\n        \"IdCardType\": \"\",\n        \"CIC\": \"\",\n        \"IdCardFolium\": \"\",\n        \"Name\": \"\",\n        \"Nationality\": \"\",\n        \"OptCode\": \"\",\n        \"Birth\": \"\",\n        \"Sex\": \"\",\n        \"Expiration\": \"\"\n    },\n    \"c\": \"FARC61XX01HSRZXX04\",\n    \"ce\": \"FZRVCRX1030XX6H600\",\n    \"Name\": \"Carlos Rxxxx\",\n    \"Lname\": \"Fxx Rxxxxs\",\n    \"Address\": \"RTNO XXXX 14, RDCIAL CASA XXX, HERMOSILLO, SON.\",\n    \"ParsedAddress\": {\n        \"street\": \"RTNO XXXX 14\",\n        \"number\": \"\",\n        \"interior_number\": \"\",\n        \"colony\": \"RDCIAL CASA XXX\",\n        \"municipality\": \"HERMOSILLO\",\n        \"state\": \"SONORA\",\n        \"zip\": \"XXXX\"\n    },\n    \"Estado\": \"26\",\n    \"Municipio\": \"049\",\n    \"Localidad\": \"0001\",\n    \"Seccion\": \"0499\",\n    \"Emision\": \"2019\",\n    \"Vigencia\": \"2029\",\n    \"d\": \"\",\n    \"classification\": \"idcard_front\"\n}"
						},
						{
							"name": "Successful Back INE",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": []
										}
									]
								},
								"url": {
									"raw": "https://efirma.com/api/idcard/verify",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"idcard",
										"verify"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Thu, 30 Jan 2020 00:42:13 GMT"
								},
								{
									"key": "Content-Length",
									"value": "640"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": \"5e322665aa4700975a426e04\",\n    \"v\": false,\n    \"MRPZ\": [\n        \"IDMEX1XXXXXXXX0<<0XXXXX06XXX4\",\n        \"6103017XXX29XXXXXMEX<03<<07674<4\",\n        \"XXX<XXXX<<CARLOS<XXXXX<<<<<\"\n    ],\n    \"MRPZData\": {\n        \"IdCardType\": \"IDMEX\",\n        \"CIC\": \"1XXXXXXX0\",\n        \"IdCardFolium\": \"0XXXXXXXX4\",\n        \"Name\": \"\",\n        \"Nationality\": \"MEX\",\n        \"OptCode\": \"<03<<07674<\",\n        \"Birth\": \"610301\",\n        \"Sex\": \"H\",\n        \"Expiration\": \"291231\"\n    },\n    \"c\": \"\",\n    \"ce\": \"\",\n    \"Folio\": \"0XXXXXX4\",\n    \"CIC\": \"18XXXXXX0\",\n    \"ParsedAddress\": {\n        \"street\": \"\",\n        \"number\": \"\",\n        \"interior_number\": \"\",\n        \"colony\": \"\",\n        \"municipality\": \"\",\n        \"state\": \"\",\n        \"zip\": \"\"\n    },\n    \"d\": \"\",\n    \"classification\": \"idcard_back\"\n}"
						},
						{
							"name": "Error",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": "/Users/Desktop/Screen Shot 2020-02-05 at 1.51.57 PM.png"
										}
									]
								},
								"url": {
									"raw": "https://efirma.com/api/idcard/verify",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"idcard",
										"verify"
									]
								}
							},
							"status": "Payment Required",
							"code": 402,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Thu, 30 Jan 2020 00:32:13 GMT"
								},
								{
									"key": "Content-Length",
									"value": "135"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"No fué posible extraer los datos de la parte inferior de la credencial, reajusta el marco de la imagen.\",\n    \"status\": \"error\"\n}"
						},
						{
							"name": "Error de clasificacion de documento",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": "/Users/Desktop/Screen Shot 2020-02-05 at 1.51.57 PM.png"
										}
									]
								},
								"url": {
									"raw": "https://efirma.com/api/idcard/verify",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"idcard",
										"verify"
									]
								}
							},
							"status": "Payment Required",
							"code": 402,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Fri, 07 Feb 2020 19:22:01 GMT"
								},
								{
									"key": "Content-Length",
									"value": "141"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Error clasificando documento, intenta con una imagen de mejor calidad, nítida, sin flash, brillos o reflejos.\",\n    \"status\": \"error\"\n}"
						}
					]
				},
				{
					"name": "Verify Cedula Fiscal",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "Multipart/Form",
									"description": "IMAGEN",
									"type": "file",
									"src": []
								}
							]
						},
						"url": {
							"raw": "{{efirma_url}}/api/taxidletter",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"taxidletter"
							]
						},
						"description": "Utilizando algoritmos de reconocimiento de imagen y extracción de datos podemos obtener los datos por separado de:\n\n1. Nombre\n2. CURP\n3. RFC \n4. Status\n5. Email\n6. Regimen\n7. Direccioón\n8. URL del SAT\n\n`POST /api/taxidletter`"
					},
					"response": [
						{
							"name": "Respuesta",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": "/Users/Desktop/Screen Shot 2020-02-05 at 1.51.57 PM.png"
										}
									]
								},
								"url": {
									"raw": "https://efirma.com/api/idcard/verify",
									"protocol": "https",
									"host": [
										"efirma",
										"com"
									],
									"path": [
										"api",
										"idcard",
										"verify"
									]
								}
							},
							"status": "Payment Required",
							"code": 402,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Fri, 07 Feb 2020 19:22:01 GMT"
								},
								{
									"key": "Content-Length",
									"value": "141"
								}
							],
							"cookie": [],
							"body": "{\n\t\"name\": \"XXXXXXXXX\",\n\t\"curp\": \"\",\n\t\"rfc\": \"XXXXXXXXX\",\n\t\"status\": \"XXXXXXXXX\",\n\t\"email\": \"XXXXXXXXX@XXXXXXXXX.com\",\n\t\"class\": \"XXXXXXXXX\",\n\t\"address\": {\n\t\t\"street\": \"XXXXXXXXX\",\n\t\t\"number\": \"XXXXXXXXX\",\n\t\t\"interior_number\": \"\",\n\t\t\"colony\": \"XXXXXXXXX XXXXXXXXX\",\n\t\t\"municipality\": \"XXXXXXXXX\",\n\t\t\"state\": \"XXXXXXXXX\",\n\t\t\"zip\": \"XXXXXXXXX\"\n\t},\n\t\"sat_url\": \"https://siat.sat.gob.mx/a/XXXXXXXXX\"\n}"
						}
					]
				},
				{
					"name": "Validate Address",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"type": "text",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "Multipart/Form",
									"type": "file",
									"src": "/Users/Documents/Personal/Documentos Personales/COMPROBANTE DOMICILIO.PDF"
								},
								{
									"key": "data",
									"value": "{\"callback_url\":\"https://exmaple.com/post\"}",
									"type": "text"
								}
							],
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{efirma_url}}/api/kyc/upload-address-voucher",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"kyc",
								"upload-address-voucher"
							]
						},
						"description": "Utilizando algoritmos de reconocimiento de imagen y extracción de datos podemos obtener los datos de un comprobante de COMISION FEDERAL DE ELECTRICIDAD CFE:\n\nLa respuesta generada por este metodo no sera inmediata por lo que se le solicitara un endpoint/webhook/callback a donde enviarle la informacion procesada.\n\n1. Calle\n2. Número externo\n3. Número interno\n4. Colonia\n5. Municipio\n6. Estado\n7. Código Postal\n8. Identificador de Medidor\n9. Número de Contrato\n\n**POST /api/kyc/upload-address-voucher**"
					},
					"response": [
						{
							"name": "Cuerpo enviado al callback",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"type": "text",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "Multipart/Form",
											"type": "file",
											"src": "/Users/Documents/Personal/Documentos Personales/COMPROBANTE DOMICILIO.PDF"
										},
										{
											"key": "data",
											"value": "{\"callback_url\":\"{{efirma_url}}/postTest\"}",
											"type": "text"
										}
									],
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{efirma_url}}/api/kyc/upload-address-voucher",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"kyc",
										"upload-address-voucher"
									]
								}
							},
							"status": "Bad Request",
							"code": 400,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:41:12 GMT"
								},
								{
									"key": "Content-Length",
									"value": "81"
								}
							],
							"cookie": [],
							"body": "\n{\n\t\"address_voucher\":{\n\t\t\"address_data\":{\n\t\t\t\"street\":\"\",\n\t\t\t\"number\":\"\",\n\t\t\t\"interior_number\":\"\",\n\t\t\t\"colony\":\"\",\n\t\t\t\"municipality\":\"\",\n\t\t\t\"state\":\"\",\n\t\t\t\"zip\":\"\"\n\t\t},\n\t\t\"date_time\":\"0001-01-01T00:00:00Z\",\n\t\t\"reason\":\"razon de rechazo\",\n\t\t\"id\":\"\"\n\t},\n\t\"verified\":true,\n\t\"status\":\"Rejected\",\n\t\"reason\":\"razon de rechazo\"\n}\n\t"
						}
					]
				},
				{
					"name": "Get KYC Requests",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "X-eFirma-Auth",
								"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{efirma_url}}/api/kyc/requests/",
							"host": [
								"{{efirma_url}}"
							],
							"path": [
								"api",
								"kyc",
								"requests",
								""
							]
						},
						"description": "Listado de todos las solicitudes de KYC.\n\n**GET /api/kyc/requests/**"
					},
					"response": [
						{
							"name": "Get KYC Requests",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "X-eFirma-Auth",
										"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{efirma_url}}/api/kyc/requests/",
									"host": [
										"{{efirma_url}}"
									],
									"path": [
										"api",
										"kyc",
										"requests",
										""
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Date",
									"value": "Wed, 05 Aug 2020 00:44:48 GMT"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								}
							],
							"cookie": [],
							"body": "[\n    {\n        \"index\": 0,\n        \"formfill_link\": \"https://efirma.com/panel/kyc-form?r=XXXXXXXXX&at=XXXXXXXXX&ae=xxxx@organizacion.org\",\n        \"documents_download_link\": \"https://efirma.com/kyc-documents/XXXXXXXXX3\",\n        \"download_pdf_report\": \"https://efirma.com/kyc-report/XXXXXXXXX\",\n        \"kyc-request\": {\n            \"Id\": \"XXXXXXXXX\",\n            \"RequesterId\": \"XXXXXXXXX\",\n            \"OrganizationRequesterId\": \"XXXXXXXXX\",\n            \"RequestedId\": \"XXXXXXXXX\",\n            \"Type\": \"p\",\n            \"Filler\": \"requester\",\n            \"Requirements\": {\n                \"idcard\": true,\n                \"passport\": true,\n                \"fmcard\": true\n            },\n            \"OpenEmail\": {\n                \"Notified\": \"2020-07-23T17:45:53.293Z\",\n                \"Timestamp\": \"0001-01-01T00:00:00Z\"\n            },\n            \"LastOpen\": \"2020-07-23T17:45:53.373Z\",\n            \"TrackIPs\": [\n                {\n                    \"IPInfo\": \"XXXXXXXXX\",\n                    \"TimeStamp\": \"2020-07-23T17:45:53.373Z\"\n                }\n            ],\n            \"Description\": \"\",\n            \"Documents\": {\n                \"IdCard\": \"XXXXXXXXX\",\n                \"Passport\": \"\",\n                \"FMCard\": \"\",\n                \"BirthCertificate\": \"\",\n                \"TaxId\": \"\",\n                \"IncLetter\": \"\",\n                \"Address\": \"\",\n                \"ProCard\": \"\",\n                \"DigitalSignature\": \"\",\n                \"ElectronicSignature\": \"\",\n                \"VideoProof\": \"\"\n            },\n            \"Report\": {\n                \"individual\": {\n                    \"name\": \"Isabel\",\n                    \"lname\": \"Ulloa\",\n                    \"fname\": \"Isabel Ulloa\",\n                    \"uid\": \"GUI6XXXXXXXXXLS04\",\n                    \"taxid\": \"GUXXXXXXXXX0\",\n                    \"birth_year\": \"70\",\n                    \"birth_month\": \"01\",\n                    \"birth_day\": \"01\",\n                    \"sex\": \"F\",\n                    \"nationality\": \"MEX\",\n                    \"addresses\": [\n                        {\n                            \"street\": \"XXXXXXXXX\",\n                            \"number\": \"\",\n                            \"interior_number\": \"\",\n                            \"colony\": \"XXXXXXXXX\",\n                            \"municipality\": \"XXXXXXXXX\",\n                            \"state\": \"XXXXXXXXX\",\n                            \"zip\": \"XXXXXXXXX\"\n                        }\n                    ],\n                    \"emails\": [\n                        \"xxxc@example.org\"\n                    ],\n                    \"father\": {},\n                    \"mother\": {},\n                    \"cedulas\": [\n                        {\n                            \"anioreg\": 1987,\n                            \"desins\": \"UNIVERSIDAD DE XXXXXXXXX\",\n                            \"idCedula\": \"XXXXXXXXX\",\n                            \"titulo\": \"LICENCIATURA EN DERECHO\"\n                        }\n                    ]\n                }\n            },\n            \"CallbackUrl\": \"\",\n            \"ReturnUrl\": \"\"\n        }\n    },\n    {\n        \"index\": 1,\n        \"formfill_link\": \"https://efirma.com/panel/kyc-form?r=XXXXXXXXX&at=XXXXXXXXX&ae=xxxx@organizacion.org\",\n        \"documents_download_link\": \"https://efirma.com/kyc-documents/XXXXXXXXX3\",\n        \"download_pdf_report\": \"https://efirma.com/kyc-report/XXXXXXXXX\",\n        \"kyc-request\": {\n            \"Id\": \"XXXXXXXXX\",\n            \"RequesterId\": \"XXXXXXXXX\",\n            \"OrganizationRequesterId\": \"XXXXXXXXX\",\n            \"RequestedId\": \"XXXXXXXXX\",\n            \"Type\": \"p\",\n            \"Filler\": \"requester\",\n            \"Requirements\": {\n                \"idcard\": true,\n                \"passport\": true,\n                \"fmcard\": true\n            },\n            \"OpenEmail\": {\n                \"Notified\": \"2020-07-23T17:45:53.293Z\",\n                \"Timestamp\": \"0001-01-01T00:00:00Z\"\n            },\n            \"LastOpen\": \"2020-07-23T17:45:53.373Z\",\n            \"TrackIPs\": [\n                {\n                    \"IPInfo\": \"XXXXXXXXX\",\n                    \"TimeStamp\": \"2020-07-23T17:45:53.373Z\"\n                }\n            ],\n            \"Description\": \"\",\n            \"Documents\": {\n                \"IdCard\": \"XXXXXXXXX\",\n                \"Passport\": \"\",\n                \"FMCard\": \"\",\n                \"BirthCertificate\": \"\",\n                \"TaxId\": \"\",\n                \"IncLetter\": \"\",\n                \"Address\": \"\",\n                \"ProCard\": \"\",\n                \"DigitalSignature\": \"\",\n                \"ElectronicSignature\": \"\",\n                \"VideoProof\": \"\"\n            },\n            \"Report\": {\n                \"individual\": {\n                    \"name\": \"Isabel\",\n                    \"lname\": \"Ulloa\",\n                    \"fname\": \"Isabel Ulloa\",\n                    \"uid\": \"GUI6XXXXXXXXXLS04\",\n                    \"taxid\": \"GUXXXXXXXXX0\",\n                    \"birth_year\": \"70\",\n                    \"birth_month\": \"01\",\n                    \"birth_day\": \"01\",\n                    \"sex\": \"F\",\n                    \"nationality\": \"MEX\",\n                    \"addresses\": [\n                        {\n                            \"street\": \"XXXXXXXXX\",\n                            \"number\": \"\",\n                            \"interior_number\": \"\",\n                            \"colony\": \"XXXXXXXXX\",\n                            \"municipality\": \"XXXXXXXXX\",\n                            \"state\": \"XXXXXXXXX\",\n                            \"zip\": \"XXXXXXXXX\"\n                        }\n                    ],\n                    \"emails\": [\n                        \"xxxc@example.org\"\n                    ],\n                    \"father\": {},\n                    \"mother\": {},\n                    \"cedulas\": [\n                        {\n                            \"anioreg\": 1987,\n                            \"desins\": \"UNIVERSIDAD DE XXXXXXXXX\",\n                            \"idCedula\": \"XXXXXXXXX\",\n                            \"titulo\": \"LICENCIATURA EN DERECHO\"\n                        }\n                    ]\n                }\n            },\n            \"CallbackUrl\": \"\",\n            \"ReturnUrl\": \"\"\n        }\n    }\n]"
						}
					]
				}
			],
			"description": "# Si le interesa obtener la licencia KYC, porfavor comuniquese con un vendedor.",
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"id": "d1b7ff54-207a-4527-b2a0-05a86d125cef",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"id": "e7945e8a-e426-464a-99d0-86ed64c7e13c",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			],
			"protocolProfileBehavior": {}
		},
		{
			"name": "Objetos",
			"item": [],
			"description": "# Se hace un listado de los diferentes tipos de objetos mencionados en la documentación\n---\n\n#### Objeto Document\n\n| Nombre        | Tipo          | Descripcion  |\n| ------------- |:-------------:| -----|\n| **id**      | `String` | El id único del documento. |\n| **name**      |`String`       |   El nombre del documento. |\n| **createdat** | `Date`      | Fecha en que el documento.|\n|**hash**|`String`|El hash del documento original (documento sin firmar).|\n|**owner**|`String`|El email de la cuenta que creó el documento.|\n|**users**|`[ ]User`|Una lista de objetos del tipo **User** en formato JSON.|\n|**signatures**|`[ ]Signature`|Una lista de objetos del tipo **Signature**.|\n|**fully_signed**|`Bool`|Indica si el documento ha sido firmado por todos los firmantes.|\n|**callback_url**|`String`|URL a la cual se hará una llamada notificando cuando un usuario tome una acción en el documento.|\n|**return_url**|`String`|URL para redirigir al usuario una vez que se firme el documento|\n|**reject_url**|`String`|URL para redirigir al usuario en caso de que decida rechazar el documento.|\n|**original_file**|`String`|URL que permite descargar el documento original.|\n|**signed_file**|`String`|URL que permite descargar el documento con las firmas.|\n|**merged_file**|`String`|URL que permite descargar el documento original junto con la constancia de las firmas.|\n\n---\n\n#### Objeto User\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **email**| `String` | El correo electrónico del usuario. |\n|**type**| `String` | El permiso del usuario sobre el documento, hay 2 valores posibles **signer** o **observer**. |\n|**access_token**| `String` | El token para acceder al documento previa la validacion del usuario. |\n|**iframe_url**| `String` | Una **URL** que permitirá montar el documento en un iFrame. |\n\n---\n\n#### Objeto Organizacion\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **names** | `[ ]String` | Los nombres por los que se puede llamar a la organizacion |\n| **rfc** | `String` |El RFC siendo validado |\n| **active_esignature** |`Bool` |Status de los certificados de facturacion de la empresa|\n| **Certificates** |`[ ]Certificados` |Lista de certificados involucrados.|\n\n---\n\n#### Objeto Certificados\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **owner** | `String` | Curp de los dueños del RFC|\n| **serial** | `String` |El RFC siendo validado |\n| **active** | `Bool` |Status de los certificados de facturacion de la empresa|\n\n*Puede aparecer el mismo RFC varias veces con diferentes seriales, esto significa que han sido certificados que han vencido.*\n\n\n---\n\n#### Objeto Signature\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **email**| `String` | El correo electrónico del usuario. |\n|**name**| `String` | Nombre del Firmante *Aparecerá cuando ya tenga cuenta en eFirma.* |\n|**lname**| `String` |Apellido del Firmante *Aparecerá cuando ya tenga cuenta en eFirma.* |\n|**signature_type**| `Integer` | **1**:**Firma Electrónica Avanzada**, **2**:**Firma Digital**  |\n|**signed**| `Bool` | Nos indica si el usuario ya firmo el documento |\n\n---\n\n#### Objeto Plantilla\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **id**| `String` |El id único de la plantilla en nuestro sistemas.|\n| **ref**| `String` | El nombre de referencia del documento.|\n| **custom_fields**| `CustomField` | Una lista de objetos del tipo `CustomField` en formato JSON.|\n| **autosigner**| `[ ]Object` | Un listado de los autofirmantes dados de alta para la plantilla. *Los autofirmantes seran solicitados la firma de la plantilla y una vez firmada; cada documento generado a partir de la misma, se firmará por ellos de manera automática.*|\n\n---\n\n#### Objeto CustomField\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **name**| `String` |El nombre de la variable utilizado en la plantilla.|\n| **fname**| `String` |El nombre amistoso, se mostrara para el llenado en la plataforma. *Suele ser una pregunta ej:  ¿Como te llamas?*|\n| **type**| `String` |El tipo de campo. |\n| **Choices**| `[ ]String` |En caso de ser un campo de opción múltiple, se listan las opciones.|\n\n---\n\n#### Objeto AllowedIds\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **idcard**| `Bool` | Si es *true*, se permitirá la **CREDENCIAL IFE/INE** como evidencia.|\n| **passport**| `Bool` | Si es *true*, se permitirá un **PASAPORTE** como evidencia.|\n| **fmcard**| `Bool` |  Si es *true*, se permitirá la **CREDENCIAL MIGRATORIA** como evidencia.|\n\n---\n\n#### Objeto Requirements\n\n| Nombre        | Tipo de Dato           | Descripcion  |\n| ------------- |:-------------:| -----|\n| **idcard**| `Bool` | Si es *true*, se solicitará la **CREDENCIAL IFE/INE** como evidencia.|\n| **passport**| `Bool` | Si es *true*, se solicitará un **PASAPORTE** como evidencia.|\n| **fmcard**| `Bool` |  Si es *true*, se solicitará la **CREDENCIAL MIGRATORIA** como evidencia.|\n| **birthcert**| `Bool` | Si es *true*, se solicitará acta de nacimiento.|\n| **taxid**| `Bool` | Si es *true*, se solicitará cedula fiscal.|\n| **incletter**| `Bool` |  Si es *true*, se solicitará el acta constitutiva *(Solo organizaciones.)*.|\n| **address**| `Bool` | Si es *true*, se solicitará comprobante de domicilio.|\n| **procard**| `Bool` | Si es *true*, se solicitará cedula profesional.|\n| **esignature**| `Bool` |  Si es *true* *(el campo **dsignature** deberá ser false)*, se solicitará firmar con firma electrónica avanzada.|\n| **dsignature**| `Bool` | Si es *true* *(el campo **esignature** deberá ser false)*, se solicitará firmar con firma digital.|\n|**(BETA)** **videoproof**| `Bool` | Si es *true*, se solicitará como evidencia una prueba de vida en video.|\n\n*La opcion videoproof esta en desarrollo continuo, no se garantiza el correcto funcionamiento. \n",
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"id": "218d9cef-d7a4-4937-9ea9-50374de7f25e",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"id": "f112f936-d4be-4a74-8cd5-5cf26490be80",
						"type": "text/javascript",
						"exec": [
							""
						]
					}
				}
			],
			"protocolProfileBehavior": {}
		}
	],
	"auth": {
		"type": "apikey",
		"apikey": [
			{
				"key": "value",
				"value": "{\"uid\":\"{{efirma_uid}}\",\"key\":\"{{efirma_key}}\"}",
				"type": "string"
			},
			{
				"key": "key",
				"value": "X-eFirma-Auth",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"id": "b8751607-acd6-46b9-b274-d04d0e4916b1",
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"id": "63481d70-8edc-4b14-a1e6-67e9520689ad",
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"id": "bb7ea8f3-5ab6-4c94-97d5-932d71a46295",
			"key": "efirma_url",
			"value": "https://efirma.com/"
		}
	],
	"protocolProfileBehavior": {}
}