Model Link
  1. wallet.v1.WalletService
Model Link
  • public.image.v1.ImageService
    • GetImageEditTaskResource
      POST
  • task.v1.TaskService
    • CreateTextToImageTask
      POST
    • CreateTextToVideoTask
      POST
    • CreateImageToImageTask
      POST
    • CreateImageEditTask
      POST
    • QueryTask
      POST
  • user.v1.UserService
    • GetUser
      POST
    • GetUserByEmail
      POST
  • wallet.v1.WalletService
    • GetWallet
      POST
    • TopUp
      POST
  • Schemas
    • public.image.v1.Accessory
    • public.image.v1.Clothing
    • public.image.v1.GetImageEditTaskResourceRequest
    • public.image.v1.GetImageEditTaskResourceResponse
    • public.image.v1.LightAndWeather
    • public.image.v1.ResourceItem
    • task.v1.Accessory
    • task.v1.Clothing
    • task.v1.CreateImageEditTaskRequest
    • task.v1.CreateImageEditTaskResponse
    • task.v1.CreateImageToImageTaskRequest
    • task.v1.CreateImageToImageTaskResponse
    • task.v1.CreateTextToImageTaskRequest
    • task.v1.CreateTextToImageTaskResponse
    • task.v1.CreateTextToVideoTaskRequest
    • task.v1.CreateTextToVideoTaskResponse
    • task.v1.CreativeVariants
    • task.v1.ImageEditType
    • task.v1.LightAndWeatherTransfer
    • task.v1.QueryTaskRequest
    • task.v1.QueryTaskResponse
    • task.v1.Style
    • task.v1.SuperResolution
    • task.v1.TaskStatus
    • user.v1.GetUserByEmailRequest
    • user.v1.GetUserRequest
    • user.v1.User
    • wallet.v1.GetWalletRequest
    • wallet.v1.TopUpChannel
    • wallet.v1.TopUpRequest
    • wallet.v1.TopUpResponse
    • wallet.v1.TopUpStatus
    • wallet.v1.Wallet
  1. wallet.v1.WalletService

TopUp

POST
/wallet.v1.WalletService/TopUp
initiates a top-up transaction to add funds to the wallet.
Returns transaction information including status and payment URL if applicable.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
A successful response.
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.modellink.ai/wallet.v1.WalletService/TopUp' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 0,
    "channel": 0
}'
Response Response Example
{
    "user_id": "string",
    "channel_id": "string",
    "amount": 0,
    "status": 0,
    "channel": 0,
    "url": "string"
}
Modified at 2025-12-11 13:53:43
Previous
GetWallet
Next
public.image.v1.Accessory
Built with