# WhatsApp Checkout

**URL:** <https://community.rapyd.net/t/whatsapp-checkout/1667>\
**Category:** 👓 Blog\
**Tags:** collect-api, hackathons, wallet-api, tutorials\
**Created:** [May 3, 2022, 5:34pm UTC](https://community.rapyd.net/t/whatsapp-checkout/1667 "2022-05-03T17:34:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [May 3, 2022, 5:34pm UTC](https://community.rapyd.net/t/whatsapp-checkout/1667/1 "2022-05-03T17:34:02Z")

</div>

Rapyd held a 24-hour internal hackathon last July to compete and build on ideas using the Rapyd API. One of our winning teams helped build and present a WhatsApp payment application for businesses to communicate with their customers while allowing customers to make an order and accept payments right within the chat. The team included Rapyd’s very own Borgar Erlendsson, Sveinbjörn Geirsson, Raúl Santiago Gómez, and Charles Dorsett.

A few of the use cases could include:

- Order and pay for a meal using a prefunded Rapyd Wallet.
- Send pre-purchased orders to friends through a wallet-to-wallet transfer.
- As an alternative, a Hosted Checkout Page can be generated.

[Pycharm](https://www.jetbrains.com/pycharm/) with Python was used to build the project using the Rapyd API and the WhatsApp API. A business account is needed to do this and the team used [360dialog.com](http://360dialog.com) as a third party provider. “Python was great. Simple syntax. Excellent for prototyping.” says Sveinbjörn.

Sveinbjörn shared that the team worked through setting up the request signature header parameter, handling the endpoint for the webhooks to return, and walking through the flow of payments. Sveinbjörn himself focused on part of the payment sessions, ordering for a cafe or restaurant, and pairing the communication and payment correctly in WhatsApp.

> **[GitHub - Rapyd-Samples/whatsapp-checkout: Learn how to send requests and...](https://github.com/Rapyd-Samples/whatsapp-checkout)**
>
> Learn how to send requests and catch webhooks using Rapyd Checkout and WhatsApp. - GitHub - Rapyd-Samples/whatsapp-checkout: Learn how to send requests and catch webhooks using Rapyd Checkout and W...

Raúl said although they were only able to commit 24 hours to this project, future features to implement would be group payments, split payments, subscriptions or even authorizing a specific list of payments between family users.

 ![rapyd-order-whatsapp](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/2X/1/1b4c3893de5a0f688eafa6a1d501eb66f999a896.png)

 ![rapyd-checkout-whatsapp](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/2X/1/132dc52c2503774f93316cadd14b182ede1753cb.png)

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [May 3, 2022, 5:56pm UTC](https://community.rapyd.net/t/whatsapp-checkout/1667/2 "2022-05-03T17:56:05Z")

</div>

Here is a diagram with ordering and payment sequence.

 ![Use Cases_Page_3](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/2X/a/aaf32ee8e3f5c6a5f0031ef4b09b47f41d8c7def.jpeg)

---

<div class="post-metadata">

**Author:** ![KarlGusta](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/karlgusta/32/1963_2.png) [@KarlGusta](https://community.rapyd.net/u/KarlGusta)\
**Post date:** [May 23, 2022, 9:18am UTC](https://community.rapyd.net/t/whatsapp-checkout/1667/3 "2022-05-23T09:18:24Z")

</div>

Hello Kyle. This is an interesting sequence diagram. Might you be having a clearer copy I can view? Thanks.

---

<div class="post-metadata">

**Author:** ![drew.harris](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/drew.harris/32/1259_2.png) [@drew.harris](https://community.rapyd.net/u/drew.harris)\
**Post date:** [May 23, 2022, 1:21pm UTC](https://community.rapyd.net/t/whatsapp-checkout/1667/4 "2022-05-23T13:21:34Z")

</div>

Hi, @KarlGusta if you **click on the image** – you can see at the bottom a link to download the image in its original size. If you **click the image yet again** you can see image full scale - it is still fairly small in the text but you can see it more clearly. Hope this helps. Best, @drew.harris

This is the only version we have at this time.
