Close
Authentication Authentication

Tagcash uses OAuth 2.0 for API authentication which is the latest standard

There are 3 ways in which you can do this:

  1. Authorization Code
  2. Client Credentials
  3. Implicit

1. Authorization Code

This type of authentication is mainly intended for server side applications that can keep their Client ID and Client Secret. For e.g. a PHP application whose code is not available to the public.

Step 1:

Using your client id you redirect to Tagcash login page where the user enters his log in details. He will be shown the permission required by the app. After that, the user will be redirected back to the app along with an authorization code.

Parameters:
Parameters:
Parameters are to be passed as GET
URL:
URL:
https://api.tagcash.com/oauth
client_id:
client_id:
[Generated by Tagcash API Developer page of Community]
redirect_uri:
redirect_uri:
[Set on Tagcash API Developer page of Community]
response_type:
response_type:
code
scope
scope:
space separated permissions [OPTIONAL]
state
state:
1381395146 [OPTIONAL] Random value to prevent CSRF attacks

Final URL:

Step 2:

The server side code of the app then uses this authorisation code along with the client id and secret to obtain the access token, which can be used in all subsequent requests.

Parameters:
Parameters:
Parameters are to be passed as POST
URL:
URL:
https://api.tagcash.com/oauth/accesstoken
client_id:
client_id:
[Generated by Tagcash API Developer page of Community]
client_secret:
client_secret:
[Generated by Tagcash API Developer page of Community]
grant_type:
grant_type:
authorization_code
redirect_uri:
redirect_uri:
[Set on Tagcash API Developer page of Community]
code
code:
[code from the redirect url]

2. Client Credentials

This kind of authentication is used when an app/community needs to log in on behalf of itself. It won't be able to switch to the user perspective though.

Parameters:
Parameters:
Parameters are to be passed as POST
URL:
URL:
https://api.tagcash.com/oauth/accesstoken
client_id:
client_id:
[Generated by Tagcash API Developer page of Community]
client_secret:
client_secret:
[Generated by Tagcash API Developer page of Community]
grant_type:
grant_type:
client_credentials

3. Implicit

This type of authentication is intended for client side application like the ones using JavaScript, which CANNOT keep their client id and client secret as secret. There is only one step involved in such applications. They directly get the token after the user approves them. In this case the access tokens would be short lived.

Parameters:
Parameters:
Parameters are to be passed as POST
URL:
URL:
https://api.tagcash.com/oauth
client_id:
client_id:
[Generated by Tagcash API Developer page of Community]
redirect_uri:
redirect_uri:
[Set on Tagcash API Developer page of Community]
scope
scope:
space separated permissions [OPTIONAL]
response_type:
response_type:
token

Final URL:
General API Calls General API Calls

1. Get Your Own Avatar

URL:
URL:
https://api.tagcash.com/image/avatar
Data to be submitted:
Data to be submitted:
access_token

2. Get Someone Else's Profile Picture

URL:
URL:
https://api.tagcash.com/image/avatar/[id]
Data to be submitted:
Data to be submitted:
access_token
Returns:
Returns:
Returns the profile picture of another user

3. Get Your Own QR Code

URL:
URL:
https://api.tagcash.com/image/qr
Data to be submitted:
Data to be submitted:
access_token

4. Get Someone Else's [user/community/reward] QR Code

URL:
URL:
https://api.tagcash.com/image/qr/[id]
Data to be submitted:
Data to be submitted:
access_token, type [user, community, deal]
Returns:
Returns:
Returns the QR code of a user/communtiy/reward

5. Get the ID of the user/community/reward from RFID tag

URL:
URL:
https://api.tagcash.com/image/qr
Data to be submitted:
Data to be submitted:
access_token

6. Get details of a community

URL:
URL:
https://api.tagcash.com/community/details/[communityid]
Data to be submitted:
Data to be submitted:
access_token

7. Get Community Image

URL:
URL:
https://api.tagcash.com/image/community/[communityid]
Data to be submitted:
Data to be submitted:
access_token
Returns:
Returns:
Returns the image of the community

8. Logout User

URL:
URL:
https://api.tagcash.com/user/logout
Data to be submitted:
Data to be submitted:
access_token

9. Get the currently active perspective

URL:
URL:
https://api.tagcash.com/perspective
Data to be submitted:
Data to be submitted:
access_token

10. List all reviews about a user/community/reward

URL:
URL:
https://api.tagcash.com/review/list
Data to be submitted:
Data to be submitted:
access_token, id [id of the user/reward/community], type [user/reward/community], offset [optional], count [optional. Defaults to 100]

11. Get list of countries

URL:
URL:
https://api.tagcash.com/country/getcountries
Data to be submitted:
Data to be submitted:
access_token

12. Get list of timezones

URL:
URL:
https://api.tagcash.com/timezone/gettimezones
Data to be submitted:
Data to be submitted:
access_token

13. Get Someones elses's Profile Details

You can only view the complete profile of someone already in your contacts, or you have received an invitation from. Otherwise, you will get only the avatar. Contact status will return either "contact"/"request_received"/"request_sent"

URL:
URL:
https://api.tagcash.com/user/profile/[id]
Data to be submitted:
Data to be submitted:
access_token, id

14. For fetching reward image

URL:
URL:
https://api.tagcash.com/image/deal
Data to be submitted:
Data to be submitted:
access_token

15. Allowance (Micropayment) Token Generation

