v1
latestOpenAPI 3.1.02026-07-24590534.0 KBAuto swap
The Auto Swap feature creates a static bank account for a customer. Any fiat payment sent to this bank account is automatically converted to the selected crypto currency and sent to the customer’s crypto wallet.
get/custodial/auto_swap/initiate_onramp
Request body
Response
200
Example response
{
"status": "ok",
"message": "Auto swap successfully created",
"data": {
"public_id": "c869619a-ce05-4111-95bf-a09559d053a3",
"customer": {
"email": "customer8446f9b6-ef27-4602-961b-367db7422829@example.com",
"first_name": "john",
"last_name": "doe"
},
"side": "onramp",
"deposit_bank_account": {
"account_number": "1234567890",
"account_name": "Test user",
"currency": "ngn",
"bank_name": "Kuda bank",
"bank_code": "011"
}
}
}