Skip to main content
PUT
Transfer credits between account and institution

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

Account ID (the parent account to transfer credits from/to)

Body

application/json
institutionId
string
required

Institution ID to transfer credits to/from (must belong to the account)

credits
number
required

Number of credits to transfer. Positive = account to institution, negative = institution to account.

Example:

100

Response

Credit transfer completed and recorded

success
boolean
Example:

true

data
object
message
string
Example:

"Account Transfer recorded!"