Introduction
The Octane Bank Accounts API provides developers with functionality to manage and retrieve information related to bank accounts with their accounts.
Bank Accounts:
Retrieve a comprehensive list of bank accounts associated with a given API key.
Access specific bank account details by querying with the bank account ID.
Create new bank accounts by providing essential details in the request body.
Deletes a specific bank account by providing the bank account ID.
Bank Account API Endpoints
Post US Bank Account
POST
https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts
Create a new US bank account by providing the necessary account details. Upon a successful request, it returns a 201 status code along with the details of the created bank account.
Headers
Request Body
The bank account routing number.
Customer's billing details.
City in the billing address.
Country in the billing address.
Address line 1 in the billing address.
Address line 2 in the billing address.
Province or state in the billing address.
Full name of the billing contact.
Phone number of the billing contact.
billingDetails.postalCode*
Postal code in the billing address.
201: Created -- Success 401: Unauthorized -- Invalid API Key
Copy {
"id": "bac-123456788",
"routingNumber": "12345",
"accountNumber": "67890",
"bankName": "Bank of America",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"userId": "usr-123456788",
"fiatCurrency": "USD",
"bankAddress": {
"city": "ORLANDO",
"country": "UNITED_STATES",
"line1": "1123 PROMANADE ST",
"line2": null,
"province": "FL",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781"
},
"billingDetails": {
"city": "BOSTON",
"country": "UNITED_STATES",
"line1": "342 MAIN ST",
"line2": "SUITE 100",
"province": "MA",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"fullName": "GAVIN BELSON",
"phone": "1112223333",
"postalCode": "02142"
}
}
Copy {
"Unauthorized": "Invaild API Key"
}
Get Bank Accounts
GET
https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts
Retrieves all bank accounts associated with the provided API key. Upon a successful request, it returns a 200 status code and a list of bank accounts.
Headers
200: OK -- Success 401: Unauthorized -- Invalid API Key
Copy [{
"id": "bac-123456788",
"routingNumber": "12345",
"accountNumber": "67890",
"bankName": "Bank of America",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"userId": "usr-123456788",
"fiatCurrency": "USD",
"bankAddress": {
"city": "ORLANDO",
"country": "UNITED_STATES",
"line1": "1123 PROMANADE ST",
"line2": null,
"province": "FL",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781"
},
"billingDetails": {
"city": "BOSTON",
"country": "UNITED_STATES",
"line1": "342 MAIN ST",
"line2": "SUITE 100",
"province": "MA",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"fullName": "GAVIN BELSON",
"phone": "1112223333",
"postalCode": "02142"
}
}]
Copy {
"Unauthorized": "Invaild API Key"
}
Get Bank Account by ID
GET
https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts/{bankAccountId}
Retrieves the details of a specific bank account using its unique bank account ID. Upon a successful request, it returns a 200 status code and the details of the requested bank account.
Headers
Query Parameters
200: OK -- Success 401: Unauthorized -- Invalid API Key
Copy {
"id": "bac-123456788",
"routingNumber": "12345",
"accountNumber": "67890",
"bankName": "Bank of America",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"userId": "usr-123456788",
"fiatCurrency": "USD",
"bankAddress": {
"city": "ORLANDO",
"country": "UNITED_STATES",
"line1": "1123 PROMANADE ST",
"line2": null,
"province": "FL",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781"
},
"billingDetails": {
"city": "BOSTON",
"country": "UNITED_STATES",
"line1": "342 MAIN ST",
"line2": "SUITE 100",
"province": "MA",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"fullName": "GAVIN BELSON",
"phone": "1112223333",
"postalCode": "02142"
}
}
Copy {
"Unauthorized": "Invaild API Key"
}
Delete Bank Account
DELETE
``https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts/{bankAccountId}
Deletes a specified bank account using its unique bank account ID. Upon a successful request, it returns a 204 status code indicating that the wallet has been deleted.
Headers
Query Parameters
Response
204: No Content -- Deleted 401: Unauthorized -- Invalid API Key
Copy {
"Unauthorized": "Invaild API Key"
}
Copy & Paste Code
POST Bank Accounts
Curl Python JavaScript
Copy curl -X POST \
-H "Content-Type: application/json" \
-H "apiKey: your-api-key" \
-d '{
"routingNumber": "12555342345",
"accountNumber": "67555234890",
"billingDetails": {
"city": "Boston",
"country": "USA",
"line1": "123 Bill Me Dr",
"province": "MA",
"fullName": "Frank Tester",
"phone": "123345456",
"postalCode": "123543"
}
}' \
https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts
Copy import requests
import json
url = "https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts"
headers = {
"Content-Type": "application/json",
"apiKey": "your-api-key"
}
bank_account_data = {
"routingNumber": "12555342345",
"accountNumber": "67555234890",
"billingDetails": {
"city": "Boston",
"country": "USA",
"line1": "123 Bill Me Dr",
"province": "MA",
"fullName": "Frank Tester",
"phone": "123345456",
"postalCode": "123543"
}
}
response = requests.post(url, headers=headers, data=json.dumps(bank_account_data))
print(response.status_code)
print(response.json())
Copy const axios = require('axios');
const url = 'https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts';
const headers = {
'Content-Type': 'application/json',
'apiKey': 'your-api-key'
};
const bankAccountData = {
routingNumber: '12555342345',
accountNumber: '67555234890',
billingDetails: {
city: 'Boston',
country: 'USA',
line1: '123 Bill Me Dr',
province: 'MA',
fullName: 'Frank Tester',
phone: '123345456',
postalCode: '123543'
}
};
axios.post(url, bankAccountData, { headers })
.then(response => {
console.log(response.status);
console.log(response.data);
})
.catch(error => {
console.error(error.response.status);
console.error(error.response.data);
});
GET Bank Accounts
Curl Python JavaScript
Copy curl "https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts?apiKey=YOUR_API_KEY_HERE"
Copy import requests
url = 'httpshttps://api.abyiss.com/v2/octane/paymentMethods/bankAccounts?apiKey=YOUR_API_KEY_HERE'
response = requests.get(url)
print(response.status_code) # This will print the status code of the response
print(response.json()) # This will print the response content as JSON
Copy const url = 'https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts?apiKey=YOUR_API_KEY_HERE';
fetch(url)
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok');
}
return response.json();
})
.then(data => {
console.log(data); // Handle the response data
})
.catch(error => {
console.error('There has been a problem with your fetch operation:', error);
});
Bank Accounts Response Object
POST Bank Accounts Get Bank Accounts Get Bank Account by Id
Example URL: https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts?apiKey=
Copy {
"id": "bac-123456788",
"routingNumber": "12345",
"accountNumber": "67890",
"bankName": "Bank of America",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"userId": "usr-123456788",
"fiatCurrency": "USD",
"bankAddress": {
"city": "ORLANDO",
"country": "UNITED_STATES",
"line1": "1123 PROMANADE ST",
"line2": null,
"province": "FL",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781"
},
"billingDetails": {
"city": "BOSTON",
"country": "UNITED_STATES",
"line1": "342 MAIN ST",
"line2": "SUITE 100",
"province": "MA",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"fullName": "GAVIN BELSON",
"phone": "1112223333",
"postalCode": "02142"
}
}
Example URL: https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts?apiKey=
Copy [{
"id": "bac-123456788",
"routingNumber": "12345",
"accountNumber": "67890",
"bankName": "Bank of America",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"userId": "usr-123456788",
"fiatCurrency": "USD",
"bankAddress": {
"city": "ORLANDO",
"country": "UNITED_STATES",
"line1": "1123 PROMANADE ST",
"line2": null,
"province": "FL",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781"
},
"billingDetails": {
"city": "BOSTON",
"country": "UNITED_STATES",
"line1": "342 MAIN ST",
"line2": "SUITE 100",
"province": "MA",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"fullName": "GAVIN BELSON",
"phone": "1112223333",
"postalCode": "02142"
}
}]
Example URL: https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts/bac-123456788?apiKey=
Copy {
"id": "bac-123456788",
"routingNumber": "12345",
"accountNumber": "67890",
"bankName": "Bank of America",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"userId": "usr-123456788",
"fiatCurrency": "USD",
"bankAddress": {
"city": "ORLANDO",
"country": "UNITED_STATES",
"line1": "1123 PROMANADE ST",
"line2": null,
"province": "FL",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781"
},
"billingDetails": {
"city": "BOSTON",
"country": "UNITED_STATES",
"line1": "342 MAIN ST",
"line2": "SUITE 100",
"province": "MA",
"createdAt": "2024-07-23T14:04:28.788",
"updatedAt": "2024-07-23T14:04:28.781",
"fullName": "GAVIN BELSON",
"phone": "1112223333",
"postalCode": "02142"
}
}
Bank Accounts Response Attributes
Attribute Name
Type
Description
The bank account routing number.
The timestamp the bank account was created at.
The timestamp the bank account was updated at.
City where the bank is located.
Country where the bank is located.
Address line 1 of the bank.
Address line 2 of the bank.
Province or state where the bank is located.
Customers billing details.
City in the billing address.
Country in the billing address.
Address line 1 in the billing address.
Address line 2 in the billing address.
Province or state in the billing address.
Full name of the billing contact.
Phone number of the billing contact.
billingDetails.postalCode
Postal code in the billing address.