---
updatedAt: 2025-09-18T20:59:59.000Z
agentTools:
  projectIndex: https://kotani-pay.readme.io/llms.txt
---

# Send Token to Crypto Wallet

This endpoint will send token to any crypto wallet

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/v3/onramp/crypto": {
      "post": {
        "operationId": "OnrampController_createOnrampCrypto",
        "summary": "Send Token to Crypto Wallet",
        "description": "This endpoint will send token to any crypto wallet",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOnrampCryptoDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Request has been successfully created"
                    },
                    "data": {
                      "type": "object",
                      "$ref": "#/components/schemas/OnrampCryptoResponseDto"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Bad Request"
                    },
                    "data": {
                      "type": "object",
                      "example": {}
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid API Key"
                    },
                    "data": {
                      "type": "object",
                      "example": {}
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "ONRAMP"
        ],
        "security": [
          {
            "JWT": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "KOTANI PAY API PLATFORM",
    "description": "",
    "version": "3.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://sandbox-api.kotanipay.io",
      "description": "Sandbox"
    }
  ],
  "components": {
    "securitySchemes": {
      "JWT": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "OnrampCryptoResponseDto": {
        "type": "object",
        "properties": {
          "referenceId": {
            "type": "string",
            "description": "The reference ID of the onramp crypto transaction"
          },
          "status": {
            "type": "string",
            "description": "The status of the onramp crypto transaction"
          },
          "cryptoAmount": {
            "type": "number",
            "description": "The amount of crypto sent"
          },
          "cryptoAmountReceived": {
            "type": "number",
            "description": "The amount of crypto received"
          },
          "feeInCrypto": {
            "type": "number",
            "description": "The fee in crypto"
          },
          "feeType": {
            "type": "string",
            "description": "The type of fee"
          },
          "cryptoWallet": {
            "type": "string",
            "description": "The ID of the crypto wallet"
          },
          "chain": {
            "type": "object",
            "description": "The chain of the onramp crypto transaction"
          },
          "token": {
            "type": "object",
            "description": "The token of the onramp crypto transaction"
          },
          "transactionHash": {
            "type": "string",
            "description": "The transaction hash of the onramp crypto transaction"
          }
        },
        "required": [
          "referenceId",
          "status",
          "cryptoAmount",
          "cryptoAmountReceived",
          "feeInCrypto",
          "feeType",
          "cryptoWallet",
          "chain",
          "token",
          "transactionHash"
        ]
      },
      "CreateOnrampCryptoDto": {
        "type": "object",
        "properties": {
          "receiverAddress": {
            "type": "string",
            "description": "The receiver address of the onramp crypto transaction"
          },
          "chain": {
            "type": "string",
            "enum": [
              "ETHEREUM",
              "CELO",
              "AVALANCHE",
              "POLYGON",
              "ARBITRUM",
              "OPTIMISM",
              "STELLAR",
              "TRON",
              "FUSE",
              "LIGHTNING",
              "SOLANA",
              "PROVENANCE",
              "CARDANO",
              "HEDERA",
              "BASE",
              "LISK",
              "VICTION",
              "SCROLL"
            ],
            "description": "The chain of the onramp crypto transaction"
          },
          "token": {
            "type": "string",
            "enum": [
              "CUSD",
              "USDC",
              "USDT",
              "SAT",
              "BTC",
              "HASH",
              "FUSE",
              "HBAR",
              "USDGLO",
              "CKES",
              "CGHS",
              "MSAT"
            ],
            "description": "The token of the onramp crypto transaction"
          },
          "cryptoAmount": {
            "type": "number",
            "description": "The amount of crypto sent"
          },
          "referenceId": {
            "type": "string",
            "description": "The reference ID of the onramp crypto transaction"
          }
        },
        "required": [
          "receiverAddress",
          "chain",
          "token",
          "cryptoAmount",
          "referenceId"
        ]
      }
    }
  }
}
```