API Documentation
Authentication
The Wirecash API uses API keys to authenticate requests. You can view and manage your API keys in the Wirecash Dashboard.
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
If you need to authenticate via bearer auth (e.g., for a cross-origin request), use -H "Wirecash-Auth: SECRET_KEY"
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Example
Javascript
const Wirecash = require("wirecash");
const wirecash = Wirecash("wcash_4eC39HqLyjWDarjtT1zdp7dc");
Curl
curl --request GET \
--url http://api.wirecash.com/v1/orders/{id} \
--header 'Accept: application/json' \
--header 'Wirecash-Auth: SECRET_KEY'