GithubHelp home page GithubHelp logo

testpaystar's Introduction

تست api

مراحل اجرای پروژه

1- php artisan migrate

2- php artisan test

3- php artisan db:seed

به دلیل اینکه خواسته شده از احراز هویت استفاده نشود لذا از user_id برای درخواست ها استفاده شده در صورت استفاده از احراز هویت jwt با ارسال توکن کاربر امنیت درخواست ها بالاتر خواهد بود اجرای Url در Postman

دریافت اطلاعات بانکی کاربر و ذخیره آن

http://127.0.0.1:8000/api/v1/user/bank/details?user_id=1&firstname=mehdi&lastname=rezaie&number=IR1000001251&token=123456

دریافت اطلاعات انتقال از کاربر و ذخیره آن

http://127.0.0.1:8000/api/v1/transactions/create?user_id=1&token=123456&amount=15000&destinationFirstname=mehdi&destinationLastname=rezaie&destinationNumber=IR12500000555558858&description=33&user_bank_details_id=1

ارسال اطلاعات انتقال به api

http://127.0.0.1:8000/api/v1/transactions/request?user_id=1&token=123456&transaction_id=1

دریافت تراکنش های کاربر

http://127.0.0.1:8000/api/v1/transactions/show?user_id=1&token=123456

testpaystar's People

Contributors

rmehdi555 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.