POST/api/v2/card-loads/crypto

Load a card from crypto through the crypto on/off-ramp

Creates an asynchronous crypto-to-fiat card load. Hoppa returns a the crypto on/off-ramp funding instruction, monitors the the crypto on/off-ramp trade and settlement, then loads the settled amount from the configured prepaid source account onto the target card. Send a stable Idempotency-Key when retrying the same load.

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
Idempotency-Key (header)stringYesStable caller-generated key used to return the original operation when the same request is retried.

Request body

application/json

Request body fields
FieldTypeRequiredDescription
UserIdunknownNo
CardIdunknownNoTarget card belonging to UserId.
CryptoCurrencyUSDC | USDTYesCrypto asset deposited into the user's the crypto on/off-ramp virtual account. Possible values: USDC, USDT.
CryptoAmountstringYesPositive decimal amount encoded as a string; do not send a JSON floating-point number.
ChainId1 | -200 | 137 | 42161Nothe crypto on/off-ramp chain IDs: Ethereum 1, Tron -200, Polygon 137, Arbitrum 42161. Possible values: 1, -200, 137, 42161.
FiatCurrencyUSD | EURYesSettlement currency must be enabled in the company provider configuration. Possible values: USD, EUR.
BoomFiAccountIdstringNoOptional the crypto on/off-ramp virtual parent account ID override. Normally omit it so Hoppa resolves the user's linked the crypto on/off-ramp account.
BoomFiAccountReferencestringNoOptional the crypto on/off-ramp account_reference override. Normally omit it so Hoppa resolves the user's linked the crypto on/off-ramp account.

Responses

202 — Accepted

Response 202 fields
FieldTypeRequiredDescription
IdunknownNo
StatusstringNo
UserIdunknownNo
CardIdunknownNo
CryptoCurrencystringNo
CryptoAmountstringNo
ChainIdunknownNo
FiatCurrencystringNo
EstimatedFiatAmountstringNo
SettledFiatAmountstringNo
DepositInstructionobjectNo
BoomFiOrderIdstringNo
BoomFiOrderStatusstringNo
BoomFiSettlementStatusstringNo
BPayTransferIdstringNo
FailureMessagestringNo
CreatedAtstring (date-time)No
CompletedAtstring (date-time)No

400 — Bad Request

Response 400 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

404 — Not Found

Response 404 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

Example request

curl -X POST "https://{base_url}/api/v2/card-loads/crypto" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"CryptoCurrency":"…","CryptoAmount":"…","FiatCurrency":"…"}'

This page is generated from the live OpenAPI specification and always matches the current API.