Penny Auction API
API Documentation

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

API Methods

Penny Auction API
API Documentation

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

API Methods

Authentication API

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

Registration

This method is used to create a new user in users table. When a user is created activation mail has been generate.

POST

https://pennyapi.auctionsoftwaremarketplace.com/register/save

Headers
Content-Type : multipart/form-data
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
Usage and Examples

curl --location --request POST "https://pennyapi.auctionsoftwaremarketplace.com/register/save" \ --header "Content-Type: multipart/form-data" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --form "first_name=sample_first" \ --form "last_name=sample_last" \ --form "email=sample@auctionsoftware.com" \ --form "phone=987654321" \ --form "user_name=sample_username" \ --form "password=Password@123" \ --form "c_password=Password@123" \ --form "country=India"

var form = new FormData(); form.append("first_name", "sample_first"); form.append("last_name", "sample_last"); form.append("email", "sample@auctionsoftware.com"); form.append("phone", "987654321"); form.append("user_name", "sample_username"); form.append("password", "Password@123"); form.append("c_password", "Password@123"); form.append("country", "India"); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/register/save", "method": "POST", "timeout": 0, "headers": { "Content-Type": "multipart/form-data", "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'POST', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/register/save', 'headers': { 'Content-Type': 'multipart/form-data', 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"first_name\"\r\n\r\nddd\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"last_name\"\r\n\r\ntes\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"email\"\r\n\r\ndeepa.auctionsoftware+111@gmail.com\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"phone\"\r\n\r\nmcdjk\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"user_name\"\r\n\r\ntestdd\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"password\"\r\n\r\nPassword@123\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"c_password\"\r\n\r\nPassword@123\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nIndia\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • first_name : sample_first last_name : sample_last email : sample@auctionsoftware.com user_name : sample_username password : Ds123@123 c_password : Ds123@123 country : India state : Tamil Nadu city : chh zip : 600070 phone : 9876543210
    }
Responses
Status: 202 - Success
  • {
    • "successs" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "successs" : true, "res_code" : 202, "data" : "mail sent for activation"
    }
Responses
Status: 302 - Error
  • {
    • "successs" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }
  • {
    • "success" : false, "res_code" : 400, "data" : "Required field missing"
    }
  • {
    • "success" : false, "res_code" : 400, "data" : "email already exist"
    }
  • {
    • "success" : false, "res_code" : 400, "data" : "username already exist"
    }

Login

This method creates a JWT token for authorization. When given a username and password, JWT Token will be sent as a response. Expiry time can be set based on the requirement. Must include the Token in Authorization Header on all requests.

POST

https://pennyapi.auctionsoftwaremarketplace.com/login/save

Headers
Content-Type : multipart/form-data
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
Usage and Examples

curl --location --request POST "https://pennyapi.auctionsoftwaremarketplace.com/login/save" \ --header "Content-Type: multipart/form-data" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --form "username=deepa.auctionsoftware@gmail.com" \ --form "password=Deepa@123"

var form = new FormData(); form.append("username", "test.auctionsoftware@gmail.com"); form.append("password", "test@123"); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/login/save", "method": "POST", "timeout": 0, "headers": { "Content-Type": "multipart/form-data", "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'POST', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/login/save', 'headers': { 'Content-Type': 'multipart/form-data', 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"username\"\r\n\r\ndeepa.auctionsoftware@gmail.com\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"password\"\r\n\r\nDeepa@123\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • username : sample@auctionsoftware.com password : sample@123 firstname : Developscripts aboutme : mcdjk image : address1 : dsf address2 : fddf country : India state : Tamil Nadu city : chh zip : 600070 phone : 9876543210
    }
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : code, "data" : { "id" : int, "first_name" : string, "last_name" : string, "email" : string, "phone" : string, "balance" : float, "balance_promo" : float, "balance_amount" : float, "status" : string, "csrf" : string }; "login_token" : string
    }
  • {
    • "success" : true, "res_code" : 202, "data" : { "id" : 2, "first_name" : "sample_first", "last_name" : "sample_last", "email" : "sample@auctionsoftware.com", "phone" : "+91 987654321", "balance" : 986, "balance_promo" : 94, "balance_amount" : 148.94, "status" : "active", "csrf" : "16bebf8bf7a14d2ea57bc1726817a41b" }; "login_token" : ""eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MiwiZW1haWwiOiJ0ZXN0OTU5NTY5QGdtYWlsLmNvbSIsImlhdCI6MTUzNzk1ODg1MH0.2vhV3bfmVQiCPgkp9oROswxj3AZJCLULPnRMQi3kp3c""
    }
