Create a Payment API with Stripe using Hasura Actions

Share this & earn $10
Hasura
Published at : 28 Dec 2020
1648 views
32
0

In this example, learn how to create a Payment API with Stripe using Hasura Actions.

- Create an order with cart items
- Set up a payment intent with Stripe
- Send back the client secret in response to trigger the payment.

Link to repo - https://github.com/hasura/hasura-actions-examples/tree/master/payment/stripe-payment-intent

-----

馃殌 Hasura makes your data instantly accessible over a real-time GraphQL API, so you can build and ship modern apps and APIs faster. Hasura connects to your databases, REST servers, GraphQL servers and third party APIs (eg: Stripe, Salesforce) to provide a unified realtime GraphQL API across all your data sources instantly.

Check out our features: https://hasura.io
Find us on Twitter: https://twitter.com/HasuraHQ
Join our community: https://hasura.io/discord

-----
HasuraGraphQLStripe API

Back in Time for Dinner - 1950s

Back in Time for Dinner - 1950s

Ice Cube - You Can Do It (Official Video)

Ice Cube - You Can Do It (Official Video)

I Need To Know (Prince Antonio Part Only - Karaoke) - Barbie as The Island Princess

I Need To Know (Prince Antonio Part Only - Karaoke) - Barbie as The Island Princess

L'EMPIRE DU BOIS AVEC @Furious Jumper !!

L'EMPIRE DU BOIS AVEC @Furious Jumper !!

MONEY HACKS | How to make EXTRA MONEY FAST

MONEY HACKS | How to make EXTRA MONEY FAST

Watch Team Coaching Demo Live at Institute of Coaching (IOC) Conference

Watch Team Coaching Demo Live at Institute of Coaching (IOC) Conference

*SECRET* HIDING SPOT IS INSANE!! - Fortnite Funny Fails and WTF Moments! #958

*SECRET* HIDING SPOT IS INSANE!! - Fortnite Funny Fails and WTF Moments! #958

Trump Expected To Appear At In-Person White House Event Saturday | NBC Nightly News

Trump Expected To Appear At In-Person White House Event Saturday | NBC Nightly News

袨效袝袧鞋 袙袗袞袧蝎袝 袙 袪袝效袠 小袥袨袙袗: ADVANCED ENGLISH

袨效袝袧鞋 袙袗袞袧蝎袝 袙 袪袝效袠 小袥袨袙袗: ADVANCED ENGLISH

10 袥袗袡肖啸袗袣袨袙 袣袨孝袨袪蝎袝 校袩袪袨小孝携孝 袙袗楔校 袞袠袟袧鞋!

10 袥袗袡肖啸袗袣袨袙 袣袨孝袨袪蝎袝 校袩袪袨小孝携孝 袙袗楔校 袞袠袟袧鞋!

Religious Tolerance: Made in America

Religious Tolerance: Made in America

Make a Choice with Kit! | Learn How To Make Choices | Ready for Preschool | Disney Junior

Make a Choice with Kit! | Learn How To Make Choices | Ready for Preschool | Disney Junior

TOP 5 CNC MACHINING SOFTWARE | BEST COMPUTER AIDED MANUFACTURING (CAM) PROGRAMS FOR INDUSTRIES 2019

TOP 5 CNC MACHINING SOFTWARE | BEST COMPUTER AIDED MANUFACTURING (CAM) PROGRAMS FOR INDUSTRIES 2019

IT'S BEGINNING TO LOOK ALLOT LIKE CHRISTMAS! VLOGMAS 2020!

IT'S BEGINNING TO LOOK ALLOT LIKE CHRISTMAS! VLOGMAS 2020!

鑺膘殧鞚 Blooming Day

鑺膘殧鞚 Blooming Day

Guristas Pith's Penal Complex ( 锌谢械泻褋 8/10 ) Eve 2017

Guristas Pith's Penal Complex ( 锌谢械泻褋 8/10 ) Eve 2017

The Herd Mentality PC

The Herd Mentality PC

THE LITTLE BOOK OF VALUATION (BY ASWATH DAMODARAN)

THE LITTLE BOOK OF VALUATION (BY ASWATH DAMODARAN)

An Awesome James Burton-Style Country Lick

