curl --request GET \
--url https://api.platform.dakota.xyz/accounts/onramp/{id} \
--header 'x-api-key: <api-key>'{
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"bank_account": {
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"capabilities": [
"ach",
"fedwire"
],
"account_holder_name": "John Doe",
"bank_name": "Bank of America",
"bank_address": {
"street1": "123 Main St",
"city": "San Francisco",
"country": "US",
"street2": "Apt 4B",
"street3": "Building C",
"region": "California",
"postal_code": "94105"
},
"aba_routing_number": "123456789",
"aba_wire_routing_number": "123456789",
"account_number": "123456789",
"account_type": "checking",
"bic": "DEUTDEFFXXX",
"iban": "DE89370400440532013000",
"account_holder_address": {
"street1": "123 Main St",
"city": "San Francisco",
"country": "US",
"street2": "Apt 4B",
"street3": "Building C",
"region": "California",
"postal_code": "94105"
},
"account_holder_phone": "1234567890",
"bank_phone": "+12345678900"
},
"destination": {
"destination_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"destination_type": "crypto",
"name": "My Ethereum Wallet",
"crypto_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"family": "evm",
"network_id": "ethereum-mainnet"
},
"destination_asset": "USDC",
"rail": "ach"
}Get details for a specific onramp account by ID
curl --request GET \
--url https://api.platform.dakota.xyz/accounts/onramp/{id} \
--header 'x-api-key: <api-key>'{
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"bank_account": {
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"capabilities": [
"ach",
"fedwire"
],
"account_holder_name": "John Doe",
"bank_name": "Bank of America",
"bank_address": {
"street1": "123 Main St",
"city": "San Francisco",
"country": "US",
"street2": "Apt 4B",
"street3": "Building C",
"region": "California",
"postal_code": "94105"
},
"aba_routing_number": "123456789",
"aba_wire_routing_number": "123456789",
"account_number": "123456789",
"account_type": "checking",
"bic": "DEUTDEFFXXX",
"iban": "DE89370400440532013000",
"account_holder_address": {
"street1": "123 Main St",
"city": "San Francisco",
"country": "US",
"street2": "Apt 4B",
"street3": "Building C",
"region": "California",
"postal_code": "94105"
},
"account_holder_phone": "1234567890",
"bank_phone": "+12345678900"
},
"destination": {
"destination_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"destination_type": "crypto",
"name": "My Ethereum Wallet",
"crypto_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"family": "evm",
"network_id": "ethereum-mainnet"
},
"destination_asset": "USDC",
"rail": "ach"
}The unique identifier of the onramp account. KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.
27"1NFHrqBHb3cTfLVkFSGmHZqdDPi"
Onramp account details
Schema for onramp account responses with capabilities for payment rails.
KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.
27"1NFHrqBHb3cTfLVkFSGmHZqdDPi"
Unified schema for bank accounts.
Show child attributes
Response for a crypto destination.
Show child attributes
Asset to receive at the destination.
"USDC"
Payment rail used for this onramp account
ach, fedwire, swift, sepa "ach"