个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Official OrigoID Go SDK — identity verification API for Mexico: CURP (RENAPO), INE voter list, RFC/CSF/CFDI (SAT), NSS (IMSS), OFAC/PEPs/SAT 69-B screening, face match. Zero data retention.
翻译准备中
正在加载完整 README。
查看完整 README ↗Official SDK for OrigoID, a REST API for identity verification in Mexico. Validate a CURP against RENAPO, check an INE voter credential against the voter list (Lista Nominal), extract data from the INE card, validate RFC, tax status certificates (CSF) and CFDI invoices at SAT, look up an NSS at IMSS, screen against OFAC, PEPs and SAT 69 / 69-B lists, and compare faces. Every response uses the same envelope, so integration is a switch on Type. Zero data retention: each request is validated, answered and discarded.
En español — SDK oficial de OrigoID para verificación de identidad en México: validar CURP en RENAPO, vigencia de la credencial de elector en la Lista Nominal del INE, OCR de INE, RFC, Constancia de Situación Fiscal y CFDI en el SAT, NSS en el IMSS, búsqueda en OFAC, PEPs y listas SAT 69 y 69-B, y comparación facial. Cero retención de datos. Guías: Validar CURP · Validar INE / Lista Nominal · OCR de INE · Validar RFC · Comparación facial · Documentación · Estatus
API reference documentation is available at docs.origoid.com. Go reference: pkg.go.dev/github.com/origoid/sdk-go.
go get github.com/origoid/sdk-go
package main
import (
"context"
"fmt"
"log"
origoid "github.com/origoid/sdk-go"
"github.com/origoid/sdk-go/client"
"github.com/origoid/sdk-go/option"
)
func main() {
c := client.NewClient(option.WithAPIKey("YOUR_API_KEY"))
res, err := c.Renapo.ValidateCurp(context.Background(), &origoid.ValidateCurpRequest{
Curp: "TEST900101HDFRRN09",
})
if err != nil {
log.Fatal(err)
}
fmt.Println(res.Status, res.Type) // OK SUCCESS
}
Every endpoint returns the OrigoID envelope: Status (OK | ERROR), Type (result code such as SUCCESS, CURP_NOT_FOUND, INVALID_REQUEST), Message, Data, TransactionId, ProcessedAt and Billable. Branch on Type; ERROR responses are never billed.
Transport and HTTP-level failures are returned as error. API outcomes (including INVALID_REQUEST, UNAUTHORIZED and RATE_LIMIT_EXCEEDED) arrive in the envelope. See the API reference for every endpoint's result types.
This SDK is generated from the OrigoID OpenAPI specification. Changes to the generated code are overwritten on the next release — open an issue or contact [email protected] instead of a pull request.