Responses
Status: 302 - Error
  • {
    • "successs" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }
  • {
    • "success" : false, "res_code" : 203, "data" : "unverified user"
    }
  • {
    • "success" : false, "res_code": 203, "data": "invalid credentials"
    }

This Search API is to fetch All Product details with some conditions like type, page, limit, sortby, minprice, maxprice, cat_ids and Auction Type

GET

https://pennyapi.auctionsoftwaremarketplace.com/search

Headers
Content-Type:application/x-www-form-urlencoded
app_id:PennyAuctionAPI
app_secret:0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/search" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded"

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/search", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/search', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • type=both page=1 limit=12 sortby=&minprice=10 maxprice=25626 liveauction=1 futureauction=0 closedauction=0 cat_ids=82 minpriced
    }
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : [ "id" : int, "title" : string, "ru_title" : string, "ge_title" : string, "fr_title" : string, "it_title" : string, "sp_title" : string, "description" : string, "ru_description" : string, "ge_description" : string, "fr_description" : string, "it_description" : string, "sp_description" : string, "avatar" : string, "image" : string, "document" : string, "date_added" : string, "date_closed" : string, "category_id" : string, "subcategory" : string, "tags" : string, "sprice" : float, "rprice" : float, "work_loc" : string, "country" : string, "state" : string, "user_id" : int, "invite_people" : string, "status" : string, "created_at" : string, "updated_at" : string, "budget_type" : string, "buynow" : int, "auction" : int, "bqty" : int, "bstock" : int, "bcart" : int, "bsold" : int, "buy_handling_fees" : int, "feature" : int, "shipping_price" : int, "shipping_location" : string, "shipping_description" : string, "bprice" : float, "mprice" :float, "iprice" : float, "wprice" : float, "market_status" : string, "auctionType" : string, "highest_bidder" : string, "seats" : int, "seatAmount" : int, "storeid" : int, "win_category" : string, "has_bids" : string, "has_sniper" : int, "has_resettimer" : int, "resettime_what" : int, "bid_increment" : int, "resettime_when" : string, "has_restrict_bidder" : int, "has_bin" : int, "bid_type_attached" : int, "num_bids_attached" : int, "bid_val_each" : int, "bid_val_total" : int, "auction_value" : int, "percentage_cap" : int, "final_capped" : string, "sniper_count" : string, "manufacturer" : string, "auction_level" : int, "bid_multiplier" : int, "bin_price" : int, "handling_fees" : int, "reserve_bid_count" : int, "restrict_bid_limit" : int, "cashback_bid_increase" : int, "cashback_percentage" : int, "ending_in" : string, "auction_legend" : string, "win_legend" : string, "bin_date" : string, "bidpack_type" : string, "bidpack_numbers" : string, "bpid" : string, "timer_start_time" : string, "timer_started" : int, "start_from_hours" : int, "start_from_minutes" : int, "end_time" : string, "end_time_min" : string, "sku" : string, "minimum_bid_count" : int, "bids" : int, "minimum_restrict_bidder" : int, "max_asp" : int, "lock_bid" : int, "lock_time" : string, "products" : int, "seat_started" : int, "closed" : string, "ptime" : string, "stime" : string, "ctime" : string, "closedays" : float, "day" : string, "wsprice" : float, "ptitle" : string ]
    }
  • {
    • "success" : true, "res_code" : 202, "data" :
      • [ {
        • "id": 19, "title": "Geoffs AutoB test", "ru_title": "Geoffs AutoB test", "ge_title": "Geoffs AutoB test", "fr_title": "Geoffs AutoB test", "it_title": "Geoffs AutoB test", "sp_title": "Geoffs AutoB test", "description": null, "ru_description": null, "ge_description": null, "fr_description": null, "it_description": null, "sp_description": null, "avatar": "2a7628ed77f09f30650bd418ccc3f497.png", "image": "Stelvio1200_8V_NTX-red.jpg", "document": null, "date_added": "2018-09-25T19:59:28.000Z", "date_closed": "2018-12-26T19:59:40.000Z", "category_id": "1,82", "subcategory": null, "tags": null, "sprice": "0.00", "rprice": "200.00", "work_loc": null, "country": null, "state": null, "user_id": 6, "invite_people": null, "status": "open", "created_at": "2018-09-25T20:06:31.000Z", "updated_at": null, "budget_type": null, "buynow": 0, "auction": 0, "bqty": 0, "bstock": 0, "bcart": 0, "bsold": 0, "buy_handling_fees": 0, "feature": 0, "shipping_price": 0, "shipping_location": null, "shipping_description": null, "bprice": "0.00", "mprice": "12.00", "iprice": "0.00", "wprice": "52.00", "market_status": "open", "auctionType": "reserve", "highest_bidder": "manny91", "seats": 0, "seatAmount": 0, "storeid": 0, "win_category": null, "has_bids": null, "has_sniper": "0", "has_resettimer": "0", "resettime_what": "30", "bid_increment": 1, "resettime_when": null, "has_restrict_bidder": "0", "has_bin": "0", "bid_type_attached": null, "num_bids_attached": null, "bid_val_each": null, "bid_val_total": null, "auction_value": null, "percentage_cap": 0, "final_capped": null, "sniper_count": null, "manufacturer": null, "auction_level": null, "bid_multiplier": "1", "bin_price": 0, "handling_fees": 23, "reserve_bid_count": null, "restrict_bid_limit": "", "cashback_bid_increase": "", "cashback_percentage": "", "ending_in": "", "auction_legend": "", "win_legend": "", "bin_date": "0000-00-00 00:00:00", "bidpack_type": null, "bidpack_numbers": null, "bpid": null, "timer_start_time": "0000-00-00 00:00:00", "timer_started": 0, "start_from_hours": "", "start_from_minutes": "", "end_time": "", "end_time_min": "", "sku": "", "minimum_bid_count": null, "bids": 52, "minimum_restrict_bidder": "", "max_asp": 100, "lock_bid": 2147483647, "lock_time": "2018-12-25T19:59:52.000Z", "products": "2", "seat_started": 1, "closed": "2018-12-26T19:59:40.000Z", "ptime": "27/12/2018", "stime": "26/09/2018 1:29:28 AM", "ctime": "27/12/2018 1:29:40 AM", "closedays": 7722100.142, "day": "89:09:01:40", "wsprice": "52.00", "ptitle": "Geoffs AutoB test"
        } ]
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }

