1. Home
  2. SW API´S
  3. API Certificados

API Certificados

API para gestionar los certificados CSD de tu cuenta, será posible cargar, consultar y eliminar los certificados.
Para administrar los certificados de manera gráfica, puede hacerlo desde el Administrador de timbres.

🛠 Url Pruebas : https://services.test.sw.com.mx

🧰 Url Producción : https://services.sw.com.mx

Consultar Certificados

Servicio para consultar todos los certificados cargados en la cuenta.

Endpoint

MétodoRuta
GET /certificates

Autenticación y Headers

HeaderValue
AuthorizationBearer Token

Ejemplo Request

curl --request GET \
  --url https://services.test.sw.com.mx/certificates \
  --header 'Authorization: Bearer $token'

Ejemplo Response

Response Ok
{
    "data": [
        {
            "issuer_rfc": "EKU9003173C9",
            "certificate_number": "30001000000400002434",
            "csd_certificate": "MIIFuzCCA6OgAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDI0MzQwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNjE3MTk0NDE0WhcNMjMwNjE3MTk0NDE0WjCB4jEnMCUGA1UEAxMeRVNDVUVMQSBLRU1QRVIgVVJHQVRFIFNBIERFIENWMScwJQYDVQQpEx5FU0NVRUxBIEtFTVBFUiBVUkdBVEUgU0EgREUgQ1YxJzAlBgNVBAoTHkVTQ1VFTEEgS0VNUEVSIFVSR0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x96sNnB03n6GTwjIGz92SmLdNl95r9rkvp+2m4S6q1lPuXaFg7DGBrXWC8iyqeWE2iobdwIIuXPTMVqQb12m1dAkJVRO5NdHnP/MpqOvOgLqoZBNHGyBg4Gqm4sCJHCxA1c8Elfa2RQTCk0tAzllL4vOnI1GHkGJn65xokGsaU4B4D36xh7eWrfj4/pgWHmtoDAYa8wzSwo2GVCZOs+mtEgOQB91/g==",
            "is_active": true,
            "issuer_business_name": "ESCUELA KEMPER URGATE SA DE CV",
            "valid_from": "2019-06-17T14:44:14",
            "valid_to": "2023-06-17T14:44:14",
            "certificate_type": "stamp"
        },
        {
            "issuer_rfc": "FUNK671228PH6",
            "certificate_number": "30001000000400002321",
            "csd_certificate": "MIIFijCCA3KgAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDIzMjEwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNTI5MTcxNzQwWhcNMjMwNTI5MTcxNzQwWjCBsTEdMBsGA1UEAxMUS0FSTEEgRlVFTlRFIE5PTEFTQ08xHTAbBgNVBCkTFEtBUkxBIEZVRU5URSBOT0xBU0NPMR0wGwYDVQQKExRLQVJMQSBGVUVOVEUgTk9MQVNDTzEWMBQGA1UELRMNRlVOSzY3MTIy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36MFq+O6ERIlVqD/sVcypU2mEEjqRypP8lu6qO6oUo1lt91TqqBLjFz1dIN9B4o+vpikUlCJldOSvhHNtwmg/lgepxR9P2RYJhH5xz+6tlM1/Fs9SAYY52g6nqMmxcddfMNQKp15u0DW5ue+4F5m",
            "is_active": true,
            "issuer_business_name": "KARLA FUENTE NOLASCO",
            "valid_from": "2019-05-29T12:17:40",
            "valid_to": "2023-05-29T12:17:40",
            "certificate_type": "stamp"
        },
        {
            "issuer_rfc": "OÑO120726RX3",
            "certificate_number": "30001000000400002464",
            "csd_certificate": "MIIF7DCCA9SgAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDI0NjQwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNjIwMjA1ODE3WhcNMjMwNjIwMjA1ODE3WjCCARIxMzAxBgNVBAMUKk9SR0FOSUNPUyDRQVZFWiBPU09SSU8gUy5BIERFIEMuViBTQSBERSBDVjEzMDEGA1UEKRQqT1JHQU5JQ09TINFBVkVaIE9TT1JJTyBTLkEgREUgQy5WIFNBIERFIENWMTMwMQYDVQQKFCpPUkdBTklDT1Mg0UFWRVogT1NPUklPIFMuQSBERSBDLlYgU0EgREUgQ1YxJTAjBgNVBC0UHE/RTzEyMDcy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ZDYdqbaaB1qlw7hMFcdC3QQDmfWs411aM7ATqkkErikDXzZkgOJnViJnLWCLMIY6vOWcbQRN7F16mwPHH7civY++DvqfdNxhwKnmgnw3DQV7OtXaWR+W+Q4/WcBZYiMRKIfOmj44HfiLnqEnx7Lije8q7tLU7bKPgAZN4IA5+lHxw3MqFrf1NAYPjhp8MD4zmQ=",
            "is_active": true,
            "issuer_business_name": "ORGANICOS ÑAVEZ OSORIO S.A DE C.V SA DE CV",
            "valid_from": "2019-06-20T15:58:17",
            "valid_to": "2023-06-20T15:58:17",
            "certificate_type": "stamp"
        },
        {
            "issuer_rfc": "RAQÑ7701212M3",
            "certificate_number": "30001000000400002453",
            "csd_certificate": "MIIFkDCCA3igAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDI0NTMwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNjE3MjMzMzI1WhcNMjMwNjE3MjMzMzI1WjCBtzEeMBwGA1UEAxQV0UVWRVMgUkFNSVJFWiBRVUVaQURBMR4wHAYDVQQpFBXRRVZFUyBSQU1JUkVaIFFVRVpBREExHjAcBgNVBAoUFdFFVkVTIFJBTUlSRVogUVVFWkFEQTEWMBQGA1UELRQNUkFR0Tc3MDEyMTJNMzEb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Ji9Nh4Qi/0o6HPfvnW7dMDlmBpTENgeur5EHWmRtIiy1L7xFRxTYlgsSdInwPP+V8HTuGEEMYhRzqvqOtbo63IItO7fXArfByYPL3EctYW/1u0sq+wS/muBbIunC+8YsMpoB",
            "is_active": false,
            "issuer_business_name": "ÑEVES RAMIREZ QUEZADA",
            "valid_from": "2019-06-17T18:33:25",
            "valid_to": "2023-06-17T18:33:25",
            "certificate_type": "stamp"
        },
        {
            "issuer_rfc": "RAQÑ7701212M3",
            "certificate_number": "30001000000400002448",
            "csd_certificate": "MIIFjjCCA3agAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDI0NDgwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNjE3MjExMTA5WhcNMjMwNjE3MjExMTA5WjCBtTEeMBwGA1UEAxQV0UVWRVMgUkFNSVJFWiBRVUVaQURBMR4wHAYDVQQpFBXRRVZFUyBSQU1JUkVaIFFVRVpBREExHjAcBgNVBAoUFdFFVkVTIFJBTUlSRVogUVVFWkFEQTEWMBQGA1UELRQNUkFR0Tc3MDEyMTJNMzEbMBkGA1UEBRMSUkFRTjc3MDEyMUhERk1aVjA4MR4wHAYDVQQLFBXRRVZFUyBSQU1JUkVaIFFVRVpBREEwggE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DC1ZB1VFOFM6oqD/0qDWmxzwZf1fXHZYPP4e1lIcRYxuu+ZZpQoj1kHXG7y4g==",
            "is_active": true,
            "issuer_business_name": "ÑEVES RAMIREZ QUEZADA",
            "valid_from": "2019-06-17T16:11:09",
            "valid_to": "2023-06-17T16:11:09",
            "certificate_type": "stamp"
        },
        {
            "issuer_rfc": "XIA190128J61",
            "certificate_number": "30001000000400002443",
            "csd_certificate": "MIIFyDCCA7CgAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDI0NDMwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNjE3MjA0MDUxWhcNMjMwNjE3MjA0MDUxWjCB7zEqMCgGA1UEAxMhWEVOT04gSU5EVVNUUklBTCBBUlRJQ0xFUyBTIERFIENWMSowKAYDVQQpEyFYRU5PTiBJTkRVU1RSSUFMIEFSVElDTEVTIFMgREUgQ1YxKjAoBgNVBAoTIVhFTk9OIElORFVTVFJJQUwgQVJUSUNMRVMgUyBERSBDVjElMCMGA1UELRMcWElBMTkwMTI4SjYxIC8gS0FITzY0MTEwMUIzOTEeMBwGA1UEBRMVIC8gS0FITzY0MTEwMUhOVExLUzA2MSIwIAYDVQQLExlYZW5vbiBJbmR1c3RyaWFsIEFydGljbG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QAhcz+EKyZBAewv5XuH0OomZXw6mM2mY2soL6z1224NusM8/BbJcYTQUlAEKblEChhGK1XlxiVOU2nc9KE=",
            "is_active": true,
            "issuer_business_name": "XENON INDUSTRIAL ARTICLES S DE CV",
            "valid_from": "2019-06-17T15:40:51",
            "valid_to": "2023-06-17T15:40:51",
            "certificate_type": "stamp"
        }
    ],
    "status": "success"
}
Response Error
{
    "data": [],
    "status": "success"
}

