1. finance
Talkamie APIs
  • constants
    • coins
  • https
    • push-notification
    • alerts
      • get alerts
    • auth
      • get user by token
      • sign up
      • sign in
      • sign out
      • reset password
    • availability
      • get custom availability
      • get weekly availability
      • set custom availability
      • set weekly availability
    • call
      • get call
    • calls
      • get call histories
    • chat
      • get chat
      • get messages
      • send chat message
    • chats
      • get frequent chats
      • get unread chats
      • get pending chats
      • get chats
    • connect-requests
      • get pending connection requests
      • get users you're in connection with
    • faqs
      • get faqs
      • get faqs by type
    • finance
      • web - balance top-up flow
      • transactions - all
        GET
      • transactions - earnings
        GET
      • transactions - purchases
        GET
      • transactions - withdrawals
        GET
      • web - balance top-up
        POST
      • withdraw coins
        POST
    • interests
      • get interests
    • otp
      • generate otp
      • verify otp
    • reviews
      • get your reviews
    • schedule
      • get a schedule
      • update a schedule
      • delete schedule
    • schedules
      • get all schedules
      • get past schedules
      • get upcoming schedules
    • signed-urls
      • uploading a file
      • files
    • specializations
      • get specialization areas
    • support
      • get open ticket
      • get ticket messages
    • user
      • update user
      • change password
      • get user
      • delete user
      • schedule a call
      • clear schedules
      • send connection request
      • cancel connection request
      • accept connection from user
      • reject connection request
      • disconnect from a user
      • send message request
      • cancel message request
      • accept message request
      • reject message request
      • get user reviews
      • review a user
      • update review
      • delete review
    • users
      • get users
  • wss
    • __readme
    • alert.new
    • alert.update
    • alerts.update
    • authenticate
    • call.end.reminder
    • chat.message.new
    • chat.message.send
    • chat.messages.get
    • chat.messages.update
    • chat.update
    • chats.update
    • ping
    • schedule.upcoming
    • support.message.new
    • support.message.send
    • support.messages.get
    • support.messages.update
    • user.coins.low
    • user.update
  • zegocloud
    • making calls
  • Schemas
    • v1
      • alert
        • alert_type_schedule
        • alert_type_connect_request
        • alert_type_message_request
        • alert_type_review
        • alert_type_schedule
        • alert_type_transaction
        • alert_type_user
        • alert_type
        • basic_alert
        • push_notification_type
        • push_notification_json_data
      • availability
        • custom_availability_items
        • weekly_availability_items
      • call
        • basic_call
        • full_call
      • chat
        • basic_chat
        • basic_chat_message
        • basic_chat_request
        • full_chat
      • connect-request
        • basic_connect_request
        • full_connect_request
      • faq
        • basic_faq
      • file
        • file_props
        • compressed_file
      • interest
        • basic_interest
      • req
        • sort-order
      • review
        • basic_review
        • full_review
      • schedule
        • basic_call_schedule
        • full_call_schedule
      • support
        • full_support_ticket
        • basic_support_ticket
        • basic_support_message
      • time
        • iso_date_time
        • iso_date
        • iso_time_24hr
        • week_day_abbr
        • time_range
      • transaction
        • basic_transaction
      • user
        • basic_user
        • user_specialization_area
        • full_user
        • extended_user
        • user_verification_status
        • user_account
        • user_account_without_tokens
        • user_tokens
        • user_verification
      • wss
        • wss_action_base
        • wss_action_alert
        • wss_action_call
        • wss_action_chat
        • wss_action_schedule
        • wss_action_support
        • wss_action_user
        • wss_action
  1. finance

web - balance top-up flow

the web process for a user to recharge their account coin wallet is as follows:

create session#

use this endpoint, web - balance top-up, to initiate a session;
on success a session URL and a transaction ID will be returned;
the session URL is used to redirect the user to the payment gateway, where they make the payment and they get redirected back to the website;

socket updates#

if the payment is successful, the socket may emit a body action of update-user with the updated user object in the response data, which should contain the updated ledger balance;
Modified at 2025-10-03 20:17:36
Previous
finance
Next
transactions - all
Built with