Max & Min Price

This API is to fetch all product minprice and maxprice.

GET

https://pennyapi.auctionsoftwaremarketplace.com/maxminprice

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwiaWF0IjoxNTQ2NDk1MTIxfQ.UF1RKIpipmMhYzDIqWeSMD5IALzY5gatNNRNLD9REjg
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/maxminprice" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwiaWF0IjoxNTQ2NDk1MTIxfQ.UF1RKIpipmMhYzDIqWeSMD5IALzY5gatNNRNLD9REjg" \ --data ""

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/maxminprice", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwiaWF0IjoxNTQ2NDk1MTIxfQ.UF1RKIpipmMhYzDIqWeSMD5IALzY5gatNNRNLD9REjg" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/maxminprice', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwiaWF0IjoxNTQ2NDk1MTIxfQ.UF1RKIpipmMhYzDIqWeSMD5IALzY5gatNNRNLD9REjg' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : true, "res_code" : 202, "max_price": 43170, "min_price": 12
    }
Responses
Status: 302 - Error

Categories List

This API is to Fetch all the list of a Categories in all Languages and with ID

GET

https://pennyapi.auctionsoftwaremarketplace.com/categories_list

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/categories_list" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA"

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/categories_list", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/categories_list', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Remove Watchlist

This API is to remove a product from the Watchlist.

GET

https://pennyapi.auctionsoftwaremarketplace.com/dashboard/watchlist/:id

Headers
Content-Type:application/x-www-form-urlencoded
app_id:PennyAuctionAPI
app_secret:0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoidGVzdDk1OTU2OUBnbWFpbC5jb20iLCJpYXQiOjE1NDM5OTQ2NDl9.vP2jVI70LVBsr2wgwyZWf9vmGRm43ZrH7544H54_KfA
Usage and Examples

curl -X GET "https://pennyapi.auctionsoftwaremarketplace.com/dashboard/watchlist/:id"

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Watchlist

This method is used to get the watchlist details for a particular user. Provided a list of product currently in the user watchlist

GET

https://pennyapi.auctionsoftwaremarketplace.com/dashboard/watchlist

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU1Mzc1MTAwMn0.sLapcYMwil6aQhxcQMhkI5BaqdYVDghLlS1Wf9T3Eow
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/dashboard/watchlist" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU1Mzc1MTAwMn0.sLapcYMwil6aQhxcQMhkI5BaqdYVDghLlS1Wf9T3Eow" \ --data ""

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/dashboard/watchlist", "method": "GET", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded", "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU1Mzc1MTAwMn0.sLapcYMwil6aQhxcQMhkI5BaqdYVDghLlS1Wf9T3Eow" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/dashboard/watchlist', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded', 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU1Mzc1MTAwMn0.sLapcYMwil6aQhxcQMhkI5BaqdYVDghLlS1Wf9T3Eow' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : [ "title": string, "user_id" : int, "status" : string, "avatar" : string, "date_closed" : string, "date_added" : string, "id" : int, "market_status" : string, "seat_started" : int, "closed" : string, "ptime" : string, "stime" : string, "ctime" : string, "day" : string ], "pagination" : ""
    }
  • {
    • "success" : true, "res_code" : 202, "data" : [ "title": "Auction1002", "user_id": 2, "status": "open", "avatar": "34dc37be099975ffa1efe786ef372b55.png", "date_closed": "2018-09-30T07:09:57.000Z", "date_added": "2018-09-19T07:02:55.000Z", "id": 2, "market_status": "open", "seat_started": 1, "closed": "2018-09-30T07:09:57.000Z", "ptime": "30/09/2018", "stime": "19/09/2018 12:32:55 PM", "ctime": "30/09/2018 12:39:57 PM", "day": "03:00:52:55" ], "pagination" : "
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Login Required"
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "login token missing"
    }