Consultar Certificado Por NoCertificado

Servicio para obtener un certificado cargado enviando como parámetro el número de certificado.

Endpoint

MétodoRuta
GET /certificates/{noCertificado}

Autenticación y Headers

HeaderValue
AuthorizationBearer Token

Parámetros Path

PropiedadDescripción
noCertficado Número de certificado a obtener

Ejemplo Request

curl --request GET \
  --url https://services.test.sw.com.mx/certificates/30001000000400002321 \
  --header 'Authorization: Bearer $token'

Ejemplo Response

Response Ok
{
    "data": {
        "issuer_rfc": "CACX7605101P8",
        "certificate_number": "30001000000400002335",
        "csd_certificate": "MIIFijCCA3KgAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDIzMzUwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRpejEOMAwGA1UEEQwFMDYzNzAxCzAJBgNVBAYTAk1YMRkwFwYDVQQIDBBDSVVEQUQgREUgTUVYSUNPMREwDwYDVQQHDAhDT1lPQUNBTjERMA8GA1UELRMIMi41LjQuNDUxJTAjBgkqhkiG9w0BCQITFnJlc3BvbnNhYmxlOiBBQ0RNQS1TQVQwHhcNMTkwNTI5MTk1MDAxWhcNMjMwNTI5MTk1MDAxWjCBsTEdMBsGA1UEAxMUWE9DSEl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d669QWzgIusT7KLwlFhKm+a+9dmE2lp0WUj2QH0drJdfSuvqA9ZIu3I0yvnpUT0jlun0PZyoloTOd5X+8z2kLSAxbZaOu9I4XATcwZntZK0FIueh4Htom524ne/MNp6nEXzpxV4HPiW626VoykB4AHJwIp7ljcg8D4IJ7oIF/0UEduwbsx3amAfDeg/9YtPRC4j5M0h3l7zLcJ2/BFwr8qYM74d0v00Hm4msirCPkE+kr58oL1NjwN7vvPA96HbSeBohH+f/X8FcZ965FhmjmZWgj0W",
        "is_active": false,
        "issuer_business_name": "XOCHILT CASAS CHAVEZ",
        "valid_from": "2019-05-29T14:50:01",
        "valid_to": "2023-05-29T14:50:01",
        "certificate_type": "stamp"
    },
    "status": "success"
}
Response Error
{
    "message": "Certificados",
    "messageDetail": "No se encontro certificado con el numero de certificado 3000100000040000233 activo.",
    "data": null,
    "status": "error"
}

