Skip to content

Update route.ts - #1

Open
Tokestone420 wants to merge 2 commits into
zbdpay:mainfrom
Tokestone420:patch-1
Open

Update route.ts#1
Tokestone420 wants to merge 2 commits into
zbdpay:mainfrom
Tokestone420:patch-1

Conversation

@Tokestone420

Copy link
Copy Markdown

No description provided.

@vercel

vercel Bot commented Nov 27, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zbd-vercel-edge-functions-example ❌ Failed (Inspect) Nov 27, 2023 11:27pm

Comment thread app/api/request/route.ts
},
body: JSON.stringify({
amount: '100000', // 100 satoshis (100,000 msats) -- ~$0.03
body: JSON.stringify({kcrane2487@zbd.gg

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread app/api/request/route.ts
method: 'POST',
headers: {
'Content-Type': 'application/json',
'apikey': `${ZBD_API_KEY}`,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1 app/api/request/route.ts

Comment thread app/api/request/route.ts
},
body: JSON.stringify({
amount: '100000', // 100 satoshis (100,000 msats) -- ~$0.03
amount: '1000000', // 1000 satoshis (1,000,000 msats) -- ~$0.48

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/python print("Hello, World!")

Comment thread app/api/request/route.ts
body: JSON.stringify({
amount: '100000', // 100 satoshis (100,000 msats) -- ~$0.03
amount: '1000000', // 1000 satoshis (1,000,000 msats) -- ~$0.48
description: 'Money at internet speed', // What is this payment request for?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread app/api/request/route.ts
return NextResponse.json(data);
}
}
return NextResponse.json(data);recieve payment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant