Skip to main content
POST
Credit user institution with tokens

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

The user institution ID to credit (must be a valid ObjectId)

Body

application/json
credits
integer

Number of credits to transfer (defaults to 1000 if omitted)

Example:

1000

Response

Credits transferred successfully

success
boolean
Example:

true

message
string
Example:

"Transfer successfuly executed and recorded!"