Category Auction List

This API is to fetch all the Data and Multi Language Name of the Particular Category

POST

https://pennyapi.auctionsoftwaremarketplace.com/category_search

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/category_search" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded"

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/category_search", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/category_search', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "category" : "mobile
    }
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : { "id": int, "name": string, "ru_name": string, "ge_name": string, "fr_name": string, "it_name": string, "sp_name": string, "description": string, "ru_description": string, "ge_description": string, "fr_description": string, "it_description": string, "sp_description": string, "avatar": string, "image": string, "type": string, "created_at": string, "updated_at": string, "lft": int, "rgt": int, "parent_id": int }
    }
  • {
    • "success" : true, "res_code" : 202, "data" : { "id": 34, "name": "Computers", "ru_name": "компьютеры", "ge_name": "Computers", "fr_name": "Des ordinateurs", "it_name": "computers", "sp_name": "Ordenadores", "description": "Category", "ru_description": "категория", "ge_description": null, "fr_description": null, "it_description": null, "sp_description": null, "avatar": null, "image": null, "type": "product", "created_at": "2017-06-28T21:54:38.000Z", "updated_at": "2017-06-28T21:54:38.000Z", "lft": 31, "rgt": 48, "parent_id": 0 }
    }
Responses
Status: 302 - Error

Search Auction

GET

https://pennyapi.auctionsoftwaremarketplace.com/search

Headers
Content-Type : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/search" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded"

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/search", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/search', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    }
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Place Bid

This API is called to place a bid on a particular product. This API returns the Success or Error Response.

POST

https://pennyapi.auctionsoftwaremarketplace.com/product/confirm

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwOTA0MDd9.L7mq-Z16WNgNfr4veffSEAeIDz-alSDTss5VPhWhurs
Usage and Examples

curl --location --request POST "https://pennyapi.auctionsoftwaremarketplace.com/product/confirm" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwOTA0MDd9.L7mq-Z16WNgNfr4veffSEAeIDz-alSDTss5VPhWhurs" \ --form "id=7"

var form = new FormData(); form.append("id", "7"); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/product/confirm", "method": "POST", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwOTA0MDd9.L7mq-Z16WNgNfr4veffSEAeIDz-alSDTss5VPhWhurs" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'POST', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/product/confirm', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwOTA0MDd9.L7mq-Z16WNgNfr4veffSEAeIDz-alSDTss5VPhWhurs' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"id\"\r\n\r\n7\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • id : 7 _csrf : 0b7844c364623c3a4c17cf211c828882
    }
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : true, "res_code" : 202, "data" : "Accepted Bid"
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Login Required"
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "login token missing"
    }
  • {
    • "success" : false, "res_code" : 203, "data" : "invalid_csrf token"
    }

All Bid History

GET

https://pennyapi.auctionsoftwaremarketplace.com/product/all_bid_history/7

Headers
Content-Type : application/json
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODY1MTYwMn0.pe9ZkDjvWESrBkqMF9_P_y4dMt7QMW7hdzMSWgAG0M0
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/product/all_bid_history/7" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/json" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODY1MTYwMn0.pe9ZkDjvWESrBkqMF9_P_y4dMt7QMW7hdzMSWgAG0M0" \ --data ""

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/product/all_bid_history/7", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/json", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODY1MTYwMn0.pe9ZkDjvWESrBkqMF9_P_y4dMt7QMW7hdzMSWgAG0M0" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/product/all_bid_history/7', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/json', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODY1MTYwMn0.pe9ZkDjvWESrBkqMF9_P_y4dMt7QMW7hdzMSWgAG0M0' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : [ "id" : int, "user_id" : int, "added" : int, "added_promo" : int, "used" : int, "used_promo" : int, "bal" : int, "bal_promo" : int, "auction_id" : int, "transaction_id" : string, "date_added" : string, "date" : string ], "pagination" : string
    }
  • {
    • "success" : true, "res_code" : 202, "data" : [ "id" : 10, "user_id" : 2, "added" : 100, "added_promo" : 5, "used" : 0, "used_promo" : 0, "bal" : 100, "bal_promo" : 39, "auction_id" : 0, "transaction_id" : "2ACC1537426790835", "date_added" : "2018-09-20T06:59:50.000Z", "date" : "09/20/2018 12:29:50" ], "pagination" : "<a class=\"active\" href=\"/dashboard/real-bid-balance/?page=1\">1</a> <a href=\"/dashboard/real-bid-balance/?page=2\">2</a> <a href=\"/dashboard/real-bid-balance/?page=2\">»</a>"
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Login Required"
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "login token missing"
    }

