muellners / gateway

Collaboration Integration Automation Gateway
Apache License 2.0
0 stars 3 forks source link

DSA Registration #7

Open mit2u opened 7 years ago

mit2u commented 7 years ago

Merchant registration will include a Token key generation which will allow a merchant to register on the platform.This token will be used into his payment gateway where user will select the "pay with upscale" option as payment method.This will work similar to Razorpay Gateway APIs where a token is generated for a merchant to send & process payments.This token will be used to identify merchant and linked with DSA id in backend. Details Taken while Registration should be:

  1. Merchant Name
  2. Merchant Address
  3. Merchant A/C Details : Bank, A/C,IFSC

After merchant is registered will display him APIs needed to be used to build the gateway form.These APIs will be used for:

  1. Sending Product Details : Price , Model , Make , manufacturer,etc depending upon collateral module
  2. Sending Past Orders Details : Order Amount , Order Date
  3. Sending User Profile : Address, Name,Any other details : list all consumer APIs
anuragmath commented 7 years ago

@maektwain the token generation for a DSA should it a random string of hexadecimal characters? @mit2u current model of APIs associate a customer with the tenant, so do i have to change it to DSA id?

anuragmath commented 7 years ago

@mit2u please tell a detailed format of merchant A/C details. the fields and data that has to be captured while taking those details

mit2u commented 7 years ago

@anuragmath how will DSA id work? A single customer can have many DSA ids and NBFC tenants. Its Many to Many relationship between DSAs & NBFCs. How will you solve it. One solution can be making a DSA id which works itself as a tenant and can be linked to other 'NBFC' tenant.Here on logging in DSA can look into various loans being given through his account to different NBFC and their details.

maektwain commented 7 years ago

@anuragmath Are you talking about authorization for accessing the API resource.