Skip to main content
POST
Validate BR Code

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Body

application/json
raw
string
required

Raw EMV BR Code copy-paste string to validate without returning decoded data.

Example:

"00020126580014br.gov.bcb.pix0136550e8400-e29b-41d4-a716-44665544000052040000530398654041.005802BR5913Lerian Studio6009Sao Paulo62070503***6304ABCD"

Response

OK

valid
boolean
required

True when the raw payload passed EMV structural and CRC validation; false otherwise.

Example:

true

code
string

EMV validation error code when invalid (empty when valid).

Example:

"BRC-EMV-0009"

message
string

Human-readable validation failure reason when invalid (empty when valid).

Example:

"CRC checksum does not match payload"