Consultar Certificado Por RFC

Servicio para obtener un certificado cargado enviando como parámetro el RFC del contribuyente.

Endpoint

MétodoRuta
GET /certificates/rfc/{rfc}

Autenticación y Headers

HeaderValue
AuthorizationBearer Token

Parámetros Path

PropiedadDescripción
rfc RFC del contribuyente a consultar

Ejemplo Request

curl --request GET \
  --url https://services.test.sw.com.mx/certificates/rfc/EKU9003173C9 \
  --header 'Authorization: Bearer $token'

Ejemplo Response

Response Ok
{
    "data": [
        {
            "issuer_rfc": "EKU9003173C9",
            "certificate_number": "30001000000400002434",
            "csd_certificate": "MIIFuzCCA6OgAwIBAgIUMzAwMDEwMDAwMDA0MDAwMDI0MzQwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWRp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5rpeCZP5Dw504RZkYDl2suRz+wa1sNBVpbnBJEK0fQcN3IftBwsgNFdFhUtCyw3lus1SSJbPxjLHS6FcZZ51YSeIfcNXOAuTqdimusaXq15GrSrCOkM6n2jfj2sMJYM2HXaXJ6rGTEgYmhYdwxWtil6RfZB+fGQ/H9I9WLnl4KTZUS6C9+NLHh4FPDhSk19fpS2S/56aqgFoGAkXAYt9Fy5ECaPcULIfJ1DEbsXKyRdCv3JY89+0MNkOdaDnsemS2o5Gl08zI4iYtt3L40gAZ60NPh31kVLnYNsmvfNxYyKp+AeJtDHyW9w7ftM0Hoi+BuRmcAQSKFV3pk8j51la+jrRBrAUv8blbRcQ5BiZUwJzHFEKIwTsRGoRyEx96sNnB03n6GTwjIGz92SmLdNl95r9rkvp+2m4S6q1lPuXaFg7DGBrXWC8iyqeWE2iobdwIIuXPTMVqQb12m1dAkJVRO5NdHnP/MpqOvOgLqoZBNHGyBg4Gqm4sCJHCxA1c8Elfa2RQTCk0tAzllL4vOnI1GHkGJn65xokGsaU4B4D36xh7eWrfj4/pgWHmtoDAYa8wzSwo2GVCZOs+mtEgOQB91/g==",
            "is_active": false,
            "issuer_business_name": "ESCUELA KEMPER URGATE SA DE CV",
            "valid_from": "2019-06-17T14:44:14",
            "valid_to": "2023-06-17T14:44:14",
            "certificate_type": "stamp"
        },
        {
            "issuer_rfc": "EKU9003173C9",
            "certificate_number": "30001000000500003416",
            "csd_certificate": "MIIFsDCCA5igAwIBAgIUMzAwMDEwMDAwMDA1MDAwMDM0MTYwDQYJKoZIhvcNAQELBQAwggErMQ8wDQYDVQQDDAZBQyBVQVQxLjAsBgNVBAoMJVNFUlZJQ0lPIERFIEFETUlOSVNUUkFDSU9OIFRSSUJVVEFSSUExGjAYBgNVBAsMEVNBVC1JRVMgQXV0aG9yaXR5MSgwJgYJKoZIhvcNAQkBFhlvc2Nhci5tYXJ0aW5lekBzYXQuZ29iLm14MR0wGwYDVQQJDBQzcmEgY2VycmFkYSBkZSBjYWxpejE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p7vleC6dIsZFNJoa6ZndrE/f7KO1CYruLXr5gwEkIyGfJ9NwyIagvHHMszzyHiSZIA850fWtbqtythpAliJ2jF35M5pNS+YTkRB+T6L/c6m00ymN3q9lT1rB03YywxrLreRSFZOSrbwWfg34EJbHfbFXpCSVYdJRfiVdvHnewN0r5fUlPtR9stQHyuqewzdkyb5jTTw02D2cUfL57vlPStBj7SEi3uOWvLrsiDnnCIxRMYJ2UA2ktDKHk+zWnsDmaeleSzonv2CHW42yXYPCvWi88oE1DJNYLNkIjua7MxAnkNZbScNw01A6zbLsZ3y8G6eEYnxSTRfwjd8EP4kdiHNJftm7Z4iRU7HOVh79/lRWB+gd171s3d/mI9kte3MRy6V8MMEMCAnMboGpaooYwgAmwclI2XZCczNWXfhaWe0ZS5PmytD/GDpXzkX0oEgY9K/uYo5V77NdZbGAjmyi8cE2B2ogvyaN2XfIInrZPgEffJ4AB7kFA2mwesdLOCh0BLD9itmCve3A1FGR4+stO2ANUoiI3w3Tv2yQSg4bjeDlJ08lXaaFCLW2peEXMXjQUk7fmpb5MNuOUTW6BE=",
            "is_active": true,
            "issuer_business_name": "ESCUELA KEMPER URGATE SA DE CV",
            "valid_from": "2023-05-18T05:43:51",
            "valid_to": "2027-05-18T05:43:51",
            "certificate_type": "stamp"
        }
    ],
    "status": "success"
}
Response Error
{
    "message": "Certificados",
    "messageDetail": "El Rfc proporcionado es invalido. Favor de verificar.",
    "data": null,
    "status": "error"
}

