Skip to content

Certificados del RFC

Estos servicios permiten obtener el historico de los certificados asignados a un RFC en particular

Obtener todos los certificados del RFC

/api/v1/SAT/rfcs/{rfc}/certificados

Este servicio permite obtener todas las Constancias de Situación Fiscal almacenadas del RFC

URL

bash
    GET /api/v1/SAT/rfcs/{rfc}/certificados

Headers

Authorization: Bearer {token}

Accept: application/json

URL Params

InputTypeRequiredValues acceptableDefault
pageintegerfalse

Data Params

txt
    None

Respuestas Posibles

Success

Code: 200 Success

Content:

json
{
  "data": [
    {
      "id": 384,
      "rfc_id": 1,
      "serialNumber": "00001000000512652364",
      "urlCer": "https://rdc.sat.gob.mx/rccf/000010/000005/12/65/23/00001000000512652364.cer",
      "satType": "FIEL",
      "validFromString": "2022-04-25 20:04:35",
      "validToString": "2026-04-25 20:05:15",
      "valid": "Activo",
      "message": "OK",
      "codeHttp": 200,
      "created_at": "2024-08-02T19:47:12.000000Z",
      "updated_at": "2024-08-02T19:47:12.000000Z"
    },
    {
      "id": 385,
      "rfc_id": 1,
      "serialNumber": "00001000000411744560",
      "urlCer": "https://rdc.sat.gob.mx/rccf/000010/000004/11/74/45/00001000000411744560.cer",
      "satType": "FIEL",
      "validFromString": "2018-08-07 16:43:32",
      "validToString": "2022-04-25 20:04:35",
      "valid": "Revocado",
      "message": "OK",
      "codeHttp": 200,
      "created_at": "2024-08-02T19:47:12.000000Z",
      "updated_at": "2024-08-02T19:47:12.000000Z"
    }
  ],
  "links": {
    "first": "https://bridge.paladins.mx/api/v1/SAT/rfcs/RFC/certificados?page=1",
    "last": "https://bridge.paladins.mx/api/v1/SAT/rfcs/RFC/certificados?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "links": [
      {
        "url": null,
        "label": "« Previous",
        "active": false
      },
      {
        "url": "https://bridge.paladins.mx/api/v1/SAT/rfcs/RFC/certificados?page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "Next »",
        "active": false
      }
    ],
    "path": "https://bridge.paladins.mx/api/v1/SAT/rfcs/RFC/certificados",
    "per_page": 15,
    "to": 2,
    "total": 2
  }
}

Unauthorized

Code: 401 Unauthorized

Content:

json
{
  "message": "Unauthenticated."
}
Ejemplo con curl
bash
curl --location --request GET 'https://bridge.paladins.mx/api/v1/SAT/rfcs/{rfc}/certificados' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 3|jIoi6R40Kic8IkKtT7XQu4nUM78BqwqxTsPKtQGi67f00c2a'

Ver certificado

/api/v1/SAT/rfcs/{rfc}/certificados/{id}

Este servicio permite obtener los detalles de un certificado

URL

bash
    GET /api/v1/SAT/rfcs/{rfc}/certificados/{id}

Headers

Authorization: Bearer {token}

Accept: application/json

URL Params

InputTypeRequiredValues acceptableDefault
rfcstringtrue
idnumbertrue

Data Params

txt
    None

Respuestas Posibles

Success

Code: 200 Success

Content:

json
{
  "data": {
    "id": 384,
    "rfc_id": 1,
    "serialNumber": "00001000000512652364",
    "urlCer": "https://rdc.sat.gob.mx/rccf/000010/000005/12/65/23/00001000000512652364.cer",
    "satType": "FIEL",
    "validFromString": "2022-04-25 20:04:35",
    "validToString": "2026-04-25 20:05:15",
    "valid": "Activo",
    "message": "OK",
    "codeHttp": 200,
    "created_at": "2024-08-02T19:47:12.000000Z",
    "updated_at": "2024-08-02T19:47:12.000000Z"
  }
}

Not Found

Code: 404 Not Found

Content:

json
{
  "message": "Record not found"
}

Unauthorized

Code: 401 Unauthorized

Content:

json
{
  "message": "Unauthenticated."
}
Ejemplo con curl
bash
curl --location --request GET 'https://bridge.paladins.mx/api/v1/SAT/rfcs/{rfc}/certificados/9' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 3|jIoi6R40Kic8IkKtT7XQu4nUM78BqwqxTsPKtQGi67f00c2a'

Eliminar certificado

/api/v1/SAT/rfcs/{rfc}/certificados/{id}

Este servicio permite eliminar los detalles de un certificado almacenada

URL

bash
    DELETE /api/v1/SAT/rfcs/{rfc}/certificados/{id}

Headers

Authorization: Bearer {token}

Accept: application/json

URL Params

InputTypeRequiredValues acceptableDefault
rfcstringtrue
idnumbertrue

Data Params

txt
    None

Respuestas Posibles

Success

Code: 204 No Content

Content:

json

Not Found

Code: 404 Not Found

Content:

json
{
  "message": "Record not found"
}

Unauthorized

Code: 401 Unauthorized

Content:

json
{
  "message": "Unauthenticated."
}
Ejemplo con curl
bash
curl --location --request DELETE 'https://bridge.paladins.mx/api/v1/SAT/rfcs/{rfc}/certificados/9' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 3|jIoi6R40Kic8IkKtT7XQu4nUM78BqwqxTsPKtQGi67f00c2a'