URL:
URL:
https://api.tagcash.com/allowance/token
Data to be submitted [POST]:
Data to be submitted:
access_token, user_id [required if client_credentials login]

16. Get Currency Conversion Rates

URL:
URL:
https://api.tagcash.com/currency/conversionrates
Data to be submitted [POST]:
Data to be submitted:
access_token, [OPTIONAL: currency, count, offset]
Returns:
Returns:
Conversion rates of all currencies

17. User Registration

URL:
URL:
https://api.tagcash.com/registration
Data to be submitted [POST]:
Data to be submitted:
client_id, client_secret, user_email, user_firstname, user_lastname, [OPTIONAL: user_password, user_mobile [not applicable for communities] ]
User Perspective User Perspective
API Calls in User Perspective for 3rd party applications

1. General

  • 1.1 Get Your Own Profile Details

    URL:
    URL:
    https://api.tagcash.com/user/profile
    Data to be submitted:
    Data to be submitted:
    access_token

  • 1.2 For getting count of notifications

    URL:
    URL:
    https://api.tagcash.com/user/notifications
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 1.3 List all reviews about a user / community /reward

    URL:
    URL:
    https://api.tagcash.com/review/list
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id [id of the user / reward / communtiy], type [user / reward / community], offset [optional], count [optional. Defaults to 100]

  • 1.4 KYC Billing Address Document Upload

    URL:
    URL:
    https://api.tagcash.com/upload/billingaddress
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, file

  • 1.5 KYC Upload

    URL:
    URL:
    https://api.tagcash.com/upload/kyc
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, file

  • 1.6 Document Upload Status

    URL:
    URL:
    https://api.tagcash.com/upload/getdocumentuploadstatus
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 1.7 Create EJabberd Account for User

    URL:
    URL:
    https://api.tagcash.com/user/jabber
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 1.8 Search User

    URL:
    URL:
    https://api.tagcash.com/user/searchuser
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, (id, email, name, mobile, gender (male or female or other), nickname, age(JSON range Eg:["25","30"]), friends, city, country_id, location ([longitude, latitude] json array), distance (in KM), count, offset ) [OPTIONAL] (Atleast one key is needed)

  • 1.9 Resend Activation e-mail

    URL:
    URL:
    https://api.tagcash.com/user/resendactivationmail
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 1.10 Resend SMS Verification Code

    URL:
    URL:
    https://api.tagcash.com/user/resendsmscode
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 1.11 Verify SMS Verification Code

    URL:
    URL:
    https://api.tagcash.com/user/verifysmscode
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token,code

  • 1.12 Get Tagcoin rate

    URL:
    URL:
    https://api.tagcash.com/currency/gettagcoinrate
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, wallet_id

  • 1.13 List Merchant and Deal Categories

    URL:
    URL:
    https://api.tagcash.com/category/list
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 1.14 Add/Update User Note

    URL:
    URL:
    https://api.tagcash.com/user/updatenote
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, user_id, note

  • 1.15 Add or Update Nickname for a User

    URL:
    URL:
    https://api.tagcash.com/user/updatenickname
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, user_id, nickname


2. Settings [user.settings]

  • 2.1 Update your Settings

    URL:
    URL:
    https://api.tagcash.com/user/updateprofile
    Data to be submitted:
    Data to be submitted:
    access_token
    Data that can be updated:
    Data that can be updated:
    user_firstname, user_lastname, user_gender, user_dob, user_mobile, user_address1, user_address2, user_city, user_state, user_pin, country_id, timezone_id, user_zipcode, user_autoadd [true, false]

  • 2.2 Upload user profile image

    URL:
    URL:
    https://api.tagcash.com/user/uploadavatar
    Data to be submitted:
    Data to be submitted:
    access_token, image [base64 encoded image]

  • 2.3 Get your own profile image

    URL:
    URL:
    https://api.tagcash.com/image/avatar
    Data to be submitted:
    Data to be submitted:
    access_token

  • 2.4 Get User Restrictions (PIN)

    URL:
    URL:
    https://api.tagcash.com/user/getrestrictions
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, pin [optional]

  • 2.5 Set User Restrictions (PIN)

    URL:
    URL:
    https://api.tagcash.com/user/setrestrictions
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, pin [optional]

  • 2.5 Set User Restrictions (PIN)

    URL:
    URL:
    https://api.tagcash.com/user/setrestrictions
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, pin [optional]

  • 2.6 Set User Defaults

    URL:
    URL:
    https://api.tagcash.com/settings/setdefaults
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, community_id, pin_login [true/false], pin_on_transfer [true/false], pin_on_switch [true/false], currency, wallet_id

  • 2.7 Update Matchmaker Status

    URL:
    URL:
    https://api.tagcash.com/settings/setdefaults
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, matchmaker (true or false) [enables or disables matchmaker for user]


