---
title: "Go demo"
description: "Explore a Go invoice portal built with the Inttegro Go SDK."
canonical: "https://studio.inttegro.com/demos/go"
format: inttegro-machine-docs/v1
language: "Ruby"
sdk_version: "v10.0.0"
reader_profile: optional
reader_manifest: "https://studio.inttegro.com/machine/ruby/readers/index.json"
reader_identification: "Optional: declare your client only if known and your current-session capabilities; use reader_manifest for supplemental recommendations."
preamble_estimated_tokens: 373
model_token_report: "https://studio.inttegro.com/machine/token-report.json"
preamble_questions: 5
preamble_source: "general"
recommended_mcp_tools: []
estimated_tokens: 1041
token_estimate_method: "utf8_bytes_divided_by_4"
---

## Machine preamble

**Summary:** Explore a Go invoice portal built with the Inttegro Go SDK. This Ruby representation uses the selected SDK's native names wherever Studio has a verified mapping.

### Five questions

#### Q1. When should the reader use Go demo?

Use this demo guide to inspect a complete working integration and compare it with the application being built.

#### Q2. What is authoritative on this page?

The demo proves one working composition, not the only supported architecture. Follow its linked SDK and API pages for current contracts.

#### Q3. What page-specific constraint matters most?

Do not copy demo credentials, identifiers, or deployment assumptions. Recreate configuration through supported public setup paths.

#### Q4. Can Inttegro MCP materially help with this task?

No catalog ability is sufficiently specific to recommend for this page. Use the documentation directly; consult the MCP catalog only if the task later requires governed live account context or a supported operation.

#### Q5. How should the reader verify the answer and continue?

Open the hosted experience, trace the corresponding source, and verify that its SDK and API usage still matches the current linked documentation. Continue with [Read the Orders API](https://studio.inttegro.com/machine/ruby/api/orders.md) and [Accept payment with Inttegro Checkout](https://studio.inttegro.com/machine/ruby/guides/accept-payment-with-inttegro-checkout.md) when those concerns enter scope.

## Document content

# Go demo

Build an invoice portal with Go’s `net/http` package. Customers can review an
invoice and pay it with embedded, modal, or hosted Checkout.

> Demo Release is interactive content. Use the canonical page to view it.

## What you’ll build

- An idiomatic [`net/http`](https://pkg.go.dev/net/http) application with no web
  framework dependency
- Typed order construction with the [Inttegro Go SDK](https://studio.inttegro.com/machine/ruby/sdks/go.md)
- Input validation, idempotency, and safe public errors
- Go `html/template` views progressively enhanced with [`@inttegro/js`](https://studio.inttegro.com/machine/ruby/web/javascript.md)

## See the flow

The gallery shows the same server-created order in each Checkout presentation.
The API key and invoice mapping remain on the server.

> Demo Presentation Gallery is interactive content. Use the canonical page to view it.

## Run the demo

Install [Go 1.25](https://go.dev/doc/install), set the environment values, and
run the application. The
[released README](https://github.com/inttegro/inttegro-demos/blob/go-v1.8.3/go/README.md)
has the exact commands.

## Key files

[`main.go`](https://github.com/inttegro/inttegro-demos/blob/go-v1.8.3/go/main.go)
contains validation, order creation, errors, and the response.

[`static/checkout-presentations.js`](https://github.com/inttegro/inttegro-demos/blob/go-v1.8.3/go/static/checkout-presentations.js)
presents Checkout in all three modes.

## Before you ship

Store the invoice and Inttegro order IDs together. Verify payment on the server
before marking the invoice paid.

## Next

- [Browse the released source](https://github.com/inttegro/inttegro-demos/tree/go-v1.8.3/go)
- [Accept payment with Inttegro Checkout](https://studio.inttegro.com/machine/ruby/guides/accept-payment-with-inttegro-checkout.md)
- [Read the Orders API](https://studio.inttegro.com/machine/ruby/api/orders.md)
