Peru
SUNARP

Connect a SUNARP account

SUNARP answers only to a signed-in person: a Peruvian DNI, with the verification digit and issue date printed on the card. Each query runs as your organization's own connection, so register one before your first query. SUNARP allows each DNI five sign-ins a day; Croma keeps every session open as long as SUNARP allows, so five sign-ins cover many queries.

Croma checks the account with the source before saving it. Each account allows 5 sign-ins a day; queries rotate across your connections.

Credentials are encrypted as soon as they reach Croma, bound to your organization, and can only be opened by the isolated service that signs in to the source on your behalf. They are never returned by the API.

post/pe/sunarp/connections/v1

Request

  • Base URL: https://api.croma.run
  • URL: https://api.croma.run/pe/sunarp/connections/v1
  • Auth: HTTP bearer

Request body

document_numberstring required

The DNI of the person whose account this is: eight digits.

check_digitstring required

The verification digit printed after the DNI number on the card.

issue_datestring date required

The issue date printed on the DNI card, yyyy-mm-dd.

authorizedtrue required

Confirms you are the account's owner or have the owner's authorization to use it.

Response

Connected

Changes

No recorded changes to this operation across all 1 revision of this API.