3. Contacts [user.contacts]

  • 3.1 Get Contacts

    URL:
    URL:
    https://api.tagcash.com/contact/getcontacts
    Data to be submitted:
    Data to be submitted [POST]:
    access_token, (count, offset) [optional for pagination. count defaults to 100]

  • 3.2 Get Pending Contact Requests

    URL:
    URL:
    https://api.tagcash.com/contact/getcontactrequests
    Data to be submitted:
    Data to be submitted:
    access_token, (count, offset) [optional for pagination. count defaults to 100]

  • 3.3 Send or Accept a contact request

    The contact will be added only if the user has not been blocked by the other user. Otherwise you will get a 403 error. Also if the user doesnt have auto add enabled you will get a message ‘request_sent’

    URL:
    URL:
    https://api.tagcash.com/contact/add/[userid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 3.4 Delete a contact or decline a contact request

    If the user declines an incoming contact request, the other user will be automatically added to the block list

    URL:
    URL:
    https://api.tagcash.com/contact/delete/[userid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 3.5 Get Someone else's Profile Details

    You can only view the complete profile of someone already in your contacts, or you have received an invitation from. Otherwise you will get only the avatar. contact status will return either “contact”/”request_received”/”request_sent”

    URL:
    URL:
    https://api.tagcash.com/user/profile/[id]
    Data to be submitted:
    Data to be submitted:
    access_token, id

  • 3.6 Get contact status of the user

    Possible values for status are "contact", "not_contact", and "request_pending"

    URL:
    URL:
    https://api.tagcash.com/contact/status/[userid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 3.7 Invite contact using email

    URL:
    URL:
    https://api.tagcash.com/contact/invite/
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, email

  • 3.8 Get count of all incoming contact requests

    URL:
    URL:
    https://api.tagcash.com/contact/countcontactrequests/
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 3.9 Get Someone Else's Profile Picture

    URL:
    URL:
    https://api.tagcash.com/image/avatar/[userid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 3.10 Get List of Friends

    Get contacts and connected communities with roles

    URL:
    URL:
    https://api.tagcash.com/contact/friends
    Data to be submitted:
    Data to be submitted:
    access_token, (count, offset) [optional]

  • 3.11 Create Group

    URL:
    URL:
    https://api.tagcash.com/user/creategroup
    Data to be submitted:
    Data to be submitted:
    access_token,group_name

  • 3.12 Remove Group

    URL:
    URL:
    https://api.tagcash.com/user/removegroup
    Data to be submitted:
    Data to be submitted:
    access_token,group_id

  • 3.13 Add Group Member

    URL:
    URL:
    https://api.tagcash.com/user/addgroupmember
    Data to be submitted:
    Data to be submitted:
    access_token, group_id, member_id

  • 3.14 Remove Group Member

    URL:
    URL:
    https://api.tagcash.com/user/quitgroup
    Data to be submitted:
    Data to be submitted:
    access_token, group_id, member_id

  • 3.15 List User's Groups

    URL:
    URL:
    https://api.tagcash.com/user/mygroups
    Data to be submitted:
    Data to be submitted:
    access_token

  • 3.16 List Group Members

    URL:
    URL:
    https://api.tagcash.com/user/groupmembers
    Data to be submitted:
    Data to be submitted:
    access_token, group_id

  • 3.17 Update Group Name

    URL:
    URL:
    https://api.tagcash.com/user/updategroupname
    Data to be submitted:
    Data to be submitted:
    access_token, group_id, group_name


4. Block [user.block]

  • 4.1 Add user / community to blocked list

    URL:
    URL:
    https://api.tagcash.com/block/add/[id]
    Data to be submitted:
    Data to be submitted:
    access_token, type

  • 4.2 Remove user /community from blocked list

    URL:
    URL:
    https://api.tagcash.com/block/remove/[id]
    Data to be submitted:
    Data to be submitted:
    access_token, type

  • 4.3 See Blocked List

    URL:
    URL:
    https://api.tagcash.com/block/list
    Data to be submitted:
    Data to be submitted:
    access_token, type


5. Communities [user.communities]

  • 5.1 Create a new Community

    Only an email verified user can create a community

    URL:
    URL:
    https://api.tagcash.com/community/create
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, community_name, community_description, community_city, country_id, community_zip, community_address1, community_address2, community_tags[optional][json array with the tagnames. eg.[thai, restaurant ]], community_restrictions [optional] [json object with restrictions. Accepts minage, country_id, gender, passportverification, mobileverification ], community_type [public, private, paid], community_autojoin [true, false], community_fee [required only in the case of paid communities], location ([longitude, latitude] json array), category_id

  • 5.2 Join a Community

    This API call can be used to accept invites from a community [public, private and paid], send request to a community [public] that needs admin approval, directly join a community[public] that doesn’t need an approval and directly join a paid community by paying the necessary credits automatically. You cannot send requests to a private community, but can accept invites from any kind of community.

    URL:
    URL:
    https://api.tagcash.com/community/join/[communityid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 5.3 List all communities a user is a member of

    URL:
    URL:
    https://api.tagcash.com/user/memberof
    Data to be submitted:
    Data to be submitted:
    access_token, (location ([longitude, latitude] json array), distance (in KM),category_id) [optional]

  • 5.4 List all communities a user is a staff of

    URL:
    URL:
    https://api.tagcash.com/user/staffof
    Data to be submitted:
    Data to be submitted:
    access_token

  • 5.5 List or search all communities

    URL:
    URL:
    https://api.tagcash.com/community/search
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, (country_id, type, status, offset, count, name, tags, location ([longitude, latitude] json array), distance (in KM),category_id ) [optional. For searching. tags should be a json array with the tag names]

  • 5.6 Check permissions and role of the user in a community

    URL:
    URL:
    https://api.tagcash.com/community/getpermissions
    Data to be submitted:
    Data to be submitted:
    access_token

  • 5.7 Count incoming community requests

    URL:
    URL:
    https://api.tagcash.com/user/countrequests
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 5.8 Get Community related settings

    URL:
    URL:
    https://api.tagcash.com/member/getsettings/[communityid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 5.9 Set Community related settings

    User perspective only

    URL:
    URL:
    https://api.tagcash.com/member/setsettings/[communityid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, can_charge, reward_needs_pin[true/false], reward_limit, wallet_id[not_set/any wallet id], wallet_needs_pin[true/false], wallet_limit

  • 5.10 Get pending community invites

    URL:
    URL:
    https://api.tagcash.com/user/communityinvitations
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, (location ([longitude, latitude] json array), distance (in KM),category_id) [optional]

  • 5.11 Leave a community / Reject a community invitation

    This API call can be used to leave a community and to reject a join invitation.

    URL:
    URL:
    https://api.tagcash.com/community/leave/[communityid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 5.12 List users communities

    URL:
    URL:
    https://api.tagcash.com/user/mycommunities
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, (count, offset, community_name, role_type (staff or member), location ([longitude, latitude] json array), distance (in KM),category_id

  • 5.13 Get staff members of a community

    URL:
    URL:
    https://api.tagcash.com/community/staff/community_id
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token


7. RFID [user.rfid]

  • 7.1 Bind a user/community/reward to a RFID tag

    Unbound RFIDs will be automatically added

    URL:
    URL:
    https://api.tagcash.com/rfid/bind
    Data to be submitted:
    Data to be submitted:
    access_token, link_id, link_type, notes)[optional]

  • 7.2 RFID activate

    URL:
    URL:
    https://api.tagcash.com/rfid/activate
    Data to be submitted:
    Data to be submitted:
    access_token, id

  • 7.3 RFID deactivate

    URL:
    URL:
    https://api.tagcash.com/rfid/deactivate
    Data to be submitted:
    Data to be submitted:
    access_token, id

  • 7.4 List all linked RFID Tags

    URL:
    URL:
    https://api.tagcash.com/rfid/linkedtags
    Data to be submitted:
    Data to be submitted:
    access_token

  • 7.5 List all owned RFID Tags

    URL:
    URL:
    https://api.tagcash.com/rfid/ownedtags
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 7.6 RFID unbind

    URL:
    URL:
    https://api.tagcash.com/rfid/unbind/
    Data to be submitted:
    Data to be submitted:
    access_token, id, type(HEX or DEC)


