Create a loan simulation based on customer information and requested amount
curl --request POST \
--url https://api.paymee.com.br/v1.1/loans/simulation \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-token: <x-api-token>' \
--data '
{
"amount": 10000,
"customer": {
"address": {
"city": "City",
"complement": "Apt 4",
"number": "123",
"state": "ST",
"street": "Main Street",
"zipcode": "12345678"
},
"birth": "1980-01-01",
"document": {
"number": "00000000000",
"type": "CPF"
},
"email": "[email protected]",
"income": 5000,
"name": "John Doe",
"phone": "11999999999"
},
"products": [
{
"amount": 2,
"id": "prod1",
"name": "Product 1",
"value": 5000
}
],
"times": 12
}
'{
"hasProposal": true,
"proposals": [
{
"amount": 10000,
"max_term_months": 12,
"monthly_interest_rate": 0.02,
"partner": "Bank A",
"product": "Personal Loan",
"proposal_id": "abc123",
"terms": [
{
"amount": 10000,
"down_payment": false,
"down_payment_value": 0,
"final_amount": 10500,
"first_due_date": "2024-06-01",
"grace_period": 0,
"interest_rate": 0.24,
"label": "Standard Term",
"monthly_interest_rate": 0.02,
"proposal_id": "abc123",
"quotas": 12,
"times": 12,
"total_iof": 50
}
]
}
]
}API authentication key
"your-api-key-here"
API authentication token
"your-api-token-here"
Total loan amount requested
10000
Show child attributes
Customer's birth date in YYYY-MM-DD format
"1980-01-01"
Customer's email address
Customer's monthly income
5000
Customer's full name
"John Doe"
Customer's phone number
"11999999999"
Number of installments requested
12
Successful Response
Indicates if any financing proposals are available
true
List of available financing proposals
Show child attributes
Total loan amount
10000
Maximum term in months
12
Monthly interest rate (decimal)
0.02
Financing partner/bank name
"Bank A"
Financial product name
"Loan Product"
Unique proposal identifier
"abc123"
Available term options
Show child attributes
Principal amount
10000
Whether down payment is required
false
Down payment amount if required
0
Total amount to be paid
10500
First installment due date
"2024-06-01"
Grace period in months
0
Annual interest rate (decimal)
0.24
Term plan label/name
"Standard Term"
Monthly interest rate (decimal)
0.02
Reference to parent proposal
"abc123"
Number of installments
12
Number of installments (alias)
12
Total IOF tax
50
curl --request POST \
--url https://api.paymee.com.br/v1.1/loans/simulation \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-token: <x-api-token>' \
--data '
{
"amount": 10000,
"customer": {
"address": {
"city": "City",
"complement": "Apt 4",
"number": "123",
"state": "ST",
"street": "Main Street",
"zipcode": "12345678"
},
"birth": "1980-01-01",
"document": {
"number": "00000000000",
"type": "CPF"
},
"email": "[email protected]",
"income": 5000,
"name": "John Doe",
"phone": "11999999999"
},
"products": [
{
"amount": 2,
"id": "prod1",
"name": "Product 1",
"value": 5000
}
],
"times": 12
}
'{
"hasProposal": true,
"proposals": [
{
"amount": 10000,
"max_term_months": 12,
"monthly_interest_rate": 0.02,
"partner": "Bank A",
"product": "Personal Loan",
"proposal_id": "abc123",
"terms": [
{
"amount": 10000,
"down_payment": false,
"down_payment_value": 0,
"final_amount": 10500,
"first_due_date": "2024-06-01",
"grace_period": 0,
"interest_rate": 0.24,
"label": "Standard Term",
"monthly_interest_rate": 0.02,
"proposal_id": "abc123",
"quotas": 12,
"times": 12,
"total_iof": 50
}
]
}
]
}