Bid Package

This API is to Fetch all the list Bid Packs available. The Bid Packs are created and Updated in Admin Side

GET

https://pennyapi.auctionsoftwaremarketplace.com/bid_package

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/bid_package" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So" \ --data ""

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/bid_package", "method": "GET", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded", "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/bid_package', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded', 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Home Auction

This API is to fetch Products Details to be shown in the Home Page.

GET

https://pennyapi.auctionsoftwaremarketplace.com/item_detail

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/item_detail" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So" \ --data ""

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/item_detail", "method": "GET", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded", "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/item_detail', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded', 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDEsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzJAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0OTUxNzA4N30.uWIk64O9JZ0cRS0pzJm7VQWLj-JIEGoVTSVvH-wY4So' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Update Currency

This API is to Update the Currency of the User and It Returns the Error and Success Response

POST

https://pennyapi.auctionsoftwaremarketplace.com/dashboard/update_currency

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDAsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzExQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDk0MzQ5MzZ9.ph6IcK-kzYJMleqPXAI_X40Ya-4ZcoMnl-1XOiqcxBo
Usage and Examples

curl --location --request POST "https://pennyapi.auctionsoftwaremarketplace.com/dashboard/update_currency" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDAsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzExQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDk0MzQ5MzZ9.ph6IcK-kzYJMleqPXAI_X40Ya-4ZcoMnl-1XOiqcxBo" \ --form "currency=€"

var form = new FormData(); form.append("currency", "€"); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/dashboard/update_currency", "method": "POST", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDAsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzExQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDk0MzQ5MzZ9.ph6IcK-kzYJMleqPXAI_X40Ya-4ZcoMnl-1XOiqcxBo" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'POST', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/dashboard/update_currency', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDAsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzExQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDk0MzQ5MzZ9.ph6IcK-kzYJMleqPXAI_X40Ya-4ZcoMnl-1XOiqcxBo' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"currency\"\r\n\r\n€\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • currency : € id : 91
    }
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : true, "res_code" : 202, "data" : "currency updated"
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }

Product View

This API is to Fetch all the Data of the Product including Bid History of this Product. The Specific product ID is Passed in the API

GET

https://pennyapi.auctionsoftwaremarketplace.com/product/view/:id

Headers
Content-Type : application/json
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/product/view/:id" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/json" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA" \ --data ""

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/product/view/:id", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/json", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA" }, }; $.ajax(settings).done(function (response) { console.log(response); });

Usage and Examples
Body parameters
Name Description
userdetails
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" :
      • [ {
        • "id" : int, "name" : string, "ru_name" : string, "ge_name" : string, "fr_name" : string, "it_name" : string, "sp_name" : string, "description" : string, "ru_description" : string, "ge_description" : string, "fr_description" : string, "it_description" : string, "sp_description" : string, "avatar" : string, "image" : string, "type" : string, "created_at" : string, "updated_at" : string, "lft" : int, "rgt" : int, "parent_id" : int, "auc_num" : int
        } ],
    }
  • {
    • "success" : true, "res_code" : 202, "data" :
      • [ {
        • "id": 1, "name": "Cameras & Camcorders", "ru_name": "Камеры и видеокамеры", "ge_name": "Kameras und Camcorder", "fr_name": "Caméras & Caméscopes", "it_name": "Fotocamere e videocamere", "sp_name": "Cámaras y Videocámaras", "description": "Category", "ru_description": "категория", "ge_description": "Kategorie", "fr_description": "Catégorie", "it_description": "Categoria", "sp_description": "\nCategoría", "avatar": null, "image": null, "type": "product", "created_at": "2017-06-23T23:13:22.000Z", "updated_at": "2017-06-28T21:54:16.000Z", "lft": 23, "rgt": 30, "parent_id": 0, "auc_num": 14
        } ],
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }

