Skip to content
Last updated

API Reference

Complete reference for the Dinie REST API v3. Resource-oriented, with predictable URLs, JSON, and standard HTTP codes.

Base URLs

EnvironmentURL
Sandboxhttps://sandbox.api.dinie.com.br/v3
Productionhttps://api.dinie.com.br/v3

All examples in this documentation use the sandbox URL. Replace it when going to production. See the Going to Production guide for the full checklist.

Concepts

Understand the technical fundamentals before integrating:

Resources

Customers

Register and manage customers (borrowing companies).

MethodEndpointDescription
POST/v3/customersRegister customer
GET/v3/customersList customers
GET/v3/customers/:idRetrieve customer
PATCH/v3/customers/:idUpdate customer
POST/v3/customers/:id/documentsUpload document
POST/v3/customers/:id/biometricsBiometrics session

Credit Offers

Query credit offers automatically generated by Dinie's analysis.

MethodEndpointDescription
GET/v3/customers/:id/credit-offersList customer offers
GET/v3/credit-offersList all offers
GET/v3/credit-offers/:idRetrieve offer

Loans

Simulate, create, and query loans from credit offers.

MethodEndpointDescription
POST/v3/credit-offers/:id/simulationsCreate simulation
POST/v3/loansCreate loan
GET/v3/loans/:idRetrieve loan
GET/v3/loans/:id/transactionsList transactions

Webhooks

Configure endpoints to receive real-time event notifications.

MethodEndpointDescription
POST/v3/webhooks/endpointsCreate endpoint
GET/v3/webhooks/endpointsList endpoints
GET/v3/webhooks/endpoints/:idRetrieve endpoint
PATCH/v3/webhooks/endpoints/:idUpdate endpoint
DELETE/v3/webhooks/endpoints/:idDelete endpoint
POST/v3/webhooks/endpoints/:id/secret/rotateRotate secret