Title: PHP/Json Api
Last modified: December 13, 2017

---

# PHP/Json Api

 *  Resolved [falconcoin](https://wordpress.org/support/users/falconcoin/)
 * (@falconcoin)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/php-json-api/)
 * I was looking over the site and wanted to use the php API, i found some in your
   bundle download.
 * In what directory do i place these files?
 * also the link to show examples is not working seems to be a ssl error
 * As far as the Json to move funds around etc, im curious about the security on
   that, as far as someone seeing the POST URL and doing it them selves.
 * can you post where to find the javascript/ajax used in these calls?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [dashed-slug.net](https://wordpress.org/support/users/dashedslug/)
 * (@dashedslug)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/php-json-api/#post-9779779)
 * The only thing you need to install is the plugin zip file.
 * The phpDOCs are there only to help you. You can open `index.html` in your browser.
 * Replay attacks are not possible, since you should be using SSL. Furthermore the
   actions are protected across users by WordPress nonces.
 * The JSON API is called from `assets/wallets-ko.js`. It’s a knockout script for
   the frontend UIs.
 * [https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/json-api/](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/json-api/)
   
   [https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/php-api/](https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/php-api/)
 *  Thread Starter [falconcoin](https://wordpress.org/support/users/falconcoin/)
 * (@falconcoin)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/php-json-api/#post-9779843)
 * thanks and for anyone looking for an example:
    line 198 of assets/wallets-ko.
   js
 *     ```
       $.ajax({
       					dataType: 'json',
       					cache: false,
       					data: {
       						'__wallets_action' : 'do_move',
       						'__wallets_move_toaccount' : user,
       						'__wallets_move_amount' : amount,
       						'__wallets_move_comment' : comment,
       						'__wallets_move_tags' : tags,
       						'__wallets_symbol' : symbol,
       						'_wpnonce' : nonce
       					},
       ```
   
 * The pages you linked did not have any examples but this gives me what i need 
   to get started, Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP/Json Api’ is closed to new replies.

 * ![](https://ps.w.org/wallets/assets/icon-256x256.png?rev=1570088)
 * [Bitcoin and Altcoin Wallets](https://wordpress.org/plugins/wallets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wallets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wallets/)
 * [Active Topics](https://wordpress.org/support/plugin/wallets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wallets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wallets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [falconcoin](https://wordpress.org/support/users/falconcoin/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/php-json-api/#post-9779843)
 * Status: resolved