Cargar Certificado

Servicio para cargar un certificado, el cuál recibe el CSD en Base64.

Endpoint

MétodoRuta
POST /certificates/save

Autenticación y Headers

HeaderValue
AuthorizationBearer Token
Content-Type application/json

Parámetros JSON Body

PropiedadTipoUso Descripción
b64Cer string Requerido CSD en Base64
b64Key string Requerido Key en Base64
password string Requerido Contraseña del certificado
type string Requerido (Default = “stamp”) Tipo de certificado
is_active string Requerido (Default = “true”) Estado del certificado

Ejemplo Request

curl --request POST \
  --url https://services.test.sw.com.mx/certificates/save \
  --header 'Authorization: Bearer $token' \
  --header 'Content-Type: application/json' \
  --data '{    
"is_active":"true",    
"type":"stamp", 
"b64Key":"$b64Key",    
"b64Cer":"$b64Cer",    
"password":"12345678a"
}'

Ejemplo Response

Response Ok
{
    "data": "CSD Guardados Correctamente.",
    "status": "success"
}
Response Error
{
    "message": "Certificados",
    "messageDetail": "Te hacen falta archivos o el password esta vacio",
    "data": null,
    "status": "error"
}

Eliminar Certificado

Servicio para eliminar un certificado de la cuenta enviando como parámetro el número de certificado.

Endpoint

MétodoRuta
DELETE /certificates/{noCertificado}

Autenticación y Headers

HeaderValue
AuthorizationBearer Token

Parametros Path

PropiedadDescripción
noCertficado Número de certificado a eliminar

Ejemplo Request

curl --request DELETE \
  --url https://services.test.sw.com.mx/certificates/30001000000400002335 \
  --header 'Authorization: Bearer $token'

Ejemplo Response

Response Ok
{
    "data": "Certificado 30001000000400002448 desactivado.",
    "status": "success"
}
Response Error
{
    "message": "Certificados",
    "messageDetail": "One or more errors occurred.",
    "data": null,
    "status": "error"
}

En SW® somos mejores para TI, es por ello que tu opinión es muy importantepor favor ayúdanos calificando este articulo y dejando tus comentarios.

How useful was this post?

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Updated on noviembre 16, 2023

Related Articles