wire

package
v1.800.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Credit

func Credit(c *gin.Context)

Credit manually credits an account when a wire transfer is received. POST /v1/checkout/wire/credit Admin-only endpoint. Marks the pending wire payment as completed.

func Instructions

func Instructions(c *gin.Context)

Instructions returns the caller org's wire-transfer instructions. GET /v1/checkout/wire/instructions

Fails CLOSED: the org comes ONLY from the authenticated principal (set by the identity/token middleware). A request with no resolved org gets a clean 401 — never a panic (the previous GetOrganization MustGet 500'd on any org-less call after EdgeAuth strips a spoofed X-Org-Id) and never another org's bank details. Account/routing/SWIFT are org-specific sensitive data, so there is no anonymous read.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL