Paygic Docs
  • Introduction
  • Create Token
  • Payment Page - Beta
  • UPI Intent
  • UPI Collect
  • Status and CallBack
  • Wordpress Plugin
  • Reseller
    • Onboard Merchant
    • Onboard Static Merchant
    • Payment APIs
  • Get Fee Data
  • Merchant Balance
Powered by GitBook
On this page
  1. Reseller

Onboard Static Merchant

This API endpoint allows a reseller to create an offline or Static-QR merchant in the Paygic system.

1. Create Merchant - Staic-QR or Offline

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/offline/createMerchant

Method - POST

Request Headers

  • Content-Type: application/json

  • Token: Reseller Token


await axios.post(
      "https://server.paygic.in/api/v2/reseller/offline/createMerchant",
        
        {
          "rid": "string", // Reseller ID
          "bname": "string", // Business name
          "lname": "string", // Legal name
          "phone": "string", // Phone number
          "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", //PAN Number
          "turnoverType": "string", //Either SMALL or LARGE
          "gst": "string", // GST number
          "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.
          "dob": "string", // Date of birth (only for PROPRIETARY)
          "doi": "string", // Date of incorporation (for PARTNERSHIP, PRIVATE, LLP, PUBLIC)
          
        },
        {
          headers: {
          token: "Your Auth Key created by create token api"
            }
        }
        
    
    );
    
    //Response - Success
    
    {
      "status": true,
      "code": 200,
      "msg": "Merchant created successfully",
      "data": {
        "staticQR": "string", // Static QR code URL
        "mid": "string", // Merchant ID
        "phone": "string", // Phone number
        "name": "string" // Business name
      }
    }
    
    //Response - Error
      {
        "status": false,
        "code": 400,
        "msg": "Error message"
       }
    
PreviousOnboard MerchantNextPayment APIs

Last updated 2 months ago