uob-group-10-mynt / mynt-finance-banking-app

A prototype banking app for Mynt, Kenya.
3 stars 1 forks source link

backend api, create payment #198

Open LurchK opened 3 months ago

LurchK commented 3 months ago

create payment, if different currencies, check that balance is enough, if yes, proceed with the payment, if not, return error.

theCyberExorcist commented 3 months ago

minimum required fields for making a payments/create request: { '{beneficiary_identity}': 'kelvin@email.com', 'currency': 'GBP', 'amount': '9,999.99', }

the {beneficiary_identity} could be the beneficiary's email/account_number/..., maybe we need to agree upon this first?

theCyberExorcist commented 3 months ago

the response might just be success or failure (message for failure cause?)