Add Auto Bids

This API is used to Activate the Auto Bid by the Logged In User by passing some parameters like start_amount, end_amount, maxbids, project_id etc.

POST

https://pennyapi.auctionsoftwaremarketplace.com/product/addautobids

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwMjIxMTZ9._m8bcAsI5UFCagVdMWu3bP4J1XJESya_Nt3hzbfWB_8
Usage and Examples

curl --location --request POST "https://pennyapi.auctionsoftwaremarketplace.com/product/addautobids" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwMjIxMTZ9._m8bcAsI5UFCagVdMWu3bP4J1XJESya_Nt3hzbfWB_8" \ --form "project_id =7" \ --form "start_amount=110" \ --form "end_amount=120" \ --form "maxbids=5" \ --form "auctionType =reserve" \ --form "restrict_bid_limit=0" \ --form "sniperApplied=0"

var form = new FormData(); form.append("project_id ", "7"); form.append("start_amount", "110"); form.append("end_amount", "120"); form.append("maxbids", "5"); form.append("auctionType ", "reserve"); form.append("restrict_bid_limit", "0"); form.append("sniperApplied", "0"); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/product/addautobids", "method": "POST", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwMjIxMTZ9._m8bcAsI5UFCagVdMWu3bP4J1XJESya_Nt3hzbfWB_8" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'POST', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/product/addautobids', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NiwiZW1haWwiOiJkbWFub2JhbGEuYXVjdGlvbnNvZnR3YXJlK2J1eWVyb25lQGdtYWlsLmNvbSIsInN0YXR1cyI6ImFjdGl2ZSIsImFkbWluIjowLCJpYXQiOjE1NDkwMjIxMTZ9._m8bcAsI5UFCagVdMWu3bP4J1XJESya_Nt3hzbfWB_8' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"project_id \"\r\n\r\n7\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"start_amount\"\r\n\r\n110\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"end_amount\"\r\n\r\n120\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"maxbids\"\r\n\r\n5\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"auctionType \"\r\n\r\nreserve\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"restrict_bid_limit\"\r\n\r\n0\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"sniperApplied\"\r\n\r\n0\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • project_id : 7 start_amount : 110 end_amount : 120 maxbids : 5 auctionType : reserve restrict_bid_limit : 0 sniperApplied : 0
    }
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Item Checkout

GET

https://pennyapi.auctionsoftwaremarketplace.com/product/checkout_confirm/94/bidpack/acc_no/bid_no

Headers
Content-Type : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0Nzc5Njk5MX0.ZIoI1MczkL-p19EuvbCgtJLzU-ytsJXUY4JjsN_glrg
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/product/checkout_confirm/94/bidpack/acc_no/bid_no" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0Nzc5Njk5MX0.ZIoI1MczkL-p19EuvbCgtJLzU-ytsJXUY4JjsN_glrg"

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/product/checkout_confirm/94/bidpack/acc_no/bid_no", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0Nzc5Njk5MX0.ZIoI1MczkL-p19EuvbCgtJLzU-ytsJXUY4JjsN_glrg" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/product/checkout_confirm/94/bidpack/acc_no/bid_no', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0Nzc5Njk5MX0.ZIoI1MczkL-p19EuvbCgtJLzU-ytsJXUY4JjsN_glrg' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    }
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Buy Now Checkout

The API is to confirm the payment and Product Details of the BuyNow product. This API will give the responce of the Product Detailes and Payment Option.

GET

https://pennyapi.auctionsoftwaremarketplace.com/product/checkout_gateways_buynow?id=7

Headers
Content-Type : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0NzcyMTA5OH0.2llzS-uxilL3t9oZ5MLqDZqo1_lZ_4e6Gyc2q6xA644
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/product/checkout_gateways_buynow?id=7" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0NzcyMTA5OH0.2llzS-uxilL3t9oZ5MLqDZqo1_lZ_4e6Gyc2q6xA644"

var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/product/checkout_gateways_buynow?id=7", "method": "GET", "timeout": 0, "headers": { "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "Content-Type": "application/x-www-form-urlencoded", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0NzcyMTA5OH0.2llzS-uxilL3t9oZ5MLqDZqo1_lZ_4e6Gyc2q6xA644" }, }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/product/checkout_gateways_buynow?id=7', 'headers': { 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'Content-Type': 'application/x-www-form-urlencoded', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0NzcyMTA5OH0.2llzS-uxilL3t9oZ5MLqDZqo1_lZ_4e6Gyc2q6xA644' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • id : 7
    }
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Profile

This API is to fetch all the Detailes of the Logged in User like first_name, ast_name, aboutme, address1, address2, country, state, city, zip, phone, image and avatar.