8. Reviews [user.reviews]

  • 8.1 Post a review about a user / community /rewards

    URL:
    URL:
    https://api.tagcash.com/review/add
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id [id of the user/ deal / community], type [user/deal/community], comment, stars


9. Wallets [user.wallets]

  • 9.1 List Wallet types

    URL:
    URL:
    https://api.tagcash.com/wallet/types
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 9.2 Create Wallet

    URL:
    URL:
    https://api.tagcash.com/wallet/create
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, wallet_type_id

  • 9.3 List Wallets

    URL:
    URL:
    https://api.tagcash.com/wallet/list
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, [optional] wallet_type_id or currency_code

  • 9.4 Transfer amount from Wallet

    URL:
    URL:
    https://api.tagcash.com/wallet/transfer
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, from_wallet_id or to_wallet_id; to_id, to_type or to_email or to_mobile, amount, narration
    Data to be sumbmitted charging (pulling from user) [POST]:
    Data to be submitted charging (pulling from user) [POST]:
    access_token, from_id, from_type, from_wallet_id, to_wallet_id, amount, charging=true, pin, narration

  • 9.5 Wallet Delete

    URL:
    URL:
    https://api.tagcash.com/wallet/delete/[wallet_id]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 9.6 Wallet Transactions

    Show all transactions

    URL:
    URL:
    https://api.tagcash.com/wallet/transactions
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, [optional] direction[in/out], type, from_id, to_id, to_type, from_type, to_wallet_id, from_wallet_id, count, offset

  • 9.7 Buy Load

    Buy Load - Philipines Users

    • 9.7.1 Get Telco Names List

      URL:
      URL:
      https://api.tagcash.com/credit/gettelconames
      Data to be submitted [POST]:
      Data to be submitted [POST]:
      access_token

    • 9.7.2 Get Product List

      URL:
      URL:
      https://api.tagcash.com/credit/getproductlist
      Data to be submitted [POST]:
      Data to be submitted [POST]:
      access_token, telco(telco name)

    • 9.7.3 Buy Load

      URL:
      URL:
      https://api.tagcash.com/credit/buyload
      Data to be submitted [POST]:
      Data to be submitted [POST]:
      access_token, telco(telco name), amount, exttag, cellphoneno(Philipines)


10. Messages [user.messages]

  • 10.1 Send messages

    URL:
    URL:
    https://api.tagcash.com/message/send
    Data to be submitted:
    Data to be submitted:
    access_token, to_id, to_type, content

  • 10.2 Unread messages

    URL:
    URL:
    https://api.tagcash.com/message/unread
    Data to be submitted:
    Data to be submitted:
    access_token

  • 10.3 View Conversation

    URL:
    URL:
    https://api.tagcash.com/message/conversation
    Data to be submitted:
    Data to be submitted:
    access_token, id, type


