---
title: "Create Onramp Transaction"
method: POST
path: "/onramp"
tags: ["ONRAMP"]
---

# Create Onramp Transaction

`POST /onramp`

Creates a new onramp transaction that converts fiat into crypto for the provided deposit address.

## Headers

- `api-key` string
- `api-secret` string

## Request body

- OnRampsDTO
  - `customerId` string, required — Customer unique identifier (UUID)
  - `quoteId` string, required — Quote unique identifier (UUID)
  - `fromCurrency` 'BRL' | 'ARS' | 'MXN' | 'COP' | 'DOP' | 'GTQ' | 'CLP' | 'HK_USD' | 'HKD' | 'USD' | 'CNY', required — Source currency
  - `toCurrency` 'USDC' | 'USDT', required — Target currency
  - `amount` string, required — Amount to be transacted
  - `chain` 'MATIC' | 'ETH' | 'XLM' | 'TRX' | 'SOL' | 'CELO' | 'AVAX' | 'BNB' — Blockchain network
  - `paymentMethodType` 'BANK', required — Payment method type
  - `depositAddress` string — Deposit address for the transaction
  - `externalId` string — External identifier
  - `memo` string — Memo or reference for the transaction
  - `metadata` object

## Response `201`

---

[API](https://skmtc.net/alfredpay/apis/alfred-penny-api-client-documentation.md) · [All operations](https://skmtc.net/alfredpay/apis/alfred-penny-api-client-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alfredpay/alfred-penny-api-client-documentation/revisions/6fdfb13fd2b1/schema)