An Awesome James Burton-Style Country Lick

Portofino Walking Tour 2020 4K

Portofino Walking Tour 2020 4K

Burning Calories to Shed Some Pounds | FITNESS FRIDAY: Road to 165lbs

Burning Calories to Shed Some Pounds | FITNESS FRIDAY: Road to 165lbs

World Events #02 - MiG 29 Pilot Found, Turkey Mercenaries in Kashmir, Agra Metro, Swarm Drone System

World Events #02 - MiG 29 Pilot Found, Turkey Mercenaries in Kashmir, Agra Metro, Swarm Drone System

How to share files to email

How to share files to email

2nd puc English Grammar :- Underlined Words in the following extract refer to? 馃敟 Easy get 4 marks 馃敟

2nd puc English Grammar :- Underlined Words in the following extract refer to? 馃敟 Easy get 4 marks 馃敟

This Song Will Remind You To Never, Ever Give Up! (Official Lyric Video NEVER GIVING UP)

This Song Will Remind You To Never, Ever Give Up! (Official Lyric Video NEVER GIVING UP)

mini crewmate being confused for approximately 13 seconds in among us.

mini crewmate being confused for approximately 13 seconds in among us.

Fantastic Beasts: The Crimes of Grindelwald - Official Comic-Con Trailer

Fantastic Beasts: The Crimes of Grindelwald - Official Comic-Con Trailer

Teflon Sega - Damage

Teflon Sega - Damage

She Seem To Be - Ghaith AKA Valcon & Morgane (Official Audio)

She Seem To Be - Ghaith AKA Valcon & Morgane (Official Audio)

A Captivating Country - Explore Austria

A Captivating Country - Explore Austria

The Touch

The Touch

Morcheeba - Otherwise

Morcheeba - Otherwise

My Collection of Purses and Handbags | Different handbags that I Own | Must Have Handbags

My Collection of Purses and Handbags | Different handbags that I Own | Must Have Handbags

Let's Get Fit | Count to 100 | Count to 100 Song | Counting to 100 | Jack Hartmann

Let's Get Fit | Count to 100 | Count to 100 Song | Counting to 100 | Jack Hartmann

Coffee Jazz 鈥 Smooth Jazz Saxophone and Coffee ... the Best!

Coffee Jazz 鈥 Smooth Jazz Saxophone and Coffee ... the Best!

What is WEAR AND TEAR? What does WEAR AND TEAR mean? WEAR AND TEAR meaning, definition & explanation

What is WEAR AND TEAR? What does WEAR AND TEAR mean? WEAR AND TEAR meaning, definition & explanation

Informat墨vs video

Informat墨vs video

馃摎 Kids Book Read Aloud: DAVID GOES TO SCHOOL by David Shannon

馃摎 Kids Book Read Aloud: DAVID GOES TO SCHOOL by David Shannon

Institutional Forex Trading Live With Students

Institutional Forex Trading Live With Students

Dubai Mall World 's largest Shopping Mall 2019 HD

Dubai Mall World 's largest Shopping Mall 2019 HD

Ipaglaban Mo: Narsing killed his own daughter

Ipaglaban Mo: Narsing killed his own daughter

The IRS' Plan to Collect Taxes After Doomsday

The IRS' Plan to Collect Taxes After Doomsday

MODERN WARFARE ANIME EDITION

MODERN WARFARE ANIME EDITION

Ingesting All Of The Evidence | Chicago Fire

Ingesting All Of The Evidence | Chicago Fire

GTA 5 ONLINE : WHICH IS BEST ARMORED VEHICLE?

GTA 5 ONLINE : WHICH IS BEST ARMORED VEHICLE?

2020 charming and delightful mother of the bride and groom mother evening dresses design collection

2020 charming and delightful mother of the bride and groom mother evening dresses design collection

Vintage Culture x Beck鈥檚 - Unlock Your Soul @ S茫o Paulo, Skyline

Vintage Culture x Beck鈥檚 - Unlock Your Soul @ S茫o Paulo, Skyline

Kar98k aimbot like sniping but it's really just a FaZe member

Kar98k aimbot like sniping but it's really just a FaZe member

The Twins Game Over Scenes

The Twins Game Over Scenes