11. Deals/Rewards [user.deals]

  • 11.1 List or Search Deals/Rewards

    URL:
    URL:
    https://api.tagcash.com/deal/search
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, [optional] offset, count, community_id, type, visibility, credit_type, title, country_id, city, price (none), tags [optional. For searching. tags should be a json array with the tag names],category_id

  • 11.2 Current Users Live Deals

    URL:
    URL:
    https://api.tagcash.com/user/mydeals
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, [optional] community_id

  • 11.3 Deal Details

    URL:
    URL:
    https://api.tagcash.com/deal/details/[dealid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 11.3a For fetching deal avatar

    URL:
    URL:
    https://api.tagcash.com/image/deal/[dealid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 11.4 Take a deal

    URL:
    URL:
    https://api.tagcash.com/deal/take/[dealid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 11.5 Redeem a deal

    URL:
    URL:
    https://api.tagcash.com/deal/redeem/[dealid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, user_id

  • 11.6 Take Action on a deal

    actions like adding stamps to a stamp deal comes within this

    URL:
    URL:
    https://api.tagcash.com/deal/takeaction/[dealid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 11.7 To see the deals which are posted by the communities a user is a member of

    URL:
    URL:
    https://api.tagcash.com/deal/communitydeals
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 11.8 To see the history of a particular deal

    URL:
    URL:
    https://api.tagcash.com/deal/history/[dealid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 11.9 For sharing a deal with your contact

    URL:
    URL:
    https://api.tagcash.com/deal/share/[dealid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, contact_id[id of the user you wish to share the deal with]

  • 11.10 Bookmark a deal

    URL:
    URL:
    https://api.tagcash.com/deal/bookmark
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, deal_id

  • 11.11 Get Bookmarked Deals

    URL:
    URL:
    https://api.tagcash.com/deal/getbookmarked
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token


12. Profiles [user.profiles]

  • 12.1 Create Profile

    URL:
    URL:
    https://api.tagcash.com/profile/add
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, profile_name, profile_bio, profile_company, profile_email, profile_mobile, profile_twitter, profile_linkedin, profile_facebook, profile_skype

  • 12.2 View Profile

    URL:
    URL:
    https://api.tagcash.com/profile/view/[id]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 12.3 List Profiles

    URL:
    URL:
    https://api.tagcash.com/profile/list
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 12.4 Edit Profile

    URL:
    URL:
    https://api.tagcash.com/profile/edit/[id]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, profile_name, profile_bio, profile_company,profile_email,profile_mobil,eprofile_twitter,profile_linkedin, profile_facebook, profile_skype

  • 12.5 Delete Profile

    URL:
    URL:
    https://api.tagcash.com/profile/delete/[id]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 12.6 Get Default Profile

    URL:
    URL:
    https://api.tagcash.com/profile/getdefault
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 12.7 Set default Profile

    URL:
    URL:
    https://api.tagcash.com/profile/setdefault/[id]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

13. Matchmaker [user.contacts]

  • 13.1 Update Matchmaker status

    URL:
    URL:
    https://api.tagcash.com/user/updatematchmaker
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, matchmaker (true or false)

  • 13.2 Like a user

    URL:
    URL:
    https://api.tagcash.com/user/like
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, user_id(json array of user id (s))

  • 13.3 Dislike a user

    URL:
    URL:
    https://api.tagcash.com/user/dislike
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, user_id(json array of user id (s))

  • 13.4 Get matching likes

    URL:
    URL:
    https://api.tagcash.com/user/matchinglikes
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 13.5 Matchmaker Search

    URL:
    URL:
    https://api.tagcash.com/user/matchmakersearch
    Data to be submitted:
    Data to be submitted:
    access_token, longitude, latitude, (gender, distance, age(JSON range Eg:["25","30"])) [optional]

  • 13.6 List Matchmaker Enabled Users

    URL:
    URL:
    https://api.tagcash.com/user/getmatchmakerusers
    Data to be submitted:
    Data to be submitted:
    access_token,(gender, age(JSON range Eg:["25","30"])) [optional]

  • 13.7 Own Matchmaker Details

    URL:
    URL:
    https://api.tagcash.com/user/getmatchmakerdetails
    Data to be submitted:
    Data to be submitted:
    access_token

  • 13.8 Get Pending Likes that the user not liked back

    URL:
    URL:
    https://api.tagcash.com/user/getpendinglikes
    Data to be submitted:
    Data to be submitted:
    access_token,offset,count

Community Perspective Community Perspective
API Calls in Community Perspective for 3rd party applications

1. General

  • 1.1 Switch perspective from user to community or vice versa

    The perspective will be changed to user if no community id is specificed

    URL:
    URL:
    https://api.tagcash.com/perspective/switch/[communityid]
    Data to be submitted:
    Data to be submitted:
    access_token, make_default [if make_default]

  • 1.2 Get details of the community

    Only a staff member with a view_transactions perimssion can get the community_credits. Others can view the rest of the data.

    URL:
    URL:
    https://api.tagcash.com/community/details/[communityid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 1.3 For getting list of notifications of a community

    URL:
    URL:
    https://api.tagcash.com/notification/getnotifications
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, status [optional : status = new (to list unread notifications)]

  • 1.4 Search User

    URL:
    URL:
    https://api.tagcash.com/user/searchuser
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, (id, email, name, mobile, gender (male or female or other), nickname, age (operators: gt20 or eq20 or lt20), friends, city, country_id, location ([longitude, latitude] json array), distance (in KM), count, offset ) [OPTIONAL] (Atleast one key is needed)

  • 1.5 Get Tagcoin rate

    URL:
    URL:
    https://api.tagcash.com/currency/gettagcoinrate
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, wallet_id

  • 1.6 List Merchant and Deal Categories

    URL:
    URL:
    https://api.tagcash.com/category/list
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token


