Transação
Endpoints compatíveis
Submission of the necessary person or company data and the template model against which the verification services shall be executed, as well as the set of rules to be validated.
Required Permission: Create Transaction
Parameter that defines the onboarding origin. Must be set to TRUST.
Access token.
Bearer your_token_hereUnique ID of the Query Template (configured in Trust).
Free to add any kind of attribute, ideal for linking IDs or other information in the transaction.
Mobile Token (Session Token).
Callback URL (webhook).
Success
Unique identifier of request.
6cb8093c-14ef-4fd1-810b-ee9fa5f9aae9Unique identifier of created transaction.
6021a21b3811c35ecb8dea20Bad request
Unauthorized
Internal Server Error
Upload a file to be used in transactions. The file will be stored temporarily and can be referenced in transaction creation.
Required Permission: Create Transaction Files
Access token. See more in the 'Authentication' topic.
Bearer your_token_hereFile to be uploaded. Accepted formats: application/pdf, image/png, image/jpeg, image/bmp, image/webp, image/heif
Created
Unique identifier of request.
6cb8093c-14ef-4fd1-810b-ee9fa5f9aae9Success message.
File sent successfully.Bad request
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
Get your transaction list summarized with pagination and filters.
Required Permission: Read Transaction
The maximum amount of records that should be returned in the response, e.g. _limit=5. Max value is 10 and default is 10.
Sort the records returned in response by creation date in ascending or descending order. Descending (default): _order=desc Ascending : _order=asc
Search for too many template models by references of the templateId on the account. For multiple templates, separate the values using the pipe symbol, e.g. _templates=templateId1|templateId2|templateId3.
Search the records created on or after any given day, e.g. _startCreatedDate=2022-01-01.
Search the records created on or before a specified day, e.g. _endCreatedDate=2022-01-30.
Access token. See more in the 'Authentication' topic
Bearer your_token_hereSuccess
Unique identifier of request.
6cb8093c-14ef-4fd1-810b-ee9fa5f9aae9Total amount of transactions according to the filter used.
2Unauthorized
Internal Server Error
Retrieve the result data of a transaction.
Required Permission: Read Transaction
Transaction identifier.
Flag for including transactions related to onboarding pf_pf. Default is 'false'. e.g. _includePfRelationships=true.
falseFlag to include the cropped versions of the images of the sended documents. Default is 'false'. e.g. _includeCroppedImages=true.
falseFlag to set the language in the description of the reasons for manual failures. Possible values are 'en' or 'pt'. Default is 'pt'. e.g. _lang=en.
ptAccess token. See more in the 'Authentication' topic
Success
Unique identifier of request.
2b8f373-c462-4bbf-9a4f-8aeb7d71ec53Unique identifier of transaction.
6388a3e9a73b280008ba31adStatus of transaction.
APPROVEDValores possíveis: Merchant-defined custom status configured in Trust. There is no global enum because the available values are specific to each tenant. Returns null when no custom status applies.
Unique ID of the Query Template.
638a021fdeb2b90008c790d1Unique identifier of the onboarding that generated the transaction. Note that these values are only returned for transactions that originated from the service Web Onboarding.
Transaction creation date.
2022-09-08T22:10:14.816ZDocument type sent:
• "rg" (Brazilian General Registry) The RG is a document used to identify Brazilian citizens.
• "cnh" (Brazilian Driver's License) It is a mandatory document for any citizen who intends to drive a motor vehicle.
• "crlv" (Vehicle Registration and License Certificate) Is the document issued annually to indicate that the vehicle is fit to circulate on Brazilian streets.
• "rne" (Brazilian Foreigner Registry) Is a document that certifies the identity of foreign individuals with temporary or permanent residence in Brazil.
• "rnm" (Brazilian Migratory Registry) Is the alphanumeric register number resulting from the identification of each immigrant through his or her personal information and fingerprints.
• "ctps" (Employment and Social Security Card) Is a document that contains information about the worker's professional life and his affiliation to the National Institute of Social Security - INSS.
• "passport" Personal and non-transferable document, issued by the authority of a State for the free transit of its nationals in the country that admits them to its territory.
• "outros" (Others) When there is a document in the image but it is not of a type mapped by us.
• "invalido" (Invalid) When there is no document in the image.
cnhContains the data on the services performed as defined by the Query template. Each attribute represents a service.
Indicates whether it is an attempt at fraud or not.
falseDatetime the document went to documentscopy.
2022-09-08T22:11:05.816ZVariables of Web Onboarding.
Some internal control fields + the fields sent in the metadata attribute of the transaction creation.
Bad request
Unauthorized
Internal Server Error
Atualizado

