4851 active members
  4815 are online

Year

22

Day

334

Time

23:51:21

Guest
Login
snewsgnewsmessagegeneralfactioninventorycombatroom
Fully Implemented

Fully Implemented

URL: https://dev.swcombine.com/ws/send_credits/index.php
Method: POST
Description: Allow users to transfer credits.
Pattern Description: N/A
Rate Limited: No
Query String: Required:
client_id (string): The Web Services client's ID. Must match the URL provided in the WS client admin.
client_callback (string): The Web Services client's callback URL. Must match the URL provided in the WS client admin.
transaction (array): Array of arrays keyed by recipient name, values are arrays of amounts to be transferred.

Optional:
transaction_type (string): One-of "character" or "faction". Defaults to "character". Refers to who is sending the credits.
reason (array): Array of arrays keyed by recipient name, values are arrays of reasons. API client info is appended to the reason for logging, regardless of if a reason is present or not. The value array order should correspond to the order of the amounts in the transaction parameter
Parameters: N/A
Requires Authentication: Yes
Permissions: faction_credits_write when transaction_type === 'faction'
character_credits_write in all other situations
Returns: Redirects to client callback URL