Methods
- checkOAuthAccessToken
- contactUser
- createItem
- createOrder
- createSSOToken
- deleteItem
- deleteOAuthAccessToken
- getCharities
- getCountries
- getCountriesByRegion
- getCurrencies
- getDownload
- getGeoRadius
- getItem
- getLanguages
- getMarketplace
- getMarketplaceCategorySearch
- getMarketplaceSearch
- getMarketplaceUsers
- getMyItems
- getMyMarketplaces
- getMyOrders
- getMyProfile
- getOAuthAccessToken
- getOAuthPermission
- getOrderStatus
- getRegions
- getSearch
- getSearchSuggestions
- getShipmentCountries
- getUserItems
- getUserProfile
- getWidget
- updateItem
- updateMyProfile
- uploadFile
- uploadImage
checkOAuthAccessToken (GET)
This method has no description
Parameters
This parameter field has no description
Results
This result field has no description
Example
{"success":"sample value"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/oauth/access_token/{access_token}
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
contactUser (POST)
Contact an user to ask a question about an item.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission".
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
The ID of the user you want to send a message to
For example: "sPSjqB4Q"
The name of the sender
For example: "Uncle Joe "
The e-mail address of the sender
For example: "info@example.com"
The message contents of the contact mail
For example: "Hi, do you also have the jeans in black?"
The subject of the message
For example: "Question about your jeans"
Results
Returns true or false
For example: "true"
Example
{"success":true}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/user/{user_id}/contact
access_token=A-VALUE
name=A-VALUE
email=A-VALUE
message=A-VALUE
subject=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
createItem (POST)
Create a new item.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission" (requires 'create_item' permission).
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
The title of your item
For example: "Monkey T-shirt (White)"
The currency of your item. You can find all supported currencies with the "getCurrencies" method.
For example: "USD"
The price of your item.
For example: "14.99"
The description of your item. The better your description, the better your chances of selling!
For example: "Original Monkey shirts! Handmade in Oakland, California."
The tags of your item. Use tags to improve the searchability and distribution of your item. You can insert multiple tags by separating them with commas. Maximum 20 tags allowed.
For example: "t-shirt,monkey,white"
The quantity of your item. Use -1 for unlimited and 1 or more for fixed amounts.
For example: "20"
Requires your buyers to enter a shipment address when they're buying your item. Comes in handy if you want to know where to ship your item! Default: false.
For example: "true"
Define the countries or regions that you'll be able to ship your item to. Use the 2 letter country code for individual countries or the regions from the "getRegions" method to define all the countries in a region at once! You can define multiple shipment_countries by separating them with a comma.
For example: "US,FR,IT,european_union"
Define the shipment costs for the countries or regions you've defined in 'shipment_countries'. Make sure you put the costs in the same order! Separate multiple costs with a comma.
For example: "2,4.50,5,6.90"
Charges shipment costs per item instead per order. This means that the shipment costs will increase with every item. Default: false.
For example: "false"
The latitude coordinate for your item. If your item doesn't have a physical location simply provide the location of any place you'd like. Range: -90 to 90.
For example: "37.80436"
The longitude coordinate for your item. If your item doesn't have a physical location simply provide the location of any place you'd like. Range: -180 to 180.
For example: "-122.27111"
The image_tokens from the images you've uploaded with "uploadImage". You can define multiple image_tokens by separating them with a comma. Keep in mind that you can always add images later on.
For example: "pIgxQUZlQHyuWrgrvRZeOdi1D6lIWyx4,nXdZjB6lFklmGWLzby7B7ynAX5fqPIWs"
The file_token from the file you've uploaded with "uploadFile". It's only possible to define a single file. Keep in mind that you can always add a file later on.
For example: "6Fe4BByWLCxGrsOtTVBIPE5RgC57EjGU"
The widget url of an Embed.ly supported service. See http://embed.ly/providers for the entire list.
For example: "http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"
Enter a charity_id if you want to donate a certain percentage (see charity_percentage) to a charity. You can find all supported charities with the "getCharities" method.
For example: "a7Fdfx"
The percentage of your sales price you want to donate to a charity. Range: 0.01 (1%) to 1 (100%).
For example: "0.2"
The language in which this item is placed. This property is used to improve the searchability of your item. You can find all supported languages with the "getLanguages" method.
For example: "en-us"
The primary country in which this item is placed. This property is used to improve the searchability of your item. You can find all supported countries with the "getCountries" method.
For example: "US"
Only applicable if item is placed on a marketplace with categories: the ID of the marketplace category the item should be placed in
For example: "cakFlDoI"
Results
Returns the ID of the generated item
For example: "k3UKyTp"
Example
{"item_id":"k3UKyTp"}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/item
access_token=A-VALUE
title=A-VALUE
currency=A-VALUE
price=A-VALUE
description=A-VALUE
tags=A-VALUE
quantity=A-VALUE
require_shipment_address=A-VALUE
shipment_countries=A-VALUE
shipment_costs=A-VALUE
shipment_costs_per_item=A-VALUE
geo_latitude=A-VALUE
geo_longitude=A-VALUE
image_tokens=A-VALUE
file_token=A-VALUE
widget_url=A-VALUE
charity_id=A-VALUE
charity_percentage=A-VALUE
language=A-VALUE
country=A-VALUE
marketplace_category_id=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
createOrder (POST)
Place a new order for an item.
Parameters
The ID of the item you want to order
For example: "PBsgWR7"
The name of the buyer
For example: "Steve Jobs"
The e-mail address of the buyer
For example: "sjobs@apple.com"
The first address line of the shipment address
For example: "1 Infinite Loop"
The second address line of the shipment address
For example: "CEO's office"
The postal or zip code of the shipment address
For example: "95014"
The state or province of the shipment address
For example: "CA"
The city of the shipment address
For example: "Cupertino"
The 2 letter ISO 3166-1 country code
For example: "US"
The comment you'd like to leave for the seller.
For example: "Hi, please make sure you ring twice."
The amount of items you want to order
For example: "2"
The url the buyer should be redirected to if the payment fails
For example: "http://example.com/order/fail"
The url the buyer should be redirected to if the payment succeeds
For example: "http://example.com/order/success"
The ID of one of your Marketplaces. This will be used to deduct your sales fee from the seller so make sure you don't forget this! If you don't provide an ID the seller will be charged 0%.
For example: "mYcyh0q4"
Access token of the seller (only needed if you decide to use custom_price)
For example: "OvxHFe9K7xKLO3N3VJ57QnszWDUYfxy..."
Sell your item at a custom price (only the seller him/herself is allowed to customize the price).
For example: "24.99"
Results
The ID of the created order
For example: "ofrqtJiHB7JUUL25q7zXWZsfhU7OYh0o"
The unique URL for the PayPal payment. Redirect your user to this URL to complete the payment. Note: you can only use this URL once!
For example: "https://www.paypal.com/..."
Example
{"order_id":"ofrqtJiHB7JUUL25q7zXWZsfhU7OYh0o","paypal_url":"https://www.paypal.com/..."}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/item/{item_id}/order
name=A-VALUE
email=A-VALUE
address_line_1=A-VALUE
address_line_2=A-VALUE
postal_zip_code=A-VALUE
state_province=A-VALUE
city=A-VALUE
country=A-VALUE
comment=A-VALUE
quantity=A-VALUE
cancel_url=A-VALUE
return_url=A-VALUE
marketplace_id=A-VALUE
access_token=A-VALUE
custom_price=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
createSSOToken (GET)
This method has no description
Parameters
This parameter field has no description
Results
This result field has no description
Example
{"sso_token":"sample value"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/sso?access_token=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
deleteItem (POST)
Delete an item.
Parameters
This method requires a valid access_token. You can obtain your personal access token with "getMyAccessToken" or request permission from another user with "getOAuthPermission" (requires 'delete_item' permission). The access token user has to be the owner of this item to be able to perform this action.
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
The ID of the item you want to delete.
For example: "NbJq6B4"
Results
Returns true or false.
For example: "true"
Example
{"success":true}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/item/{item_id}/delete
access_token=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
deleteOAuthAccessToken (POST)
Disconnect an user from your marketplace.
Parameters
This method requires an existing access_token from another user that you got with "getOAuthPermission".
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
The ID of the marketplace that is connected to this access token.
For example: "mYcyh0q4"
Results
True on success (this method is idempotent so it will always return true if the access token has already been deleted.)
For example: "true"
Example
{"success":true}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/oauth/access_token/{access_token}/delete
marketplace_id=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getCharities (GET)
View all supported charities.
Parameters
This method has no parameters
Results (Array)
The ID of the charity
For example: "W0NFmK"
The description of the charity
For example: "Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world."
The website of the charity
For example: "http://www.musicforrelief.org"
Item only: shows the charity percentage that gets donated to the charity.
For example: "0.2"
The title of the charity
For example: "Music For Relief"
The Twitter username of the charity. Use this to send tweets!
For example: "@MusicForRelief"
Example
[{"charity_id":"W0NFmK","description":"Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world.","link":"http://www.musicforrelief.org","percentage":"0.2","title":"Music For Relief","twitter":"@MusicForRelief"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/charities
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getCountries (GET)
View all supported countries.
Parameters
This parameter field has no description
Results (Array)
The 2 letter ISO 3166-1 country code
For example: "US"
The title of the country
For example: "United States"
Example
[{"code":"US","title":"United States"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/countries?language=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getCountriesByRegion (GET)
View all supported countries within a region.
Parameters
The region code. See "getRegions" for all supported regions.
For example: "european_union"
Results (Array)
The 2 letter ISO 3166-1 country code
For example: "NL"
The title of the country
For example: "The Netherlands"
Example
[{"code":"NL","title":"The Netherlands"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/countries/{region}
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getCurrencies (GET)
View all supported currencies.
Parameters
This method has no parameters
Results (Array)
The ISO 4217 currency code.
For example: "EUR"
The exchange rate of the currency in relation to the US Dollar. Updates every 3 hours.
For example: "1.39721981202"
The currency sign.
For example: "€"
The English title of the currency.
For example: "Euros"
Example
[{"code":"EUR","exchange_rate":"1.39721981202","sign":"€","title":"Euros"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/currencies
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getDownload (GET)
Retrieve the download link to a purchased file
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission".
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
The ID of the order.
For example: "oVlxpIK3jWTOlMl3BOJ4qDCpjBcWSqA5"
Results
A unique download link that points directly to the digital file. Note: this link expires in 60 seconds!
For example: "http://file.tinypay.me/28ad000a0213325843f6e99..."
Example
{"download_link":"http://file.tinypay.me/28ad000a0213325843f6e99..."}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/order/{order_id}/download?access_token=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getGeoRadius (GET)
Retrieves all items in a given radius on a specific geographical location.
Parameters
Your longitude coordinates. (-180 to 180).
For example: "37.789644"
Your latitude coordinates (-90 to 90).
For example: "-122.395456"
The radius in units defined by "unit".
For example: "1500"
The units in which radius is defined. "mi" (miles), "km" (kilometer), "m" (meter), "yd" (yard) and "ft" (feet) are allowed.
For example: "mi"
Results
See the "getSearch" method for the returned parameters.
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
Example
{"results":[{"item_id":"sample value","item_url":"sample value","title":"sample value","description":"sample value","price":"sample value","currency":"sample value","user_id":"sample value","user_name":"sample value","user_url":"sample value","user":{"user_id":"sample value","url":"sample value","name":"sample value","avatar":"sample value","bio":"sample value","time_created":"sample value","language":"sample value","rating":"sample value","facebook":"sample value","linkedin":"sample value","twitter":"sample value"},"marketplace_id":"sample value","category_id":"sample value","thumbnail":"sample value","image":{"original":"sample value","large":"sample value","medium":"sample value","small":"sample value","xsmall":"sample value","xxsmall":"sample value"},"geo":{"latitude":"sample value","longitude":"sample value"}}],"results_count":"sample value","results_from":"sample value","results_to":"sample value","total_count":"sample value"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/georadius?mylat=A-VALUE&mylon=A-VALUE&range=A-VALUE&unit=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getItem (GET)
Retrieve an item.
Parameters
The ID of an item
For example: "p18t0qt"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "item_id,title,user_id,images.small,price,currency"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "geo,images.medium,charity"
Results
Charity details (if present).
The ID of the charity
For example: "W0NFmK"
The percentage of the sales that gets donated to the charity. 0.1 (1%) to 1 (100%).
For example: "0.2"
The title of the charity
For example: "Music For Relief"
The description of the charity
For example: "Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world."
The website of the charity
For example: "http://www.musicforrelief.org"
The Twitter username of the charity. Use this to send tweets!
For example: "@MusicForRelief"
The country where this item is placed
For example: "US"
The currency of this item
For example: "EUR"
The description of this item.
For example: "A portable and lightweight iPad Stand."
Downloadable file details (if present).
The file token is the identifier of the uploaded file and the result of the "uploadFile" method.
For example: "OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt"
The name of the downloadable file
For example: "The_Wooden_Ipad_Stand_Story.pdf.zip"
The file size of the downloadable file
For example: "1.46 MB"
Image only: thumbnail of the uploaded image.
For example: "http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."
Geographical coordinates of this item
The latitude coordinate of this item
For example: "52.233"
The longitude coordinate of this item
For example: "5.183"
List of item images (if present).
Original size of the image.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Large size of the image. Maximum dimensions: 800 x 600 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Medium size of the image. Maximum dimensions: 640 x 480 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Small size of the image. Maximum dimensions: 320 x 420 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extra small size of the image. Maximum dimensions: 180 x 135 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extremely small size of the image. Maximum dimensions: 90 x 68 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
The ID of the item
For example: "p18t0qt"
The language of this item
For example: "en-us"
This result field has no description
The price of an item
For example: "14.99"
The quantity of an item. -1 stands for: unlimited. 0 stands for: sold out.
For example: "20"
List of shipment areas and corresponding shipment costs. Use the "getShipmentCountries" method to fully expand the list of all shipment countries within regions.
The shipment area code.
For example: "european_union"
The shipment costs to that area.
For example: "4.90"
Tells you whether this area is a region (which consists of multiple countries) or an individual country (2 letter ISO 3166-1 code).
For example: "true"
This result field has no description
Tells you if this seller wants to charge shipment costs per item, instead of per order
For example: "false"
List of tags of the item. Tags play an important role in the "getSearch" method.
For example: "game"
The thumbnail version of the image. Includes the price of the item.
For example: "http://img.tinypay.me/btn/p18t0qt"
The UNIX timestamp of when this item was created
For example: "1296330318"
The title of the item
For example: "The Ultra Portable Wooden iPad Stand"
The URL of the item
For example: "http://tinypay.me/~gwb3M6U"
The seller of this item
The ID of the user
For example: "soV3nwLn"
The URL of the user's profile page
For example: "http://tinypay.me/uncle-joe"
The name of the user
For example: "Uncle Joe"
The URL of the user's avatar
For example: "http://img.tinypay.me/user/s7pW3..."
The 'about me' description of the user
For example: "Hi, welcome to my shop! Contact me if you have any questions."
The UNIX timestamp of when this user was created
For example: "1290853844"
The preferred language of the user
For example: "en-us"
The rating of the user on a scale of 1 to 5. 0 stands for: no rating yet.
For example: "3.8"
This result field has no description
This result field has no description
This result field has no description
The widget url of a Embed.ly supported service. See http://embed.ly/providers for the entire list.
For example: "http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"
Example
{"charity":{"charity_id":"W0NFmK","percentage":0.2,"title":"Music For Relief","description":"Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world.","link":"http://www.musicforrelief.org","twitter":"@MusicForRelief"},"country":"US","currency":"EUR","description":"A portable and lightweight iPad Stand.","file":{"token":"OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt","name":"The_Wooden_Ipad_Stand_Story.pdf.zip","size":"1.46 MB","thumbnail":"http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."},"geo":{"latitude":52.233,"longitude":5.183},"images":[{"original":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","large":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","medium":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","small":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xxsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."}],"item_id":"p18t0qt","language":"en-us","marketplace_id":"sample value","price":"14.99","quantity":20,"shipment_costs":[{"area":"european_union","shipment_cost":4.90,"is_region":true,"title":"sample value"}],"shipment_costs_per_item":false,"tags":["game"],"thumbnail":"http://img.tinypay.me/btn/p18t0qt","time_created":1296330318,"title":"The Ultra Portable Wooden iPad Stand","url":"http://tinypay.me/~gwb3M6U","user":{"user_id":"soV3nwLn","url":"http://tinypay.me/uncle-joe","name":"Uncle Joe","avatar":"http://img.tinypay.me/user/s7pW3...","bio":"Hi, welcome to my shop! Contact me if you have any questions.","time_created":1290853844,"language":"en-us","rating":3.8,"facebook":"sample value","linkedin":"sample value","twitter":"sample value"},"widget_url":"http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/item/{item_id}?select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getLanguages (GET)
View all supported languages.
Parameters
This method has no parameters
Results (Array)
The lowercase IETF tag of the language
For example: "en-us"
The English title of the language
For example: "English (US)"
Example
[{"code":"en-us","title":"English (US)"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/languages
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMarketplace (GET)
Retrieve a marketplace.
Parameters
The ID of the marketplace. You can use internal IDs (e.g. "mteY4kEZ") or public IDs (e.g. "xboxworld").
For example: "mteY4kEZ"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "title,url,categories.title,logo"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "description,categories.category_id,url"
Results
List of marketplace categories (if present).
The ID of the marketplace category.
For example: "cENVHVhE"
The title of the marketplace category.
For example: "Xbox 360 Games"
The URL of the marketplace category
For example: "http://xboxworld.tinypay.me/#xbox-360"
The description of the marketplace.
For example: "Sell your Xbox 360, Wii, Playstation 3, PC games and your soul!"
The URL of the logo of the marketplace.
For example: "http://img.tinypay.me/marketplace/mh9u..."
The ID of the marketplace
For example: "mteY4kEZ"
The title of the marketplace
For example: "Xboxworld"
The URL of the marketplace
For example: "http://xboxworld.tinypay.me"
Example
{"categories":[{"category_id":"cENVHVhE","title":"Xbox 360 Games","url":"http://xboxworld.tinypay.me/#xbox-360"}],"description":"Sell your Xbox 360, Wii, Playstation 3, PC games and your soul!","logo":"http://img.tinypay.me/marketplace/mh9u...","marketplace_id":"mteY4kEZ","title":"Xboxworld","url":"http://xboxworld.tinypay.me"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/marketplace/{marketplace_id}?select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMarketplaceCategorySearch (GET)
Search for all items in a specific marketplace category. See the "getSearch" method for more indepth documentation.
Parameters
The ID of the marketplace
The ID of the marketplace category
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
Results
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
Example
{"results":[{"item_id":"sample value","item_url":"sample value","title":"sample value","description":"sample value","price":"sample value","currency":"sample value","user_id":"sample value","user_name":"sample value","user_url":"sample value","user":{"user_id":"sample value","url":"sample value","name":"sample value","avatar":"sample value","bio":"sample value","time_created":"sample value","language":"sample value","rating":"sample value","facebook":"sample value","linkedin":"sample value","twitter":"sample value"},"marketplace_id":"sample value","category_id":"sample value","thumbnail":"sample value","image":{"original":"sample value","large":"sample value","medium":"sample value","small":"sample value","xsmall":"sample value","xxsmall":"sample value"},"geo":{"latitude":"sample value","longitude":"sample value"}}],"results_count":"sample value","results_from":"sample value","results_to":"sample value","total_count":"sample value"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/marketplace/{marketplace_id}/category/{category_id}/search?q=A-VALUE&items=A-VALUE&start=A-VALUE&file=A-VALUE&charity=A-VALUE&image=A-VALUE&video=A-VALUE&shipment=A-VALUE&min_price=A-VALUE&max_price=A-VALUE&country=A-VALUE¤cy=A-VALUE&lang=A-VALUE&tag=A-VALUE&tags=A-VALUE&sort_by=A-VALUE&select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMarketplaceSearch (GET)
Search for all items in a specific marketplace. See the "getSearch" method for more indepth documentation.
Parameters
The ID of the marketplace.
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
Results
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
Example
{"results":[{"item_id":"sample value","item_url":"sample value","title":"sample value","description":"sample value","price":123,"currency":"sample value","user_id":"sample value","user_name":"sample value","user_url":"sample value","user":{"user_id":"sample value","url":"sample value","name":"sample value","avatar":"sample value","bio":"sample value","time_created":"sample value","language":"sample value","rating":"sample value","facebook":"sample value","linkedin":"sample value","twitter":"sample value"},"marketplace_id":"sample value","category_id":"sample value","thumbnail":"sample value","image":{"original":"sample value","large":"sample value","medium":"sample value","small":"sample value","xsmall":"sample value","xxsmall":"sample value"},"geo":{"latitude":123,"longitude":123}}],"results_count":123,"results_from":123,"results_to":123,"total_count":123}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/marketplace/{marketplace_id}/search?q=A-VALUE&items=A-VALUE&start=A-VALUE&file=A-VALUE&charity=A-VALUE&image=A-VALUE&video=A-VALUE&shipment=A-VALUE&min_price=A-VALUE&max_price=A-VALUE&country=A-VALUE¤cy=A-VALUE&lang=A-VALUE&tag=A-VALUE&tags=A-VALUE&sort_by=A-VALUE&select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMarketplaceUsers (GET)
This method has no description
Parameters
This parameter field has no description
This parameter field has no description
This parameter field has no description
This parameter field has no description
Results (Array)
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
Example
[{"avatar":"sample value","bio":"sample value","facebook":"sample value","language":"sample value","linkedin":"sample value","name":"sample value","rating":"sample value","time_created":"sample value","twitter":"sample value","url":"sample value","user_id":"sample value"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/marketplace/{marketplace_id}/users?page=A-VALUE&select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMyItems (GET)
Retrieve a list of your items.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission".
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "item_id,title,description,images.orginal"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "charity,shipment_costs,user.bio"
This parameter field has no description
This parameter field has no description
This parameter field has no description
Results (Array)
Charity details (if present).
The ID of the charity
For example: "W0NFmK"
The percentage of the sales that gets donated to the charity. 0.1 (1%) to 1 (100%).
For example: "0.2"
The title of the charity
For example: "Music For Relief"
The description of the charity
For example: "Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world."
The website of the charity
For example: "http://www.musicforrelief.org"
The Twitter username of the charity. Use this to send tweets!
For example: "@MusicForRelief"
The country where this item is placed
For example: "US"
The currency of this item
For example: "EUR"
The description of this item.
For example: "A portable and lightweight iPad Stand."
Information about the downloadable file (if present).
The file token is the identifier of the uploaded file and the result of the "uploadFile" method.
For example: "OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt"
The name of the downloadable file
For example: "The_Wooden_Ipad_Stand_Story.pdf.zip"
The file size of the downloadable file
For example: "1.46 MB"
Image only: thumbnail of the uploaded image.
For example: "http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."
Geographical coordinates of this item
The latitude coordinate of this item
For example: "52.233"
The longitude coordinate of this item
For example: "5.183"
List of item images (if present).
Original size of the image.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Large size of the image. Maximum dimensions: 800 x 600 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Medium size of the image. Maximum dimensions: 640 x 480 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Small size of the image. Maximum dimensions: 320 x 420 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extra small size of the image. Maximum dimensions: 180 x 135 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extremely small size of the image. Maximum dimensions: 90 x 68 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
The ID of the item
For example: "p18t0qt"
The language of this item
For example: "en-us"
This result field has no description
The price of an item
For example: "14.99"
The quantity of an item. -1 stands for: unlimited. 0 stands for: sold out.
For example: "20"
List of shipment areas and corresponding shipment costs. Use the "getShipmentCountries" method to fully expand the list of all shipment countries within regions.
The shipment area code.
For example: "european_union"
The shipment costs to that area.
For example: "4.90"
Tells you whether this area is a region (which consists of multiple countries) or an individual country (2 letter ISO 3166-1 code).
For example: "true"
This result field has no description
Whether this items charges shipment costs per item instead of per order.
For example: "1"
List of tags of the item. Tags play an important role in the "getSearch" method.
For example: "game"
The thumbnail version of the image. Includes the price of the item.
For example: "http://img.tinypay.me/btn/p18t0qt"
The UNIX timestamp of when this item was created
For example: "1296330318"
The title of the item
For example: "The Ultra Portable Wooden iPad Stand"
The URL of the item
For example: "http://tinypay.me/~gwb3M6U"
The seller of this item
The ID of the user
For example: "soV3nwLn"
The URL of the user's profile page
For example: "http://tinypay.me/uncle-joe"
The name of the user
For example: "Uncle Joe"
The URL of the user's avatar
For example: "http://img.tinypay.me/user/s7pW3..."
The 'about me' description of the user
For example: "Hi, welcome to my shop! Contact me if you have any questions."
The UNIX timestamp of when this user was created
For example: "1290853844"
The preferred language of the user
For example: "en-us"
The rating of the user on a scale of 1 to 5. 0 stands for: no rating yet.
For example: "3.8"
This result field has no description
This result field has no description
This result field has no description
The widget url of an Embed.ly supported service. See http://embed.ly/providers for the entire list.
For example: "http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"
Example
[{"charity":{"charity_id":"W0NFmK","percentage":0.2,"title":"Music For Relief","description":"Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world.","link":"http://www.musicforrelief.org","twitter":"@MusicForRelief"},"country":"US","currency":"EUR","description":"A portable and lightweight iPad Stand.","file":{"token":"OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt","name":"The_Wooden_Ipad_Stand_Story.pdf.zip","size":"1.46 MB","thumbnail":"http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."},"geo":{"latitude":52.233,"longitude":5.183},"images":[{"original":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","large":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","medium":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","small":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xxsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."}],"item_id":"p18t0qt","language":"en-us","marketplace_id":"sample value","price":14.99,"quantity":20,"shipment_costs":[{"area":"european_union","shipment_cost":4.90,"is_region":true,"title":"sample value"}],"shipment_costs_per_item":1,"tags":["game"],"thumbnail":"http://img.tinypay.me/btn/p18t0qt","time_created":1296330318,"title":"The Ultra Portable Wooden iPad Stand","url":"http://tinypay.me/~gwb3M6U","user":{"user_id":"soV3nwLn","url":"http://tinypay.me/uncle-joe","name":"Uncle Joe","avatar":"http://img.tinypay.me/user/s7pW3...","bio":"Hi, welcome to my shop! Contact me if you have any questions.","time_created":1290853844,"language":"en-us","rating":3.8,"facebook":"sample value","linkedin":"sample value","twitter":"sample value"},"widget_url":"http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/me/items?access_token=A-VALUE&select=A-VALUE¬_select=A-VALUE&page=A-VALUE&limit=A-VALUE&marketplace_id=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMyMarketplaces (GET)
Retrieve a list of your Marketplaces
Parameters
This method requires a valid access_token. You can obtain your personal access token with "getMyAccessToken" or request permission from another user with "getOAuthPermission".
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "title,url,categories.title,logo"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "description,categories.category_id,url"
Results (Array)
List of marketplace categories (if present).
The ID of the marketplace category.
For example: "cENVHVhE"
The title of the marketplace category.
For example: "Xbox 360 Games"
The URL of the marketplace category
For example: "http://xboxworld.tinypay.me/#xbox-360"
The description of the marketplace.
For example: "Sell your Xbox 360, Wii, Playstation 3, PC games and your soul!"
The URL of the logo of the marketplace.
For example: "http://img.tinypay.me/marketplace/mh9u..."
The ID of the marketplace
For example: "mteY4kEZ"
The title of the marketplace
For example: "Xboxworld"
The URL of the marketplace
For example: "http://xboxworld.tinypay.me"
Example
[{"categories":[{"category_id":"cENVHVhE","title":"Xbox 360 Games","url":"http://xboxworld.tinypay.me/#xbox-360"}],"description":"Sell your Xbox 360, Wii, Playstation 3, PC games and your soul!","logo":"http://img.tinypay.me/marketplace/mh9u...","marketplace_id":"mteY4kEZ","title":"Xboxworld","url":"http://xboxworld.tinypay.me"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/me/marketplaces?access_token=A-VALUE&select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMyOrders (GET)
Retrieve a list of your orders.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission" (requires 'view_orders' permission).
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "currency,has_file,item_id"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "quantity,buyer.name"
Results (Array)
Details of the buyer
Name of the buyer
For example: "Steve Jobs"
E-mail address of the buyer
For example: "sjobs@apple.com"
First address line of the shipment address
For example: "1 Infinite Loop"
The second address line of the shipment address
For example: "CEO's office"
The postal or zip code of the shipment address
For example: "95014"
The city of the shipment address
For example: "Cupertino"
The state or province of the shipment address
For example: "CA"
The country of the shipment address
For example: "US"
The comment of the buyer
For example: "Hi, please make sure you ring twice."
The currency of this order
For example: "USD"
Tells you if the buyer should receive a download link to the attached file
For example: "true"
The ID of the item that has been ordered
For example: "PBsgWR7"
The price of the item at the time this order was placed
For example: "14.99"
The ID of the order
For example: "oCUZNrkCSrmobzSWOVhREdQ0V99RhtxJ"
The quantity of the order
For example: "2"
The shipment costs for this order (if present).
For example: "2.50"
The status of the order. Status definitions: 'created': created, but not finished. 'cancelled': buyer cancelled the payment. 'pending': payment is finished, but not cleared by PayPal yet (e.g. eChecks). 'completed': payment is successfully sent to the seller and the order is completed.
For example: "completed"
The UNIX timestamp of the placement of this order
For example: "1297264411"
The total price of the order (including shipment costs).
For example: "32.48"
Example
[{"buyer":{"name":"Steve Jobs","email":"sjobs@apple.com","address_line_1":"1 Infinite Loop","address_line_2":"CEO's office","postal_zip_code":"95014","city":"Cupertino","state_province":"CA","country":"US","comment":"Hi, please make sure you ring twice."},"currency":"USD","has_file":true,"item_id":"PBsgWR7","item_price":14.99,"order_id":"oCUZNrkCSrmobzSWOVhREdQ0V99RhtxJ","quantity":2,"shipment_costs":2.50,"status":"completed","time":1297264411,"total_order_price":32.48}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/me/orders?access_token=A-VALUE&select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getMyProfile (GET)
Retrieve your user details. It is not (yet) possible to update these details through the API. Go to the settings panel at tinypay.me to change your profile information.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission".
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "name,url,user_id"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "rating,bio"
Results
The URL of your avatar
For example: "http://img.tinypay.me/user/s7pW3..."
Your 'about me' description
For example: "Hi, welcome to my shop! Contact me if you have any questions."
This result field has no description
Your preferred language
For example: "en-us"
This result field has no description
Your name
For example: "Uncle Joe"
Your rating on a scale of 1 to 5. 0 stands for: no rating yet.
For example: "3.8"
The UNIX timestamp of when your account was created
For example: "1290853844"
This result field has no description
Your profile page URL
For example: "http://tinypay.me/uncle-joe"
Your user ID
For example: "soV3nwLn"
Example
{"avatar":"http://img.tinypay.me/user/s7pW3...","bio":"Hi, welcome to my shop! Contact me if you have any questions.","facebook":"sample value","language":"en-us","linkedin":"sample value","name":"Uncle Joe","rating":3.8,"time_created":1290853844,"twitter":"sample value","url":"http://tinypay.me/uncle-joe","user_id":"soV3nwLn"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/me?access_token=A-VALUE&select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getOAuthAccessToken (GET)
Retrieve the access token with the code provided from the "getOAuthPermission" callback.
Parameters
This method requires a valid personal access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token Note: you cannot use other access tokens than your own personal access token.
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
The code you retrieved from the "getOAuthPermission" callback
For example: "dcaFCAw2d1HmWggcvHDDFaJaDsdx1oKl"
Results
The access token for another user. You can use this access token in name of that user in almost all protected methods.
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
Example
{"access_token":"ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/oauth/access_token?access_token=A-VALUE&code=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getOAuthPermission (GET)
Request access permission from another user. This method uses the OAuth 2.0 authentication protocol.
Parameters
The ID of the marketplace you want to request permission for.
For example: "mN4UIW1W"
The return URL the user should be redirected back to.
For example: "http://example.com/return"
Ask the user for specific permissions for protected methods. Available permissions are: 'create_items', 'edit_items', 'delete_items', 'view_orders'. Separate multiple permissions by comma.
For example: "create_items,edit_items,view_orders"
Specify a certain variable that should be returned upon redirect. Use this to maintain state with your own application between the request and callback.
For example: "ABC123"
Results
The OAuth URL you should redirect the user of your application to, to initiate the permission flow.
For example: "https://tinypay.me/oauth/.."
Example
{"oauth_url":"https://tinypay.me/oauth/.."}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/oauth/permission?marketplace_id=A-VALUE&redirect_uri=A-VALUE&scope=A-VALUE&state=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getOrderStatus (GET)
Retrieve the status of an order.
Parameters
The ID of the order.
For example: "oVlxpIK3jWTOlMl3BOJ4qDCpjBcWSqA5"
Results
The status of the order. Status definitions: 'created': created, but not finished. 'cancelled': buyer cancelled the payment. 'pending': payment is finished, but not cleared by PayPal yet (e.g. eChecks). 'completed': payment is successfully sent to the seller and the order is completed.
For example: "completed"
Example
{"status":"completed"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/order/{order_id}
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getRegions (GET)
View all supported regions.
Parameters
This method has no parameters
Results (Array)
The region code.
For example: "european_union"
The title of the region
For example: "European Union"
Example
[{"code":"european_union","title":"European Union"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/regions
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getSearch (GET)
Search in all items.
Parameters
The query string of your search.
For example: "iphone"
The number of items you want to return
For example: "12"
The offset of the search results. Default: 0. Max: 499.
For example: "10"
Whether the items should contain a file download or not. Omit this parameter to choose both.
For example: "false"
Whether the items should donate to a charity or not. Omit this parameter to choose both.
For example: "true"
Whether the items should contain at least one image or not. Omit this parameter to choose both.
For example: "true"
Whether the items should contain a video url or not. Omit this parameter to choose both.
For example: "false"
Whether the items are shipped to at least one location or not. Omit this parameter to choose both.
For example: "false"
The minimum price of the items.
For example: "10"
The maximum price of the items
For example: "50"
Restrict your search to a certain country. Omit this parameter to search in all countries. Use the "getCountries" method to get a list of all supported countries.
For example: "FR"
Restrict your search to a certain currency. Omit this parameter to search in all currencies. Use the "getCurrency" method to get a list of all supported currencies.
For example: "EUR"
Restrict your search to a certain language. Omit this parameter to search in all languages. Use the "getLanguages" method to get a list of all supported currencies.
For example: "en-us"
Restrict your search to a certain tag. Omit this parameter to search in all tags.
For example: "shirt"
Restrict your search to a list of tags. Returns the items that at least contain one of these tags. Omit this parameter to search in all tags. Separate multiple tags with a comma.
For example: "white,shirt,hand-made"
Sort the items by 'price' or 'time'. Omit this parameter to return results at "best relevance". Our search algorithm will then decide on a number of parameters on how to rank results.
For example: "price"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "item_id,title,description,images.orginal"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "charity,shipment_costs,user.bio"
Your longitude coordinates. (-180 to 180).
For example: "-122.395456"
Your latitude coordinates (-90 to 90).
For example: "37.789644"
The radius in units defined by "unit".
For example: "1500"
The units in which radius is defined. "mi" (miles), "km" (kilometer), "m" (meter), "yd" (yard) and "ft" (feet) are allowed.
For example: "mi"
Results
List of search results
The ID of the item
For example: "7ZFnSVB"
The URL of the item
For example: "http://tinypay.me/~zqNZTq7"
The title of the item
For example: "White Monkey Shirt"
The description of the item
For example: "Get them now while they're white!"
The price of the item
For example: "14.99"
The currency of the item
For example: "USD"
The ID of the seller of this item.
For example: "sFDlZE2V"
The name of the seller
For example: "Uncle Joe"
The URL of the profile page of the seller
For example: "http://tinypay.me/unclejoe"
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
The ID of the marketplace where this item was placed on.
For example: "m7rZp52O"
The ID of the marketplace category where this item was placed in
For example: "coN3hkDv"
The thumbnail version of the image. Includes the price of the item.
For example: "http://img.tinypay.me/btn/7ZFnSVB"
The default image of the item. Only small versions are available within this method.
N/a
N/a
N/a
Small size of the image. Maximum dimensions: 320 x 420 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extra small size of the image. Maximum dimensions: 180 x 135 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extremely small size of the image. Maximum dimensions: 90 x 68 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Geographical coordinates of this item
The latitude coordinate of this item
For example: "52.233"
The longitude coordinate of this item
For example: "5.183"
The amount of results included in this result set.
For example: "16"
The number of the beginning of this result set.
For example: "24"
The number of the end of this result set.
For example: "40"
The total number of items for this query. This number cannot be higher than 500.
For example: "400"
Example
{"results":[{"item_id":"7ZFnSVB","item_url":"http://tinypay.me/~zqNZTq7","title":"White Monkey Shirt","description":"Get them now while they're white!","price":14.99,"currency":"USD","user_id":"sFDlZE2V","user_name":"Uncle Joe","user_url":"http://tinypay.me/unclejoe","user":{"user_id":"sample value","url":"sample value","name":"sample value","avatar":"sample value","bio":"sample value","time_created":"sample value","language":"sample value","rating":"sample value","facebook":"sample value","linkedin":"sample value","twitter":"sample value"},"marketplace_id":"m7rZp52O","category_id":"coN3hkDv","thumbnail":"http://img.tinypay.me/btn/7ZFnSVB","image":{"original":"sample value","large":"sample value","medium":"sample value","small":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xxsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."},"geo":{"latitude":52.233,"longitude":5.183}}],"results_count":16,"results_from":24,"results_to":40,"total_count":400}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/search?q=A-VALUE&items=A-VALUE&start=A-VALUE&file=A-VALUE&charity=A-VALUE&image=A-VALUE&video=A-VALUE&shipment=A-VALUE&min_price=A-VALUE&max_price=A-VALUE&country=A-VALUE¤cy=A-VALUE&lang=A-VALUE&tag=A-VALUE&tags=A-VALUE&sort_by=A-VALUE&select=A-VALUE¬_select=A-VALUE&mylon=A-VALUE&mylat=A-VALUE&range=A-VALUE&unit=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getSearchSuggestions (GET)
Retrieve autocomplete search suggestions for your query string.
Parameters
Your (partial) query string.
For example: "play.."
Results (Array)
Array of suggestions
For example: "play, player, players, playing, playstation-3"
Example
[{"suggestions":"play, player, players, playing, playstation-3"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/search/suggestions?q=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getShipmentCountries (GET)
Retrieve the full list of shipment countries and the shipment costs for a certain item.
Parameters
The ID of the item.
For example: "oGNtWyt"
This parameter field has no description
Results (Array)
The 2 letter ISO 3166-1 country code.
For example: "US"
Only item: tells you whether this area is a region. (Which is never the case in this method).
For example: "false"
The shipment costs to this country.
For example: "4.90"
This result field has no description
Example
[{"area":"US","is_region":false,"shipment_cost":4.90,"title":"sample value"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/item/{item_id}/shipment?language=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getUserItems (GET)
Retrieve a list of items of an user.
Parameters
The ID of the user. You can use internal IDs (e.g. "soV3nwLn") or public IDs (e.g. "melvinmt").
For example: "soV3nwLn"
Use this property to save data by selecting the properties you'd ONLY like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "item_id,title,description,images.orginal"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "charity,shipment_costs,user.bio"
This parameter field has no description
This parameter field has no description
This parameter field has no description
Results (Array)
Charity details (if present).
The ID of the charity
For example: "W0NFmK"
The percentage of the sales that gets donated to the charity. 0.1 (1%) to 1 (100%).
For example: "0.2"
The title of the charity
For example: "Music For Relief"
The description of the charity
For example: "Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world."
The website of the charity
For example: "http://www.musicforrelief.org"
The Twitter username of the charity. Use this to send tweets!
For example: "@MusicForRelief"
The country where this item is placed
For example: "US"
The currency of this item
For example: "EUR"
The description of this item.
For example: "A portable and lightweight iPad Stand."
Downloadable file details (if present).
The file token is the identifier of the uploaded file and the result of the "uploadFile" method.
For example: "OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt"
The name of the downloadable file
For example: "The_Wooden_Ipad_Stand_Story.pdf.zip"
The file size of the downloadable file
For example: "1.46 MB"
Image only: thumbnail of the uploaded image.
For example: "http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."
Geographical coordinates of this item
The latitude coordinate of this item
For example: "52.233"
The longitude coordinate of this item
For example: "5.183"
List of item images (if present).
Original size of the image.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Large size of the image. Maximum dimensions: 800 x 600 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Medium size of the image. Maximum dimensions: 640 x 480 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Small size of the image. Maximum dimensions: 320 x 420 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extra small size of the image. Maximum dimensions: 180 x 135 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
Extremely small size of the image. Maximum dimensions: 90 x 68 px.
For example: "http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."
The ID of the item
For example: "p18t0qt"
The language of this item
For example: "en-us"
This result field has no description
The price of an item
For example: "14.99"
The quantity of an item. -1 stands for: unlimited. 0 stands for: sold out.
For example: "20"
List of shipment areas and corresponding shipment costs. Use the "getShipmentCountries" method to fully expand the list of all shipment countries within regions.
The shipment area code.
For example: "european_union"
The shipment costs to that area.
For example: "4.90"
Tells you whether this area is a region (which consists of multiple countries) or an individual country (2 letter ISO 3166-1 code).
For example: "true"
This result field has no description
Whether this items charges shipment costs per item instead of per order.
For example: "1"
List of tags of the item. Tags play an important role in the "getSearch" method.
For example: "game"
The thumbnail version of the image. Includes the price of the item.
For example: "http://img.tinypay.me/btn/p18t0qt"
The UNIX timestamp of when this item was created
For example: "1296330318"
The title of the item
For example: "The Ultra Portable Wooden iPad Stand"
The URL of the item
For example: "http://tinypay.me/~gwb3M6U"
The seller of this item
The ID of the user
For example: "soV3nwLn"
The URL of the user's profile page
For example: "http://tinypay.me/uncle-joe"
The name of the user
For example: "Uncle Joe"
The URL of the user's avatar
For example: "http://img.tinypay.me/user/s7pW3..."
The 'about me' description of the user
For example: "Hi, welcome to my shop! Contact me if you have any questions."
The UNIX timestamp of when this user was created
For example: "1290853844"
The preferred language of the user
For example: "en-us"
The rating of the user on a scale of 1 to 5. 0 stands for: no rating yet.
For example: "3.8"
This result field has no description
This result field has no description
This result field has no description
The widget url of an Embed.ly supported service. See http://embed.ly/providers for the entire list.
For example: "http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"
Example
[{"charity":{"charity_id":"W0NFmK","percentage":0.2,"title":"Music For Relief","description":"Founded by Linkin Park in 2005, Music For Relief is a non-profit dedicated to natural disaster relief and mitigation around the world.","link":"http://www.musicforrelief.org","twitter":"@MusicForRelief"},"country":"US","currency":"EUR","description":"A portable and lightweight iPad Stand.","file":{"token":"OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt","name":"The_Wooden_Ipad_Stand_Story.pdf.zip","size":"1.46 MB","thumbnail":"http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."},"geo":{"latitude":52.233,"longitude":5.183},"images":[{"original":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","large":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","medium":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","small":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx...","xxsmall":"http://img.tinypay.me/lHE1VNsIfcGlymw0Qtx..."}],"item_id":"p18t0qt","language":"en-us","marketplace_id":"sample value","price":14.99,"quantity":20,"shipment_costs":[{"area":"european_union","shipment_cost":4.90,"is_region":true,"title":"sample value"}],"shipment_costs_per_item":1,"tags":["game"],"thumbnail":"http://img.tinypay.me/btn/p18t0qt","time_created":1296330318,"title":"The Ultra Portable Wooden iPad Stand","url":"http://tinypay.me/~gwb3M6U","user":{"user_id":"soV3nwLn","url":"http://tinypay.me/uncle-joe","name":"Uncle Joe","avatar":"http://img.tinypay.me/user/s7pW3...","bio":"Hi, welcome to my shop! Contact me if you have any questions.","time_created":1290853844,"language":"en-us","rating":3.8,"facebook":"sample value","linkedin":"sample value","twitter":"sample value"},"widget_url":"http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"}]
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/user/{user_id}/items?select=A-VALUE¬_select=A-VALUE&page=A-VALUE&limit=A-VALUE&marketplace_id=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getUserProfile (GET)
View the details of an user's profile.
Parameters
The ID of the user. You can use internal IDs (e.g. "soV3nwLn") or public IDs (e.g. "melvinmt").
For example: "soV3nwLn"
Use this property to save data by selecting only the properties you'd like to return. This comes in handy when you're developing mobile applications. Separate multiple properties with commas.
For example: "name,url,user_id"
Use this property to save data by NOT selecting some of the properties. This comes in handy when you're developing mobile applications. Separate multiple properties with commas. Use the dot notation to select inner elements.
For example: "rating,bio"
Results
The URL of the user's avatar
For example: "http://img.tinypay.me/user/s7pW3..."
The 'about me' description of the user
For example: "Hi, welcome to my shop! Contact me if you have any questions."
This result field has no description
The preferred language of the user
For example: "en-us"
This result field has no description
The name of the user
For example: "Uncle Joe"
The rating of the user on a scale of 1 to 5. 0 stands for: no rating yet.
For example: "3.8"
The UNIX timestamp of when this user was created
For example: "1290853844"
This result field has no description
The URL of the user's profile page
For example: "http://tinypay.me/uncle-joe"
The ID of the user
For example: "soV3nwLn"
Example
{"avatar":"http://img.tinypay.me/user/s7pW3...","bio":"Hi, welcome to my shop! Contact me if you have any questions.","facebook":"sample value","language":"en-us","linkedin":"sample value","name":"Uncle Joe","rating":3.8,"time_created":1290853844,"twitter":"sample value","url":"http://tinypay.me/uncle-joe","user_id":"soV3nwLn"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/user/{user_id}?select=A-VALUE¬_select=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
getWidget (GET)
Retrieve widget embed code from item
Parameters
Item ID
For example: "bZ25M4z"
Maximum width of embed in pixels
For example: "388"
Results
HTML embed code
For example: "<object height="81" width="388"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F21538998"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F21538998" type="application/x-shockwave-flash" width="388"></embed></object>"
Example
{"html":"<object height=\"81\" width=\"388\"> <param name=\"movie\" value=\"http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F21538998\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed allowscriptaccess=\"always\" height=\"81\" src=\"http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F21538998\" type=\"application/x-shockwave-flash\" width=\"388\"></embed></object>"}
JSON (Learn how)
GET https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/item/{item_id}/widget?maxwidth=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
updateItem (POST)
Update an existing item. Note: only provide the parameters that should be changed.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission" (requires 'edit_item' permission). The access token user has to be the owner of this item to be able to perform this action.
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
The ID of the item that needs to be updated.
For example: "k3UKyTp"
The title of your item
For example: "Monkey T-shirt (White)"
The currency of your item. You can find all supported currencies with the "getCurrencies" method.
For example: "USD"
The price of your item.
For example: "14.99"
The description of your item. The better your description, the better your chances of selling!
For example: "Original Monkey shirts! Handmade in Oakland, California."
The tags of your item. Use tags to improve the searchability and distribution of your item. You can insert multiple tags by separating them with commas. Maximum 20 tags allowed.
For example: "t-shirt,monkey,white"
The quantity of your item. Use -1 for unlimited and 1 or more for fixed amounts.
For example: "20"
Requires your buyers to enter a shipment address when they're buying your item. Comes in handy if you want to know where to ship your item! Default: false.
For example: "true"
Define the countries or regions that you'll be able to ship your item to. Use the 2 letter country code for individual countries or the regions from the "getRegions" method to define all the countries in a region at once! You can define multiple shipment_countries by separating them with a comma.
For example: "US,FR,IT,european_union"
Define the shipment costs for the countries or regions you've defined in 'shipment_countries'. Make sure you put the costs in the same order! Separate multiple costs with a comma.
For example: "2,4.50,5,6.90"
Charges shipment costs per item instead per order. This means that the shipment costs will increase with every item. Default: false.
For example: "false"
The latitude coordinate for your item. If your item doesn't have a physical location simply provide the location of any place you'd like. Range: -90 to 90.
For example: "37.80436"
The longitude coordinate for your item. If your item doesn't have a physical location simply provide the location of any place you'd like. Range: -180 to 180.
For example: "-122.27111"
The image_tokens from the images you've uploaded with "uploadImage". You can define multiple image_tokens by separating them with a comma.
For example: "pIgxQUZlQHyuWrgrvRZeOdi1D6lIWyx4,nXdZjB6lFklmGWLzby7B7ynAX5fqPIWs"
The file_token from the file you've uploaded with "uploadFile". It's only possible to define a single file.
For example: "6Fe4BByWLCxGrsOtTVBIPE5RgC57EjGU"
The widget url of a Embed.ly supported service. See http://embed.ly/providers for the entire list.
For example: "http://soundcloud.com/titanoz/lily-bizarre-fallen-titanoz-remix"
Enter a charity_id if you want to donate a certain percentage (see charity_percentage) to a charity. You can find all supported charities with the "getCharities" method.
For example: "a7Fdfx"
The percentage of your sales price you want to donate to a charity. Range: 0.01 (1%) to 1 (100%).
For example: "0.2"
The language in which this item is placed. This property is used to improve the searchability of your item. You can find all supported languages with the "getLanguages" method.
For example: "en-us"
The primary country in which this item is placed. This property is used to improve the searchability of your item. You can find all supported countries with the "getCountries" method.
For example: "US"
Results
Returns true or false.
For example: "true"
Example
{"success":true}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/item/{item_id}/update
access_token=A-VALUE
title=A-VALUE
currency=A-VALUE
price=A-VALUE
description=A-VALUE
tags=A-VALUE
quantity=A-VALUE
require_shipment_address=A-VALUE
shipment_countries=A-VALUE
shipment_costs=A-VALUE
shipment_costs_per_item=A-VALUE
geo_latitude=A-VALUE
geo_longitude=A-VALUE
image_tokens=A-VALUE
file_token=A-VALUE
widget_url=A-VALUE
charity_id=A-VALUE
charity_percentage=A-VALUE
language=A-VALUE
country=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
updateMyProfile (POST)
This method has no description
Parameters
This parameter field has no description
This parameter field has no description
This parameter field has no description
Results
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
Example
{"avatar":"sample value","bio":"sample value","facebook":"sample value","language":"sample value","linkedin":"sample value","name":"sample value","rating":"sample value","time_created":"sample value","twitter":"sample value","url":"sample value","user_id":"sample value"}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/me
access_token=A-VALUE
name=A-VALUE
profile_description=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
uploadFile (POST)
Upload a file. Maximum size: 1GB.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission" (requires 'create_item' permission).
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
Base64 encoded string of the file
For example: "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDABALCwwMDBENDREYEA4QGBwVEREVHCEZGRkZ..."
The name of the file
For example: "handson-nodejs.zip"
Results
The file name of the uploaded file.
For example: "The_Wooden_Ipad_Stand_Story.pdf.zip"
The file size of the uploaded file.
For example: "1.46 MB"
Image only: thumbnail of the uploaded image.
For example: "http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."
This token is the identifier of the uploaded file and should be provided by the "createItem" or "updateItem" methods.
For example: "OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt"
Example
{"name":"The_Wooden_Ipad_Stand_Story.pdf.zip","size":"1.46 MB","thumbnail":"http://img.tinypay.me/DDo7VJBn4CcuwiScDb0...","token":"OUSffKKAEKt1TVM3Uetpu7SdMuOWoKxt"}
JSON (Learn how)
POST https://SwnOmB09bsY1a1TfWwxqlAeRo.proxy.mashape.com/mashape/file
access_token=A-VALUE
file=A-VALUE
name=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.
uploadImage (POST)
Upload an image. Maximum size: 5 MB.
Parameters
This method requires a valid access_token. You can obtain your personal access token by logging in here: https://tinypay.me/oauth/your_token or request permission from another user with "getOAuthPermission" (requires 'create_item' permission).
For example: "ilkOk4bHj8huCtJnAUx0wY5KHQNnK99uJ8ygN3P1fk... (84 chars)"
Base64 encoded string of the image.
For example: "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDABALCwwMDBENDREYEA4QGBwVEREVHCEZGRk..."
Name of the file.
For example: "yellow_canary.jpg"
Results
The file name of the uploaded image.
For example: "screen_shot_1.jpg"
The file size of the uploaded image.
For example: "2.34 MB"
The URL of the thumbnail of the uploaded image. You can use this to preview an image after upload. Maximum dimensions: 92 x 69 px.
For example: "http://img.tinypay.me/DDo7VJBn4CcuwiScDb0..."
This token is the identifier of the uploaded image and should be provided by the "createItem" or "updateItem" methods.
For example: "35r8RZvJhurZxoA6RbCWA79iHZxmGRVV"
Example
{"name":"screen_shot_1.jpg","size":"2.34 MB","thumbnail":"http://img.tinypay.me/DDo7VJBn4CcuwiScDb0...","token":"35r8RZvJhurZxoA6RbCWA79iHZxmGRVV"}


running