GET

https://pennyapi.auctionsoftwaremarketplace.com/profile_settings/

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA
Usage and Examples

curl --location --request GET "https://pennyapi.auctionsoftwaremarketplace.com/profile_settings" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA" \ --form "username=Develop " \ --form "lastname=LLC" \ --form "firstname=Developscripts" \ --form "aboutme=mcdjk" \ --form "image=" \ --form "address1=dsf" \ --form "address2=fddf" \ --form "country=India" \ --form "state=Tamil Nadu" \ --form "city=chh" \ --form "zip=600070" \ --form "phone=9876543210"

var form = new FormData(); form.append("username", "Develop "); form.append("lastname", "LLC"); form.append("firstname", "Developscripts"); form.append("aboutme", "mcdjk"); form.append("image", ""); form.append("address1", "dsf"); form.append("address2", "fddf"); form.append("country", "India"); form.append("state", "Tamil Nadu"); form.append("city", "chh"); form.append("zip", "600070"); form.append("phone", "9876543210"); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/profile_settings", "method": "GET", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded", "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'GET', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/profile_settings', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded', 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"username\"\r\n\r\nDevelop \r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"lastname\"\r\n\r\nLLC\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"firstname\"\r\n\r\nDevelopscripts\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"aboutme\"\r\n\r\nmcdjk\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"image\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"address1\"\r\n\r\ndsf\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"address2\"\r\n\r\nfddf\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nIndia\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\nTamil Nadu\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"city\"\r\n\r\nchh\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"zip\"\r\n\r\n600070\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"phone\"\r\n\r\n9876543210\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • username : Develop lastname : LLC firstname : Developscripts aboutme : mcdjk image : address1 : dsf address2 : fddf country : India state : Tamil Nadu city : chh zip : 600070 phone : 9876543210
    }
Responses
Status: 202 - Success
  • {
    • "success" : boolen, "res_code" : int, "data" : { "config": array, "leftmenu": array, "users": { "username": string, "email": string, "id": int, "first_name": string, "last_name": string, "aboutme": string, "address1": string, "address2": string, "country": string, "state": string, "city": string, "zip": string, "phone": string, "image": string, "avatar": string, "fb_id": string, "id_proof": string, "id_name": string, "add_name": string, "add_proof": string, "id_verified": int, "add_verified": int } "mcats": string, "msg": string, "res_msg": string, "pagetitle": string, "ptitle": string }
    }
  • {
    • "success" : true, "res_code" : 202, "data" : { "config": [], "leftmenu": [], "users": { "username": "test_username", "email": "sample@auctionsoftware.com", "id": 42, "first_name": "testfirst", "last_name": "testlast", "aboutme": null, "address1": null, "address2": "", "country": "india", "state": null, "city": null, "zip": null, "phone": "+91 987654321", "image": null, "avatar": "", "fb_id": "", "id_proof": null, "id_name": null, "add_name": null, "add_proof": null, "id_verified": 0, "add_verified": 0 }; "mcats": null, "msg": "", "res_msg": "", "pagetitle": "", "ptitle": "profile_settings" }
    }
Responses
Status: 302 - Error
  • {
    • "success" : boolen, "res_code" : int, "data" : string
    }
  • {
    • "success" : false, "res_code" : 401, "data" : "Failed to authenticate token."
    }

Profile Edit

This API is to Update Profile Details of the Current Logged in User. The Profile Details need to Update are passed to this API in Body like firstname, lastname, username, aboutme, avatar, image, address1, address2, country, state, city, zip, phone.

POST

https://pennyapi.auctionsoftwaremarketplace.com/profile_settings/update

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA
Usage and Examples

curl --location --request POST "https://pennyapi.auctionsoftwaremarketplace.com/profile_settings/update" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "app_id: PennyAuctionAPI" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA" \ --form "username=Develop " \ --form "lastname=LLC" \ --form "firstname=Developscripts" \ --form "aboutme=mcdjk" \ --form "image=" \ --form "address1=dsf" \ --form "address2=fddf" \ --form "country=India" \ --form "state=Tamil Nadu" \ --form "city=chh" \ --form "zip=600070" \ --form "phone=9876543210" \ --form "profile_image=@"

