rahataid / rahat-project-c2c

Rahat project microservices for crypto distribution
GNU Lesser General Public License v3.0
1 stars 1 forks source link

Offramp Service Provider Integration #72

Open manjik-rumsan opened 2 months ago

manjik-rumsan commented 2 months ago

We need to design a flexible API interface to integrate with various offramp service providers. This API will facilitate key functionalities such as KYC verification, crypto account management, crypto deposits, and offramps to mobile money or bank accounts. The design should accommodate multiple providers, starting with KotaniPay, and ensure seamless user experiences across different financial operations.

Key API Functionalities

  1. Create KYC on Selected Offramp Provider
  2. Verify KYC Status on Offramp Providers
  3. Create Crypto Account in Offramp Provider
  4. Deposit Crypto to Offramp Provider’s Crypto Account
  5. Offramp Crypto to Mobile Money or Bank Accounts

Here are some example API endpoints designed with the help of CHATGPT.

API Endpoints and Data Definitions

1. Create KYC on Selected Offramp Provider


2. Verify KYC Status on Offramp Provider


3. Create Crypto Account in Offramp Provider


4. Deposit Crypto to Offramp Provider’s Crypto Account


5. Offramp Crypto to Mobile Money or Bank Account


Expected Outcome

Develop an API that seamlessly integrates with multiple offramp service providers, starting with KotaniPay. The API should enable users to:

References

manjik-rumsan commented 2 months ago

@raghav-rumsan I think we can have these api endpoints in rahat-core to manage the offramp. kotanipay is one of the offramp provider

manjik-rumsan commented 2 months ago

@nishu-rumsan we will be creating an issue for offramping based on the final decision of this discussion