post https://www.rebuildingsociety.com/api/rs/TradeMicroloans
Perform an action for the specified user. Uses apikey and access token.
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
Parameter | Definition |
---|---|
action | Offer specified Microloan on secondary market |
discount_premium | Set the premium or discount to be applied |
microloans | Id of specified Microloans on secondary market |
apikey | API access key supplied by Rebuilding Society |
userkey | Token Cookie for User Authentication see get_userkey() |
Note:
Request needs to return any error messages. For example: “Insufficient funds to buy microloan.”