---
title: "Upgrade Plan"
method: POST
path: "/api/v1/wallet/upgrade"
tags: ["Wallet Payments"]
---

# Upgrade Plan

`POST /api/v1/wallet/upgrade`

## Request

- Base URL: `https://cryptodataapi.com`
- URL: `https://cryptodataapi.com/api/v1/wallet/upgrade`
- Auth: API key in header `X-API-Key`

Verify a USDC transfer on-chain and upgrade the API key to pro.

## Request body

- PaymentVerifyRequest
  - `tx_hash` string, required
  - `network` string, required
  - `plan` string, required
  - `intent_id` string, nullable
  - `discount_code` string, nullable

## Response `200`

Successful Response

- PaymentVerifyResponse
  - `success` boolean, required
  - `subscription` object, nullable
  - `invoice_number` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cryptodataapi/apis/crypto-data-api.md) · [All operations](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/revisions/8628b754ca81?raw)