var form = new FormData(); form.append("username", "Develop "); form.append("lastname", "LLC"); form.append("firstname", "Developscripts"); form.append("aboutme", "mcdjk"); form.append("image", ""); form.append("address1", "dsf"); form.append("address2", "fddf"); form.append("country", "India"); form.append("state", "Tamil Nadu"); form.append("city", "chh"); form.append("zip", "600070"); form.append("phone", "9876543210"); form.append("profile_image", ""); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/profile_settings/update", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded", "app_id": "PennyAuctionAPI", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'POST', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/profile_settings/update', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded', 'app_id': 'PennyAuctionAPI', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywiZW1haWwiOiJ1bmRlZmluZWQiLCJpYXQiOjE1NDM5ODQ5NTV9.GJszX4rRnniRESXPPZRrruAVTo6zUFtxxKtwYQuWBDA' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"username\"\r\n\r\nDevelop \r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"lastname\"\r\n\r\nLLC\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"firstname\"\r\n\r\nDevelopscripts\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"aboutme\"\r\n\r\nmcdjk\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"image\"\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"address1\"\r\n\r\ndsf\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"address2\"\r\n\r\nfddf\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"country\"\r\n\r\nIndia\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"state\"\r\n\r\nTamil Nadu\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"city\"\r\n\r\nchh\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"zip\"\r\n\r\n600070\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"phone\"\r\n\r\n9876543210\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"profile_image\"; filename=\"Insert_File_Name\"\r\nContent-Type: \"Insert_File_Content_Type\"\r\n\r\nInsert_File_Content\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • username : Develop lastname : LLC firstname : Developscripts aboutme : mcdjk image : address1 : dsf address2 : fddf country : India state : Tamil Nadu city : chh zip : 600070 phone : 9876543210 profile_image :
    }
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Paypal URL

This API returns the Paypal URL with some specific conditions

POST

https://pennyapi.auctionsoftwaremarketplace.com/dashboard/payForBid

Headers
Content-Type : application/x-www-form-urlencoded
app_id : PennyAuctionAPI
app_secret : 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f
login_token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODA1MDYyMH0.ULCal59KnLHpkxZUZXK0g-qOrkb0WRrb7wDanSftUys
Usage and Examples

curl --location --request POST "https://pennyapi.auctionsoftwaremarketplace.com/dashboard/payForBid" \ --header "Content-Type: application/x-www-form-urlencoded" \ --header "app_secret: 0938e831c1ec8024e5359d9f4796159d4d27b2f0874f" \ --header "app_id: PennyAuctionAPI" \ --header "login_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODA1MDYyMH0.ULCal59KnLHpkxZUZXK0g-qOrkb0WRrb7wDanSftUys" \ --form "projects=101" \ --form "pay_type=paypal" \ --form "pay_for=bidpack" \ --form "my_acc=acc_no" \ --form "my_bid=bid_no"

var form = new FormData(); form.append("projects", "101"); form.append("pay_type", "paypal"); form.append("pay_for", "bidpack"); form.append("my_acc", "acc_no"); form.append("my_bid", "bid_no"); var settings = { "url": "https://pennyapi.auctionsoftwaremarketplace.com/dashboard/payForBid", "method": "POST", "timeout": 0, "headers": { "Content-Type": "application/x-www-form-urlencoded", "app_secret": "0938e831c1ec8024e5359d9f4796159d4d27b2f0874f", "app_id": "PennyAuctionAPI", "login_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODA1MDYyMH0.ULCal59KnLHpkxZUZXK0g-qOrkb0WRrb7wDanSftUys" }, "processData": false, "mimeType": "multipart/form-data", "contentType": false, "data": form }; $.ajax(settings).done(function (response) { console.log(response); });

var https = require('https'); var options = { 'method': 'POST', 'hostname': 'pennyapi.auctionsoftwaremarketplace.com', 'path': '/dashboard/payForBid', 'headers': { 'Content-Type': 'application/x-www-form-urlencoded', 'app_secret': '0938e831c1ec8024e5359d9f4796159d4d27b2f0874f', 'app_id': 'PennyAuctionAPI', 'login_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImVtYWlsIjoiZGVlcGEuYXVjdGlvbnNvZnR3YXJlKzFAZ21haWwuY29tIiwic3RhdHVzIjoiYWN0aXZlIiwiYWRtaW4iOjAsImlhdCI6MTU0ODA1MDYyMH0.ULCal59KnLHpkxZUZXK0g-qOrkb0WRrb7wDanSftUys' } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function (chunk) { var body = Buffer.concat(chunks); console.log(body.toString()); }); res.on("error", function (error) { console.error(error); }); }); var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"projects\"\r\n\r\n101\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"pay_type\"\r\n\r\npaypal\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"pay_for\"\r\n\r\nbidpack\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"my_acc\"\r\n\r\nacc_no\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"my_bid\"\r\n\r\nbid_no\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); req.write(postData); req.end();

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • projects : 101 pay_type : paypal pay_for : bidpack my_acc : acc_no my_bid : bid_no
    }
Responses
Status: 202 - Success
Responses
Status: 302 - Error