/TradeMicroloans

Perform an action for the specified user. Uses apikey and access token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Perform an action for the specified user.

  • When using apikey, endpoint will not try to look for authorization header.
  • When using authorization header, bearer token should be of type password.

Description

Definition: Perform an action for the specified user.

Parameters

ParameterDefinition
actionOffer specified Microloan on secondary market
discount_premiumSet the premium or discount to be applied
microloansId of specified Microloans on secondary market
apikeyAPI access key supplied by Rebuilding Society
userkeyToken Cookie for User Authentication see get_userkey()
📘

Note:

Request needs to return any error messages. For example: “Insufficient funds to buy microloan.”

Query Params
string
string
string
Defaults to sell or buy
microloans
array of strings
Defaults to Single microloan or Array of microloans

required keys for each microloan in array: "id", "for_sale", "capital_outstanding", "discount_premium", "price"

microloans
double

[-5 to 5] (with 0.25 increments)

Headers
string

bearer <access_token>

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
rebuildingsociety.com © copyright 2019