Fiat On Ramp
Fiat currency on-ramp - buy cryptocurrency with credit card or bank transfer
Estimate Purchase Fees
Authorization
HTTPBearer In: header
Request Body
application/json
Fiat currency code
"USD"3 <= length <= 10Amount in fiat currency
Cryptocurrency symbol
2 <= length <= 10Payment method type for fee calculation
"credit_card" | "debit_card" | "bank_account" | "ach"Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/fiat/estimate" \ -H "Content-Type: application/json" \ -d '{ "fiat_amount": 0, "crypto_currency": "string", "payment_method_type": "credit_card" }'{
"fiat_currency": "string",
"fiat_amount": "string",
"crypto_currency": "string",
"payment_method_type": "credit_card",
"platform_fee": "string",
"platform_fee_percentage": "string",
"payment_processor_fee": "string",
"payment_processor_fee_percentage": "string",
"network_fee": "string",
"total_fee": "string",
"exchange_rate": "string",
"crypto_amount": "string",
"net_fiat_amount": "string",
"rate_expires_at": "2019-08-24T14:15:22Z",
"estimated_delivery_time": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Purchase Limits
Authorization
HTTPBearer In: header
Response Body
application/json
curl -X GET "https://loading/api/v1/fiat/limits"{
"kyc_tier": 3,
"tier_description": "string",
"card_daily_limit_usd": "string",
"card_daily_used_usd": "string",
"card_daily_remaining_usd": "string",
"card_monthly_limit_usd": "string",
"card_monthly_used_usd": "string",
"card_monthly_remaining_usd": "string",
"bank_daily_limit_usd": "string",
"bank_daily_used_usd": "string",
"bank_daily_remaining_usd": "string",
"bank_monthly_limit_usd": "string",
"bank_monthly_used_usd": "string",
"bank_monthly_remaining_usd": "string",
"min_transaction_usd": "string",
"max_transaction_usd": "string",
"next_tier": 0,
"next_tier_card_daily_limit": "string",
"next_tier_bank_daily_limit": "string",
"upgrade_available": false
}Initiate Purchase
Authorization
HTTPBearer In: header
Request Body
application/json
Fiat currency code (ISO 4217)
"USD"3 <= length <= 10Amount in fiat currency to spend
Cryptocurrency symbol to purchase (e.g., BTC, ETH)
2 <= length <= 10UUID of saved payment method (optional, uses default if not provided)
Client-provided idempotency key to prevent duplicate transactions
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/fiat/purchase" \ -H "Content-Type: application/json" \ -d '{ "fiat_amount": 0, "crypto_currency": "string" }'{
"id": "string",
"user_id": "string",
"transaction_reference": "string",
"transaction_type": "purchase",
"status": "pending",
"fiat_currency": "string",
"fiat_amount": "string",
"crypto_currency": "string",
"crypto_amount": "string",
"exchange_rate": "string",
"platform_fee": "string",
"payment_processor_fee": "string",
"network_fee": "string",
"total_fee": "string",
"payment_method_id": "string",
"payment_method_type": "credit_card",
"payment_method_last4": "string",
"provider_name": "string",
"provider_transaction_id": "string",
"provider_status": "string",
"failure_reason": "string",
"failure_code": "string",
"initiated_at": "2019-08-24T14:15:22Z",
"processing_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"failed_at": "2019-08-24T14:15:22Z",
"cancelled_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}List Transactions
Authorization
HTTPBearer In: header
Query Parameters
Page number (1-indexed)
11 <= valueItems per page
501 <= value <= 100Filter by status
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/fiat/transactions"{
"transactions": [
{
"id": "string",
"transaction_reference": "string",
"status": "pending",
"fiat_currency": "string",
"fiat_amount": "string",
"crypto_currency": "string",
"crypto_amount": "string",
"total_fee": "string",
"payment_method_type": "credit_card",
"payment_method_last4": "string",
"initiated_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}
],
"total_count": 0,
"page": 1,
"per_page": 50
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Transaction
Authorization
HTTPBearer In: header
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/fiat/transactions/string"{
"id": "string",
"user_id": "string",
"transaction_reference": "string",
"transaction_type": "purchase",
"status": "pending",
"fiat_currency": "string",
"fiat_amount": "string",
"crypto_currency": "string",
"crypto_amount": "string",
"exchange_rate": "string",
"platform_fee": "string",
"payment_processor_fee": "string",
"network_fee": "string",
"total_fee": "string",
"payment_method_id": "string",
"payment_method_type": "credit_card",
"payment_method_last4": "string",
"provider_name": "string",
"provider_transaction_id": "string",
"provider_status": "string",
"failure_reason": "string",
"failure_code": "string",
"initiated_at": "2019-08-24T14:15:22Z",
"processing_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"failed_at": "2019-08-24T14:15:22Z",
"cancelled_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}List Payment Methods
Authorization
HTTPBearer In: header
Response Body
application/json
curl -X GET "https://loading/api/v1/fiat/payment-methods"{
"payment_methods": [
{
"id": "string",
"user_id": "string",
"method_type": "credit_card",
"card_brand": "string",
"card_last4": "string",
"card_exp_month": 0,
"card_exp_year": 0,
"bank_name": "string",
"bank_account_type": "checking",
"bank_account_last4": "string",
"billing_name": "string",
"billing_email": "string",
"billing_city": "string",
"billing_state": "string",
"billing_country": "string",
"is_default": true,
"is_verified": true,
"is_active": true,
"nickname": "string",
"provider_name": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"last_used_at": "2019-08-24T14:15:22Z",
"verified_at": "2019-08-24T14:15:22Z"
}
],
"total_count": 0
}Add Payment Method
Authorization
HTTPBearer In: header
Request Body
application/json
Payment method type
"credit_card" | "debit_card" | "bank_account" | "ach"Card brand (Visa, Mastercard, etc.)
Last 4 digits of card
Card expiration month (1-12)
Card expiration year
Bank name
Bank account type
Last 4 digits of account
Last 4 digits of routing number
Payment provider name
Provider payment method token
length <= 200Provider customer ID
Billing name
length <= 200Billing email
Billing address line 1
length <= 255Billing address line 2
Billing city
length <= 100Billing state/province
Billing postal code
length <= 20Billing country (ISO 3166-1 alpha-2)
2 <= length <= 2User-friendly nickname
Set as default payment method
falseResponse Body
application/json
application/json
curl -X POST "https://loading/api/v1/fiat/payment-methods" \ -H "Content-Type: application/json" \ -d '{ "method_type": "credit_card", "provider_payment_method_id": "string", "billing_name": "string", "billing_address_line1": "string", "billing_city": "string", "billing_postal_code": "string", "billing_country": "st" }'{
"id": "string",
"user_id": "string",
"method_type": "credit_card",
"card_brand": "string",
"card_last4": "string",
"card_exp_month": 0,
"card_exp_year": 0,
"bank_name": "string",
"bank_account_type": "checking",
"bank_account_last4": "string",
"billing_name": "string",
"billing_email": "string",
"billing_city": "string",
"billing_state": "string",
"billing_country": "string",
"is_default": true,
"is_verified": true,
"is_active": true,
"nickname": "string",
"provider_name": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"last_used_at": "2019-08-24T14:15:22Z",
"verified_at": "2019-08-24T14:15:22Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Remove Payment Method
Authorization
HTTPBearer In: header
Path Parameters
Response Body
application/json
application/json
curl -X DELETE "https://loading/api/v1/fiat/payment-methods/string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}