Skip to main content

Endpoint

GET /partner/v1/pix-key/{document}

Request

Path parameters

NameTypeRequiredDescription
documentstringYesUser’s CPF (tax ID)

Headers

NameTypeRequiredDescription
X-API-KeystringYesYour partner API key

Response

Success (200 OK)

{
  "pix_key": "abc123-def456-ghi789",
  "created_at": 1704067200
}
FieldTypeDescription
pix_keystringThe EVP (random) Pix key
created_atintegerUnix timestamp of key creation

Not found (404 Not Found)

No Pix key exists for the specified document.

Invalid document (400 Bad Request)

The provided document is not a valid CPF.

Example

curl https://api.bipa.tech/partner/v1/pix-key/12345678900 \
  -H "X-API-Key: your_partner_api_key"