{"swagger":"2.0","info":{"version":"v1","title":"ValoryGestionApi"},"host":"autofidem-upago.valorygestion.cl","schemes":["https"],"paths":{"/api/upago/pay-credit":{"post":{"tags":["Upago"],"operationId":"Upago_confirmedTransactionsByValue","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/Transaction"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/upago/daily-notifications":{"post":{"tags":["Upago"],"operationId":"Upago_dailyNotificationByNotifications","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"notifications","in":"body","required":true,"schema":{"$ref":"#/definitions/NotificationTransaction"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}}},"definitions":{"Transaction":{"required":["transactionId"],"type":"object","properties":{"transactionId":{"format":"int32","type":"integer"},"paymentAt":{"type":"string"},"paymentAccountingDate":{"type":"string"},"amount":{"type":"string"},"currency":{"format":"int32","type":"integer"},"paymentGateway":{"format":"int32","type":"integer"},"status":{"format":"int32","type":"integer"},"customer":{"$ref":"#/definitions/Customer"},"itemsPaid":{"type":"array","items":{"$ref":"#/definitions/ItemPaid"}},"RequiresValidationContext":{"type":"boolean","readOnly":true},"ErrorMessage":{"type":"string"},"ErrorMessageResourceName":{"type":"string"},"ErrorMessageResourceType":{"type":"string"},"TypeId":{"type":"object","readOnly":true}}},"Customer":{"type":"object","properties":{"remoteId":{"type":"string"},"name":{"type":"string"},"nationalId":{"type":"string"},"email":{"type":"string"},"mobile":{"type":"string"},"RequiresValidationContext":{"type":"boolean","readOnly":true},"ErrorMessage":{"type":"string"},"ErrorMessageResourceName":{"type":"string"},"ErrorMessageResourceType":{"type":"string"},"TypeId":{"type":"object","readOnly":true}}},"ItemPaid":{"type":"object","properties":{"item":{"$ref":"#/definitions/Item"},"paymentAmount":{"format":"double","type":"number"},"RequiresValidationContext":{"type":"boolean","readOnly":true},"ErrorMessage":{"type":"string"},"ErrorMessageResourceName":{"type":"string"},"ErrorMessageResourceType":{"type":"string"},"TypeId":{"type":"object","readOnly":true}}},"Item":{"type":"object","properties":{"remoteId":{"type":"string"},"description":{"type":"string"},"amount":{"format":"double","type":"number"},"penaltyAmount":{"format":"double","type":"number"},"prejudicialCollectionAmount":{"format":"double","type":"number"},"expirationAt":{"type":"string"},"RequiresValidationContext":{"type":"boolean","readOnly":true},"ErrorMessage":{"type":"string"},"ErrorMessageResourceName":{"type":"string"},"ErrorMessageResourceType":{"type":"string"},"TypeId":{"type":"object","readOnly":true}}},"NotificationTransaction":{"type":"object","properties":{"accountingDate":{"format":"int32","type":"integer"},"businessPaymentDate":{"type":"string"},"confirmedTotalAmount":{"format":"float","type":"number"},"confirmedServiceFeeTotalAmount":{"format":"float","type":"number"},"confirmedBusinessTotalAmount":{"format":"float","type":"number"},"confirmedTransactions":{"type":"array","items":{"$ref":"#/definitions/Transaction"}},"RequiresValidationContext":{"type":"boolean","readOnly":true},"ErrorMessage":{"type":"string"},"ErrorMessageResourceName":{"type":"string"},"ErrorMessageResourceType":{"type":"string"},"TypeId":{"type":"object","readOnly":true}}}}}