Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4577748
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:23:21+00:00 2026-05-21T20:23:21+00:00

Good Day, I’m currently designing database structure for a website of mine. I need

  • 0

Good Day,

I’m currently designing database structure for a website of mine. I need community assistance in one aspect only as I never did something similar.

Website will include three types of the payments:

  1. Internal payments (Escrow kind payments). User can send payment to another user.
  2. Deposits. Users add fund to their accounts.
  3. Withdrawal. User can request a withdrawal. Money will be sent to their bank/PayPal account.

Basically, I need some tips to get the best design possible.

Here’s what I’m thinking about:
deposits – this table will store info about deposits
deposits_data – this table will store info about deposit transaction (ex. data returned by PayPal IPN)
payments – table to store internal payments
withdrawals – table to store info about withdrawal request
transactions – table to store info about ALL transactions (with ENUM() field called type with following values possible: internal, deposit, withdrawal)

Please note that I have already a table logs to store every user action.

Unfortunately, I feel that my design approch is not the best possible in this aspect. Can you share some ideas/tips?

PS. Can I use a name “escrow” for internal payments or should I choose different name?

Edit
DEPOSITS, PAYMENTS and WITHDRAWALS tables store specific transaction details. TRANSACTIONS table stores only limited info – it’s a kind of logs table – with a details field (which contains a text to display in user log section, ex: “User 1 sent you a payment for something”)/

Of course I have users tables, etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:23:22+00:00Added an answer on May 21, 2026 at 8:23 pm

    Can I use a name “escrow” for internal
    payments or should I choose different
    name?

    Escrow has a specfic financial/legal meaning, which is different from how you seem to mean it: “a written agreement (or property or money) delivered to a third party or put in trust by one party to a contract to be returned after fulfillment of some condition” (source)

    So choosing a different name seems like a good idea.

    As for design, what data will DEPOSITS, PAYMENTS and WITHDRAWALS store which TRANSACTIONS won’t? Also, you need an ACCOUNTS table. Or are you planning to just use your existing USERS table (I presume you have such a thing)? You probably ought to have something for external parties, even if you only intend to support PayPal for the time being.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good day! I am a newbie on creating database... I need to create a
Good day, to stackoverflow community. I have run into a bug with regard to
Good day everyone, this is one of those areas that is a little over
Good day, everyone. I need a compiled and ready-to-use Flash lib, which is able
Good day, I have one theoretical question. I have an application that run some
Good day all, I'm in the process of locally testing a website and I
Good day everyone. A friend of mine who doesn't speak english asked me to
Good day. I'm confused about storing the embedded database in a Java EE application.
Good day, I am sending e-mail with php and I use user's session for
Good day. I would like to know if it is possible to apply styles

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.