AI resources
Query available planshttps://api.mercadopago.com/instore/v2/external/orders/{order_id}/plans
Returns the available installment plans for the card BINs and order amount informed.
PATCH
Request parameters
Header
Authorization
Bearer access token.string
REQUIRED
trace-id
Traceability identifier.string
REQUIRED
Path
order_id
Order ID returned by the Resolve QR endpoint (order.id).string
REQUIRED
Body
bins
List of card BINs to query.array
amount
object
additional_info
Additional information. Send an empty object {}.object
Response parameters
supported_bins
array
unsupported_bins
array
Errors
404Not Found
500Internal Server Error
Request
curl -X PATCH \
'https://api.mercadopago.com/instore/v2/external/orders/{order_id}/plans'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-' \
-H 'trace-id: ' \
-d '{
"bins": [
{
"original_bin": "400103",
"issuer_id": "310",
"type": "CREDIT",
"brand_id": "VISA"
}
],
"amount": {
"value": 300.5,
"currency": "ARS"
}
}'Response
{
"supported_bins": [
{
"brand_id": "VISA",
"type": "CREDIT",
"original_bins": [
"400103"
],
"plans": [
{
"id": "000000",
"type": "ahora",
"description": "3 cuotas sin interés",
"installments": 3,
"total_amount": {
"value": 300.5,
"currency": "ARS"
},
"installment_amount": {
"value": 100.17,
"currency": "ARS"
},
"financial_info": {
"total_financial_cost": "0.00",
"nominal_annual_rate": "0.00"
},
"required_fields": []
}
]
}
],
"unsupported_bins": [],
"additional_info": null
}