Open manjik-rumsan opened 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
@nishu-rumsan we will be creating an issue for offramping based on the final decision of this discussion
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
Here are some example API endpoints designed with the help of CHATGPT.
API Endpoints and Data Definitions
1. Create KYC on Selected Offramp Provider
POST /offramp/kyc
2. Verify KYC Status on Offramp Provider
GET /offramp/kyc/status
kyc_request_id
: (string) Unique KYC request ID.3. Create Crypto Account in Offramp Provider
POST /offramp/crypto/account
4. Deposit Crypto to Offramp Provider’s Crypto Account
POST /offramp/crypto/deposit
5. Offramp Crypto to Mobile Money or Bank Account
POST /offramp/crypto/offramp
Expected Outcome
Develop an API that seamlessly integrates with multiple offramp service providers, starting with KotaniPay. The API should enable users to:
Offramp crypto to mobile money or bank accounts.
References