---
title: "Hosted-checkout redirect (browser flow, publishable key)"
method: GET
path: "/pay"
tags: ["System"]
---

# Hosted-checkout redirect (browser flow, publishable key)

`GET /pay`

## Request

- Base URL: `https://api.griffnode.com/v1`
- URL: `https://api.griffnode.com/v1/pay`
- Auth: none required

Browser-facing redirect to the hosted payment page, authenticated by a **publishable** key in the query string (safe to expose client-side). Not used by the server-side SDKs — included for completeness.

## Query parameters

- `pk` string, required
- `amount` string, required
- `crypto` 'BTC' | 'LTC' | 'DOGE' | 'DASH' | 'ETH' | 'USDT' | 'USDC' | 'EURC' | 'DAI' | 'WBTC' | 'SHIB' | 'PEPE' | 'LINK' | 'UNI' | 'AAVE' | 'MKR', required: Supported coin/token symbol. /cryptos/list is authoritative at runtime.
- `currency` 'USD' | 'PLN' | 'EUR' | 'GBP'
- `link` string

## Other responses

- `302`: Redirect to https://griffnode.com/transaction/{transaction_id}
- `400`: Validation error (INVALID_REQUEST, INVALID_CRYPTO, INVALID_AMOUNT, AMOUNT_TOO_LOW, INVALID_CURRENCY, INVALID_METADATA, WALLET_NOT_CONFIGURED, MISSING_ITEMS, MISSING_ORDER_ID, …).

---

[API](https://skmtc.dev/griffnode/apis/griffnode-api.md) · [All operations](https://skmtc.dev/griffnode/apis/griffnode-api/llms.txt) · [OpenAPI document](https://skmtc.dev/griffnode/apis/griffnode-api/revisions/1fed3c10d31b?raw)
