Skip to content

Commit

Permalink
Merge pull request #170 from mercadopago/bugfix/transactionDetails
Browse files Browse the repository at this point in the history
Add transactions details object on payment model
  • Loading branch information
Pedro Gonçalves authored Dec 11, 2019
2 parents e5e7efd + ee0c78c commit ca86295
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions lib/models/paymentModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
}
}
};

0 comments on commit ca86295

Please sign in to comment.