Hex Pay Docs
Api

Get Store Payment Methods

Retrieve all enabled payment methods for a specific store

GET
/v1/payments/methods
AuthorizationBearer <token>

JWT token with EdDSA signature. Use Bearer scheme.

In: header

Response Body

curl -X GET "https://api.hexpay.io/v1/payments/methods"

[
  {
    "id": "0197ef69-6825-7bb4-8cd8-770ab407e240",
    "coin": {
      "name": "Solana",
      "symbol": "SOL",
      "imgUrl": "https://payment.hexpay.io/images/logo_sol.svg"
    },
    "chain": {
      "name": "Solana",
      "symbol": "SOL",
      "imgUrl": "https://payment.hexpay.io/images/logo_sol.svg"
    }
  },
  {
    "id": "0197ef69-8297-72d3-94fb-50472539a1c8",
    "coin": {
      "name": "Tether",
      "symbol": "USDT",
      "imgUrl": "https://payment.hexpay.io/images/logo_usdt.svg"
    },
    "chain": {
      "name": "Solana",
      "symbol": "SOL",
      "imgUrl": "https://payment.hexpay.io/images/logo_sol.svg"
    }
  },
  {
    "id": "0197ef69-98b6-72d4-81a6-6b884fb674c2",
    "coin": {
      "name": "Ton",
      "symbol": "TON",
      "imgUrl": "https://payment.hexpay.io/images/logo_ton.svg"
    },
    "chain": {
      "name": "Ton",
      "symbol": "TON",
      "imgUrl": "https://payment.hexpay.io/images/logo_ton.svg"
    }
  },
  {
    "id": "0197ef6a-3ffd-7ed1-8859-aeb815142b33",
    "coin": {
      "name": "Tether",
      "symbol": "USDT",
      "imgUrl": "https://payment.hexpay.io/images/logo_usdt.svg"
    },
    "chain": {
      "name": "Ton",
      "symbol": "TON",
      "imgUrl": "https://payment.hexpay.io/images/logo_ton.svg"
    }
  },
  {
    "id": "0198b81f-4caf-72a3-a849-75b6c9bdad3e",
    "coin": {
      "name": "Dogs",
      "symbol": "DOGS",
      "imgUrl": "https://payment.hexpay.io/images/logo_dogs.svg"
    },
    "chain": {
      "name": "Ton",
      "symbol": "TON",
      "imgUrl": "https://payment.hexpay.io/images/logo_ton.svg"
    }
  },
  {
    "id": "0198b81f-7b53-7497-afb6-5ba5c7606b30",
    "coin": {
      "name": "USDC",
      "symbol": "USDC",
      "imgUrl": "https://payment.hexpay.io/images/logo_usdc.svg"
    },
    "chain": {
      "name": "Ton",
      "symbol": "TON",
      "imgUrl": "https://payment.hexpay.io/images/logo_ton.svg"
    }
  },
  {
    "id": "0198b81f-8caf-7c25-a392-42d09e50288e",
    "coin": {
      "name": "Notcoin",
      "symbol": "NOT",
      "imgUrl": "https://payment.hexpay.io/images/logo_notcoin.svg"
    },
    "chain": {
      "name": "Ton",
      "symbol": "TON",
      "imgUrl": "https://payment.hexpay.io/images/logo_ton.svg"
    }
  }
]

{
  "error": "Invalid authentication token",
  "code": "AUTH_INVALID"
}

{
  "error": "Internal server error",
  "code": "INTERNAL_ERROR"
}