Pendencies API (Partner)

API intended for partners to query onboarding/accreditation pendencies of a Merchant (EC).

The goal is to expose a minimum, stable, and secure contract, allowing the partner to identify:

  1. Which pendencies exist for the EC
  2. The status of each pendency
For pendencies of type DATA_GRID, the response includes the list of registration attributes (gridInfo) that must be reviewed/resolved by the partner, indicating which ones are required.

General Information

FieldValue
Version1
Base URL (HML)https://adapter-pendency-partner-contracts-hti.apps.ocp-hml.getnet.com.br
ContactGetnet

Authentication

All requests must include the Authorization header with a valid API Key.
text
Authorization: <your-api-key>

Endpoints

1. Query Merchant Pendencies

Returns the list of pendencies associated with the provided merchant.

text
GET /partners/v1/pendencies/{acquirer_merchant_code}

Parameters

NameLocationTypeRequiredDescription
acquirer_merchant_codepathstringUnique merchant code assigned by the acquirer

Response 200 OK

json
{ "person_type": "company", "situations": [ { "status": "pending", "status_update_date": "2026-05-27T14:30:00Z" } ], "pendencies": [ { "pendency_type": "DATA_GRID", "situation": { "status": "pending", "status_update_date": "2026-05-27T14:30:00Z" }, "grid_info": [ { "attribute": "trading_name", "required": true } ] } ] }

Behavior

  • If the merchant does not exist or is not accessible by the authenticated partner → returns 404 (anti-enumeration).
  • If the merchant exists but has no pendencies → returns 200 with an empty list (pendencies: []).
  • Pendencies of type DATA_GRID include the grid_info field.

2. Request Validation Code

Requests a validation code to be sent to the merchant via SMS, email, or WhatsApp.

text
POST /partners/v1/pendencies/token-request/{acquirer_merchant_code}

Parameters

NameLocationTypeRequiredDescription
acquirer_merchant_codepathstringUnique merchant code assigned by the acquirer

Request Body

json
{ "type": "cell_phone", "value": "11999999999" }
FieldTypeRequiredDescription
typestringContact channel. Allowed values: cell_phone, email
valuestringChannel value. E.g.: email@email.com or 11999999999

Response 202 Accepted

json
{ "sms_token_validation_id": "abc-123", "cell_phone": "11999999999", "acquirer_merchant_code": "MC123456", "situation": { "status": "pending" } }

3. Validate Received Code

Submits the validation code received by the merchant to confirm ownership of the contact channel.

text
POST /partners/v1/pendencies/token-validation/{acquirer_merchant_code}

Parameters

NameLocationTypeRequiredDescription
acquirer_merchant_codepathstringUnique merchant code assigned by the acquirer

Request Body

json
{ "token": "123456", "type": "cell_phone", "value": "11999999999", "device_fingerprint": "fp_abc123xyz" }
FieldTypeRequiredDescription
tokenstringOne-time validation code received by the merchant
typestringContact channel. Allowed values: cell_phone, email
valuestringCorresponding channel value
device_fingerprintstringDevice fingerprint for fraud prevention and session binding

Response 200 OK

json
{ "sms_token_validation_id": "abc-123", "cell_phone": "11999999999", "acquirer_merchant_code": "MC123456", "token": "123456", "device_fingerprint": "fp_abc123xyz", "situation": { "status": "ok" } }

Data Models

PendencyResponse

FieldTypeDescription
person_typestringPerson type: company or natural_person
situationsarray<Situation>List of overall onboarding status records for the merchant
pendenciesarray<Pendency>List of open pendencies that must be resolved

Pendency

FieldTypeDescription
pendency_typestringPendency type identifier as defined in the v1 catalog
situationSituationCurrent resolution status of the pendency
grid_infoarray<GridInfoItem>Registration attributes to review (only for DATA_GRID type)

GridInfoItem

FieldTypeDescription
attributestringName of the registration attribute to be filled or corrected
requiredbooleanWhether this attribute is mandatory for completing the pendency

Situation

FieldTypeDescription
statusstringCurrent status (see possible values below)
status_update_datestring (date-time)ISO-8601 date-time of the last update
Possible status values:
active · inactive · created · success · failure · retry · approved · pending · received · reopened · dismissed · dismiss_analysis · reproved · finished · analysis · canceled

TokenManagerResponse

FieldTypeDescription
sms_token_validation_idstringUnique identifier for the SMS token validation session
email_validation_idstringUnique identifier for the email validation session
cell_phonestringMobile phone number used for token delivery
emailstringEmail address used for token delivery
acquirer_merchant_codestringUnique merchant code assigned by the acquirer
device_fingerprintstringDevice fingerprint captured during validation
tokenstringOne-time validation token
situationobjectProcessing status: pending or ok

ErrorDTO

FieldTypeDescription
status_codeintegerHTTP error code
messagestringDescriptive error message
detailsarray<ErrorDetailDTO>Additional error details

ErrorDetailDTO

FieldTypeDescription
itemstringField or item related to the error
descriptionstringError description

Error Codes

CodeDescription
400Invalid request or incorrect payload
401Unauthorized — missing or invalid API Key
403Forbidden — access denied to the requested resource
404Merchant not found or not accessible by the authenticated partner
422Unprocessable Entity — business rule violation
500Internal Server Error
504Gateway Timeout