2. Settings community.settings

  • 2.1 For editing a community

    You need to be in community perspective

    URL:
    URL:
    https://api.tagcash.com/community/edit
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, community_name, community_description, community_city, country_id, community_zip, community_address1, community_address2, community_type [public, private, paid], community_autojoin [true, false], community_fee [required only in the case of paid communities], location ([longitude, latitude] json array), category_id

  • 2.2 For editing the community restrictions

    You need to be in community perspective

    URL:
    URL:
    https://api.tagcash.com/community/editrestrictions
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, minage, gender, passportverification, mobileverification, country_id

  • 2.3 For editing the community tags

    You need to be in community perspective

    URL:
    URL:
    https://api.tagcash.com/community/edittags
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, community_tags [json encoded string]

  • 2.4 Upload community avatar

    URL:
    URL:
    https://api.tagcash.com/community/uploadavatar
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, image [base64 encoded image]

  • 2.5 Set Defaults

    URL:
    URL:
    https://api.tagcash.com/settings/setdefaults
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, community_id, pin_on_transfer [true/false], pin_on_switch [true/false], currency, wallet_id


4. RFID [community.rfid]

  • 4.1 Bind a user/community/tagvert/stamp to a RFID tag

    Unbound RFIDs will be automatically added

    URL:
    URL:
    https://api.tagcash.com/rfid/bind
    Data to be submitted:
    Data to be submitted:
    access_token, id, (link_id[id of user/community/deal/stamp], link_type[user/community/deal/stamp], deal_id[required for link_type : stamp]) [optional]

  • 4.2 RFID unbind

    URL:
    URL:
    https://api.tagcash.com/rfid/unbind
    Data to be submitted:
    Data to be submitted:
    access_token, id

  • 4.3 RFID activate

    URL:
    URL:
    https://api.tagcash.com/rfid/activate
    Data to be submitted:
    Data to be submitted:
    access_token, id

  • 4.4 RFID deactivate

    URL:
    URL:
    https://api.tagcash.com/rfid/deactivate
    Data to be submitted:
    Data to be submitted:
    access_token, id

  • 4.5 List all linked RFID tags

    URL:
    URL:
    https://api.tagcash.com/rfid/linkedtags
    Data to be submitted:
    Data to be submitted:
    access_token

  • 4.6 List all owned RFID tags

    URL:
    URL:
    https://api.tagcash.com/rfid/ownedtags
    Data to be submitted:
    Data to be submitted:
    access_token


5. Messages [community.messages]

  • 5.1 Send messages

    URL:
    URL:
    https://api.tagcash.com/message/send
    Data to be submitted:
    Data to be submitted:
    access_token, to_id, to_type, content

  • 5.2 Unread messages

    URL:
    URL:
    https://api.tagcash.com/message/unread
    Data to be submitted:
    Data to be submitted:
    access_token

  • 5.3 View Conversation

    URL:
    URL:
    https://api.tagcash.com/message/conversation
    Data to be submitted:
    Data to be submitted:
    access_token, id, type


6. Members [community.members]

  • 6.1 Add user to a community

    If the user is already a member of the community, his role can be changed using this api call. Otherwise the user will be added to the community as a new member. The user will be automatically added if he has auto add enabled in his profile, otherwise he will just receive an invitation from the community

    URL:
    URL:
    https://api.tagcash.com/community/adduser/[userid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, role_id [optional. If not present the user will be assigned the default role]

  • 6.2 Remove user from a community

    Only a staff member with a remove_user permission can use this API call. Owner cannot be removed from a community

    URL:
    URL:
    https://api.tagcash.com/community/removeuser/[userid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 6.3 List all incoming requests to join

    URL:
    URL:
    https://api.tagcash.com/community/requests
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 6.4 List all members of the member type in a community

    URL:
    URL:
    https://api.tagcash.com/community/members
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 6.5 List all members of the staff type in a community

    URL:
    URL:
    https://api.tagcash.com/community/staff
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, chat_status[value: 1 or 0]

  • 6.6 Post a review about a user/community/reward

    URL:
    URL:
    https://api.tagcash.com/review/add
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id [id of the user/ deal / community], type [user/deal/community], comment, stars

  • 6.7 List all reviews about a user/community/reward

    URL:
    URL:
    https://api.tagcash.com/review/list
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id [id of the user/ deal / community], type [user/deal/community], offset[optional], count[optional. Defaults to 100]

  • 6.8 Add user/community to blocked list

    URL:
    URL:
    https://api.tagcash.com/block/add/[id]
    Data to be submitted:
    Data to be submitted:
    access_token, type

  • 6.9 Remove user/community from blocked list

    URL:
    URL:
    https://api.tagcash.com/block/remove/[id]
    Data to be submitted:
    Data to be submitted:
    access_token, type

  • 6.10 Get Community member settings

    URL:
    URL:
    https://api.tagcash.com/member/getsettings/[userid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 6.11 Make a member KYC Verified [For CICO Verified Communities]

    URL:
    URL:
    https://api.tagcash.com/community/makekycverified
    Data to be submitted:
    Data to be submitted:
    access_token,userid or user_email

  • 6.12 Create a new user and add to the community

    URL:
    URL:
    https://api.tagcash.com/user/createuser
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token,user_email,user_firstname, user_lastname,user_mobile, [user_pin, [optional] only for verified communities]

  • 6.13 Update community staff chat status

    URL:
    URL:
    https://api.tagcash.com/community/chatstatus
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token,status [value: 1 or 0]


