diff --git a/lib/models/paymentModel.js b/lib/models/paymentModel.js index 31abf559..b4809353 100644 --- a/lib/models/paymentModel.js +++ b/lib/models/paymentModel.js @@ -215,6 +215,44 @@ module.exports = { } } } + }, + transaction_details: { + type: 'object', + properties:{ + acquirer_reference: { + type: 'string' + }, + bank_transfer_id: { + type: 'integer' + }, + external_resource_url: { + type: 'string' + }, + financial_institution: { + type: 'string' + }, + installment_amount: { + type: 'number' + }, + net_received_amount: { + type: 'number' + }, + overpaid_amount: { + type: 'number' + }, + payable_deferral_period: { + type: 'string' + }, + payment_method_reference_id: { + type: 'string' + }, + total_paid_amount: { + type: 'number' + }, + transaction_cicle: { + type: 'string' + } + } } } };