Skip to main content
POST
NPWP Details Extraction

Authorizations

Authorization
string
header
required

Use your API token as a Bearer token in the Authorization header.

Headers

Authorization
string
required
Example:

"Bearer {your_api_token}"

Body

multipart/form-data
documentImage
file
required

The NPWP image. JPG, JPEG, PNG, or PDF, up to 2 MB. A base64 string (raw or data: URI) is also accepted.

metadata
object

Optional key-value pairs echoed back in the response.

Response

The document was processed. Check data.outcome and verificationStatus to determine the result.