Commit 1328adc0 by Cristian_Camargo

Update credito-tarjeta.json

parent e9588166
......@@ -572,8 +572,51 @@
}
]
}
},
"/v2/credito/bolsillos/pago/credito": {
"get": {
"tags": [
"cols-credito-bolsillo"
],
"summary": "Saldo de la tarjeta débito.",
"description": "Saldo de la tarjeta débito.",
"operationId": "consultaPagoCredito.v2",
"parameters": [
{
"name": "numTarjeta",
"in": "query",
"description": "Numero de la tarjeta.",
"required": true,
"schema": {
"type": "number"
}
}
],
"responses": {
"200": {
"description": "Operación exitosa",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/consultaPagoCreditoResponse"
}
}
}
},
"400": {
"description": "Estado inválido"
}
},
"security": [
{
"apigee_auth": [
"write:apigee",
"read:apigee"
]
}
]
}
}
},
"externalDocs": {
"description": "Encontrar más información en EnterpriseArchitect",
......@@ -581,6 +624,124 @@
},
"components": {
"schemas": {
"consultaPagoCreditoResponse": {
"type": "object",
"required": [
"resultado"
],
"properties": {
"resultado": {
"type": "array",
"xml": {
"name": "resultado"
},
"items": {
"$ref": "#/components/schemas/resultado"
}
},
"consultaPagoCredito": {
"type": "array",
"items": {
"$ref": "#/components/schemas/consultaPagoCredito"
}
}
}
},
"consultaPagoCredito": {
"type": "object",
"properties": {
"tarjeta": {
"$ref": "#/components/schemas/tarjetaConsultaPagoCredito"
}
}
},
"pagoConsultaPagoCredito": {
"type": "object",
"properties": {
"cuota": {
"type": "string",
"description": "Valor de la cuota fija."
},
"fechaLimite": {
"type": "string",
"format": "date-time",
"description": "Fecha limite de pago."
},
"fechaUltimo": {
"type": "string",
"format": "date-time",
"description": "Fecha de ultimo pago."
},
"ultimo": {
"type": "string",
"description": "Valor de ultimo pago."
},
"minimo": {
"type": "object",
"properties":{
"valor": {
"type": "string",
"description": "Valor minimo a pagar."
}
}
},
"total": {
"type": "object",
"properties":{
"valor": {
"type": "string",
"description": "Valor total a pagar."
}
}
}
}
},
"moraConsultaPagoCredito": {
"type": "object",
"properties": {
"capital": {
"type": "string",
"description": "Capital de mora."
},
"saldo": {
"type": "string",
"description": "Saldo de mora."
}
}
},
"proximaFacturaConsultaPagoCredito": {
"type": "object",
"properties": {
"fecha": {
"type": "string",
"format": "date-time",
"description": "Fecha de proxima factura."
},
"valor": {
"type": "string",
"description": "Valor de proxima factura."
}
}
},
"tarjetaConsultaPagoCredito": {
"type": "object",
"properties": {
"fechaCorte": {
"type": "string",
"format": "date-time",
"description": "Fecha de corte de la tarjeta."
},
"pago": {
"$ref": "#/components/schemas/pagoConsultaPagoCredito"
},
"mora": {
"$ref": "#/components/schemas/moraConsultaPagoCredito"
},
"proximaFactura": {
"$ref": "#/components/schemas/proximaFacturaConsultaPagoCredito"
}
}
},
"resultado": {
"type": "object",
"properties": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment