Onboard Merchant
This API endpoint is used to create a new merchant under a reseller. It validates the provided data, and sends a request to the Paygic API to onboard the merchant.
1. Create Merchant
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
Endpoint - https://server.paygic.in/api/v2/reseller/createMerchant
Method - POST
Request Headers
Content-Type: application/jsonToken: Reseller Token
await axios.post(
"https://server.paygic.in/api/v2/reseller/createMerchant",
{
"rid": "string", // Reseller ID
"bname": "string", // Business name
"lname": "string", // Legal name
"phone": "string", // Phone number
"email": "string", // Email address
"mcc": "string", //contact us for merchant category code list
"type": "string", // Business type (Should be one of - PROPRIETARY,PARTNERSHIP, PRIVATE, LLP, PUBLIC )
"city": "string", // City
"district": "string", // District
"stateCode": "string", //State Code Eg - 23 for Madhya Pradesh
"pincode": "string", // Pincode
"bpan": "string", // Business PAN
"gst": "string", // GST number. Mandatery for PRIVATE, LLP, PUBLIC
"account": "string", // Bank account number
"ifsc": "string", // IFSC code
"address1": "string", // Address line 1
"address2": "string", // Address line 2
"cin": "string", // CIN number (for PRIVATE, LLP, PUBLIC)
"msme": "string", // MSME number. ( Use msme if GST in not available //Only for PROPRIETARY and PARTNERSHIP)
"dob": "string", // Date of birth (only for PROPRIETARY)
"doi": "string", // Date of incorporation (for PARTNERSHIP, PRIVATE, LLP, PUBLIC)
"url": "string" // Business URL or APP Package
},
{
headers: {
token: "Your Auth Key created by create token api"
}
}
);
//Response - Success
{
"status": true,
"code": 200,
"msg": "Merchant created successfully",
"data": {
"mid": "string", // Merchant ID
"phone": "string", // Phone number
"name": "string" // Business name
}
}
//Response - Error
{
"status": false,
"code": 400,
"msg": "Error message"
}
2. Fetch Merchant Individuals
Use this API after first completed. This API endpoint is used to fetch the details of an individual under merchant.
Endpoint - https://server.paygic.in/api/v2/reseller/merchantFetchIndividual
Method - POST
Request Headers
Content-Type: application/jsonToken: Reseller Token
3. Complete Individual KYC
This API endpoint is used to perform due diligence on an individual under merchant.
Endpoint - https://server.paygic.in/api/v2/reseller/merchantDueDeligence
Method - POST
Request Headers
Content-Type: application/jsonToken: Reseller Token
4. Complete Merchant Onboarding
This API endpoint is used to complete the onboarding process for an individual merchant under a reseller.
Endpoint - https://server.paygic.in/api/v2/reseller/merchantDueDeligence
Method - POST
Request Headers
Content-Type: application/jsonToken: Reseller Token
Last updated