7. Roles [community.roles]

  • 7.1 Create a new Role withina Community

    A role can be created inside a community, only if the user has the permission to create a role inside the community. Permissions are optional and can be assigned only if the role type is staff

    URL:
    URL:
    https://api.tagcash.com/role/create
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, role_name, role_type[staff, member], role_default [1 or 0], role_permissions [optional][json array with the id’s of the permissions. eg.[1,2 ]]

  • 7.2 Edit a role within a Community

    The user needs to have the permission to edit roles. Unlike the create role call, you can’t set the permissions of the user using this call

    URL:
    URL:
    https://api.tagcash.com/role/edit/[roleid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, role_name, role_type[staff, member], role_default [1 or 0]

  • 7.3 Delete role from a community

    >Only a staff member with a edit_role permission can use this API call. Owner role cannot be removed from a community

    URL:
    URL:
    https://api.tagcash.com/role/delete/[roleid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 7.4 View all roles in a community

    URL:
    URL:
    https://api.tagcash.com/community/roles/[communityid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 7.5 Get role permissions

    User needs to have the edit roles permission to view the permissions

    URL:
    URL:
    https://api.tagcash.com/role/getpermissions/[roleid]
    Data to be submitted:
    Data to be submitted:
    access_token

  • 7.6 Edit role permissions

    A user can edit thepermissions of a role, if he has the permission to edit a role

    URL:
    URL:
    https://api.tagcash.com/role/editpermissions/[roleid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, role_permissions [optional][json array with the id’s of the permissions

  • 7.7 Check permissions and role of the user in a community

    URL:
    URL:
    https://api.tagcash.com/community/getpermissions
    Data to be submitted:
    Data to be submitted:
    access_token

  • 7.9 Change ownership

    URL:
    URL:
    https://api.tagcash.com/community/transferowner
    Data to be submitted:
    Data to be submitted:
    access_token, user_id


8. Deals [community.deals]

  • 8.1 Create a new deal

    URL:
    URL:
    https://api.tagcash.com/deal/create
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, title, description, start_date, end_date or days, country, city, credit_type, visibility, price, roles, limits, rewardinfo, affiliate_fee, tags [optional], image, type, dealinfo, category_id [optional]

  • 8.2 Extend the deal

    URL:
    URL:
    https://api.tagcash.com/deal/extend
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, days, deal_id

  • 8.3 For uploading deal avatar

    URL:
    URL:
    https://api.tagcash.com/deal/uploadavatar
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, image [base64 encoded image]

  • 8.4 Deal Details

    URL:
    URL:
    https://api.tagcash.com/deal/details/[dealid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, [OPTIONAL. For live deal details. Possible values: user_id]

  • 8.5 Search or List deals of the community

    Different from user perspective

    URL:
    URL:
    https://api.tagcash.com/deal/search
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, [OPTIONAL] status (Leave empty to list all. Possible values: active, expired)

  • 8.6 For getting all the assignable deals of the community staff

    You need to be in community perspective

    URL:
    URL:
    https://api.tagcash.com/deal/assignable
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, (offset, limit) [optional: for pagination. limit will default to 100]

  • 8.7 To see the Live Deals in the community

    Available only in community perspective

    URL:
    URL:
    https://api.tagcash.com/deal/live/[userid] (userid is optional. If not present, it will list all the live deals in particular community)
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, (priority (urgent or noturgent)) [OPTIONAL]

  • 8.8 To see the deals a user has taken from your community

    Available only in community perspective

    URL:
    URL:
    https://api.tagcash.com/user/activedeals/[userid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 8.9 Assign a deal

    URL:
    URL:
    https://api.tagcash.com/deal/assign
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, user_id, deal_id

  • 8.10 Redeem a deal

    URL:
    URL:
    https://api.tagcash.com/deal/redeem
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, user_id, deal_id

  • 8.11 To see the history of a particular deal

    If in community perspecitve you will get history for all users, otherwise you will get historyof the currently logged in user

    URL:
    URL:
    https://api.tagcash.com/deal/history/[dealid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 8.12 To see the historyof all deals a user has taken from your community

    Available only in community perspective

    URL:
    URL:
    https://api.tagcash.com/user/historydeals/[userid]
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 8.13 To see the history of all deals of the active community

    Available in community perspective only

    URL:
    URL:
    https://api.tagcash.com/community/dealhistory
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 8.14 Get Bookmarked Deals of the community

    URL:
    URL:
    https://api.tagcash.com/deal/getbookmarked
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 8.15 Add Catalog Items [sell tagverts]

    URL:
    URL:
    https://api.tagcash.com/catalog/add
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, name, price, wallet_id, deal_id [to include in deal], [optional] description, category_id, image

  • 8.16 Update Catalog Items [sell tagverts]

    URL:
    URL:
    https://api.tagcash.com/catalog/update
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id, name, price, wallet_id,[optional] description, category_id, image

  • 8.17 Delete Catalog Item

    URL:
    URL:
    https://api.tagcash.com/catalog/delete
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id - can be deleted only if the item is not used in any deals

  • 8.18 Search Catalog

    URL:
    URL:
    https://api.tagcash.com/catalog/search
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id, category_id, catalog_name, deal_id [return the deal item details]

  • 8.19 Upload Catalog Image

    URL:
    URL:
    https://api.tagcash.com/catalog/uploadimage
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id, file

  • 8.20 Remove Catalog Image

    URL:
    URL:
    https://api.tagcash.com/catalog/removeimage
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, file_name

  • 8.21 List Catalog Category

    URL:
    URL:
    https://api.tagcash.com/catalog/listcategory
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 8.22 Add Catalog Category

    URL:
    URL:
    https://api.tagcash.com/catalog/addcategory
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, categories [json array of category names]

  • 8.23 Delete Catalog Category

    URL:
    URL:
    https://api.tagcash.com/catalog/deletecategory
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, id


