---
title: "Discussion on \"How to Integrate Paystack in Django Rest Framework\" | Hashnode"
description: "Discussion on \"How to Integrate Paystack in Django Rest Framework\". Introduction\nPaystack is a payment gateway that helps individuals and businesses in Africa to accept payments from anywhere in the world.  In this tutorial, I will be creating a wallet system API using Django Rest Framework that allows users to depos..."
url: "https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Integrate Paystack in Django Rest Framework](https://ubaydah.hashnode.dev//how-to-integrate-paystack-in-django-rest-framework?utm_source=hashnode&utm_medium=feed)

Introduction Paystack is a payment gateway that helps individuals and businesses in Africa to accept payments from anywhere in the world. In this tutorial, I will be creating a wallet system API using Django Rest Framework that allows users to depos...

Apr 13, 2022 · 7 min read · ubaydah.hashnode.dev  
Updated May 8, 2022  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#django](https://hashnode.com/tag/django)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#thw-web-apps](https://hashnode.com/tag/thw-web-apps)

## Written by

[Ubaydah Abdulwasiu](https://hashnode.com/@Goo17)

@Goo17 · Ibadan, Nigeria

  
[View profile](https://hashnode.com/@Goo17)

Back-end Developer | Technical Writer | Lover of books and aesthetics

I am a Software developer and Technical Writer

## Responses 7

Markdown supported · ⌘↵ to post

[Joseph Ogiku](https://hashnode.com/@joseph0017)

[Feb 8, 2024](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/65c52bc86feace32bd28c081)

thanks for this, this was really helpful.

[Austin Imoru](https://hashnode.com/@mrgreatworld)

[Nov 27, 2022](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/63838b1edf107a0ef5752108)

I need someone to help with paystack payment integration on WordPress ASAP. Especially, after payment callback action to count as votes. If you can help, drop in on +2347038114922 it's Very URGENT.

[OlaNeat Ayoola](https://hashnode.com/@olaneat)

[Jul 25, 2022](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/62df014d790e138f3d39775a)

nice 1, but i'm getting this err msg hoping u can help out

```
 File "/home/olaneat/Desktop/files/project/django/job/jobConnect/wallet/apiViews.py", line 49, in post
    serializer.save()
  File "/home/olaneat/Desktop/files/project/django/job/jobConnect/wallet/serializers.py", line 45, in save
    wallet = WalletModel.objects.get(user=user)
  File "/home/olaneat/Desktop/files/project/django/job/lib/python3.8/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/olaneat/Desktop/files/project/django/job/lib/python3.8/site-packages/django/db/models/query.py", line 435, in get
    raise self.model.DoesNotExist(
wallet.models.WalletModel.DoesNotExist: WalletModel matching query does not exist.
```

[Ubaydah Abdulwasiu](https://hashnode.com/@Goo17)

[Aug 8, 2022](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/62df014d790e138f3d39775a#reply-62f0ad7ae3a3793580e04da8)

You are probably querying a wallet that doesn't exist for the user. Been a while since I have been here, you can send a DM on Twitter ubay\_dah17 [OlaNeat Ayoola](https://hashnode.com/@olaneat)

[Chidinma Nwatu](https://hashnode.com/@Dinmaa)

[Apr 14, 2022](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/6257b0d3049d83cc3e3ad3dd)

Well explained. Thank you!

[Tuedon Tuoyo](https://hashnode.com/@0tuedon)

[Apr 13, 2022](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/62574f08d448c6c43fbf1f43)

Thanks for sharing ub.

[Idris Olubisi](https://hashnode.com/@olanetsoft)

[Apr 13, 2022](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/6257096ce58c4ac41a67584d)

Well detailed! Thanks for sharing.

[Anuoluwapo Balogun](https://hashnode.com/@AnuoluwapoDS)

[Apr 13, 2022](https://hashnode.com/posts/how-to-integrate-paystack-in-django-rest-framework/6256e195d448c6c43fbf1721/comment/6256e97ce58c4ac41a675527)

I love this 👏🏽