9. Wallets [community.wallets]

  • 9.1 List Wallet Types

    URL:
    URL:
    https://api.tagcash.com/wallet/types
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token

  • 9.2 Create Wallet

    URL:
    URL:
    https://api.tagcash.com/wallet/create
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, wallet_type_id

  • 9.3 List Wallets

    URL:
    URL:
    https://api.tagcash.com/wallet/list
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, [optional] wallet_type_id or currency_code

  • 9.4 Transfer amount from Wallet

    URL:
    URL:
    https://api.tagcash.com/wallet/transfer
    Data to be submitted [POST]:
    Data to be submitted [POST]:
    access_token, from_wallet_id or to_wallet_id; to_id, to_type or to_email or to_mobile; amount, narration
    Data to be sumbmitted charging (pulling from user) [POST]:
    Data to be sumbmitted charging (pulling from user) [POST]:
    access_token, from_id, from_type, from_wallet_id, to_wallet_id, amount, charging=true, pin, narration

    Note: to_email or to_mobile given means transfer to user


  • 9.5 Wallet Delete

    URL:
    URL:
    https://api.tagcash.com/wallet/delete/[wallet_id]
    Data to be submitted [POST]:
    Data to be sumbmitted [POST]:
    access_token

  • 9.6 Wallet Transactions

    Shows all transactions

    URL:
    URL:
    https://api.tagcash.com/wallet/transactions
    Data to be submitted [POST]:
    Data to be sumbmitted [POST]:
    access_token, [optional] direction[in/out], type, from_id, to_id, to_type, from_type, to_wallet_id, from_wallet_id, count, offset

  • 9.7 Get Last 30 Days Points Reward Transaction

    Returns last 30 days community points transactions

    URL:
    URL:
    https://api.tagcash.com/reward/last30
    Data to be submitted [POST]:
    Data to be sumbmitted [POST]:
    access_token

  • 9.8 Show member’s community rewards

    Returns list of community points accumulated by their members

    URL:
    URL:
    https://api.tagcash.com/wallet/communityrewards
    Data to be submitted [POST]:
    Data to be sumbmitted [POST]:
    access_token, [optional] user

  • 9.9 Generate Pay Button

    Generate Pay Button

    URL:
    URL:
    https://api.tagcash.com/wallet/getpaybutton
    Data to be submitted [POST]:
    Data to be sumbmitted [POST]:
    access_token, payment_method[json string], amount, currency [optional] redirect_url, notify_url

  • 9.10 Generate Share Button

    Generate Share and Reward Button

    URL:
    URL:
    https://api.tagcash.com/wallet/getsharebutton
    Data to be submitted [POST]:
    Data to be sumbmitted [POST]:
    access_token, link_to_promote, affiliate_reward[in percentage], role, reward_type,button_bg_color[hex color code with #], button_text_color[hex color code with #], button_text [optional] redirect_url, notify_url

API Credentials API Credentials
Client ID :
Client Secret :
Authorization Code :
Implicit :
Client Credentials :
Password :
Redirect Url :

+ Additional

Custom Email : (optional)

Authorisation Code: This type of authentication is mainly intended for server side applications that can keep their client id and client password secret. For eg. a PHP application whose code is not available to the public.

Implicit: This type of authentication is intended for client side application like the ones using Javascript, which CANNOT keep their client id and client secret as a secret. There is only one step envolved in such applications. They directly get the token after the user approves them. In this case the access tokens would be short lived.

Client Credentials: This kind of authentication is used when a app/community needs to log in on behalf of itself. It wont be able to switch to the user perspective though.

SDK
Download Tagcash SDK file by clicking the link below. Extract the files to a directory
Select the preferred sdk and copy the files to your web root. In this example we are using an Apache server running PHP scripts. Therefore copy the files inside the PHP folder to your webroot directory.
			# cp -r /extracted-path/tagbond_sdk-master/php /your-webroot/
		
Next, set up the configuration file by setting the   Client Id and Client Secret. The Client Id and Client Secret are generated on the top this page.
			# vi config.php 
..........
..........
$clientId = '' ;
$clientSecret = '' ;
..........
..........
Set the Redirect Uri correctly in configuration file. The Redirect Uri is the location of the returning script file. For using the SDK, set the Redirect Uri pointing to the url of the file 'demo.php'. You need set the Redirect Uri URL in the file 'config.php' and also in the text box on top of this page. Note that the Redirect Uri should be same everwhere.
			# vi config.php 
..........
$redirectUri = 'http://location-of-your-server/php/demo.php';
..........

That's it! Now run the file demo.php in your  browser and you can start using Tagcash's API.
On your browser ' http://location-of-your-server/php/demo.php '

Tagcash Plugins

Tagcash is developing plugins for various platforms, including Word Press

 

#Before installation of any plugin:

  1. Sign-in or register with Tagcash and create a community/merchant.
  2. Click on the API link at the page footer and crete or reset your credentials for use with the plugin. You will need Client ID and Client Secret, as well as your email or user ID and password.
  3. Don't forget to update your "Redirect Url". You will get Redirect URL from tagcash page after installation.
  4. The instructions for each plugin are in the Read Me document for each download.

 

Download Word Press Woo Commerce

Download Magento