Bank Accounts

The Bank Accounts API

The Endpoint is in Beta

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

NameTypeDescription

apiKey*

string

Your Abyiss API Key

Request Body

NameTypeDescription

routingNumber*

string

The bank account routing number.

accountNumber*

string

The bank account number.

wireNumber*

string

The bank account wire number.

bankName

string

The bank name.

ibanNumber

string

International Bank Account Number (IBAN)

type

string

Bank Account Type ("BUSINESS_CHECKING", "BUSINESS_SAVINGS", "SAVINGS", "CHECKING")

fiatCurrency

string

Bank Account Fiat Currency Type. Default USD.

swiftCode

string

International Bank Account Swift Code.

nationalId

string

International Bank Account National Id.

bankAddress

object

Customers bank details.

city

string

City where the bank is located.

country

string

Country where the bank is located.

line1

string

Address line 1 of the bank.

line2

string

Address line 2 of the bank.

province

string

Province or state where the bank is located.

billingDetails*

object

Customers billing details.

city*

string

City in the billing address.

country*

string

Country in the billing address.

line1*

string

Address line 1 in the billing address.

line2

string

Address line 2 in the billing address.

province*

string

Province or state in the billing address.

fullName*

string

Full name of the billing contact.

phone*

string

Phone number of the billing contact.

postalCode*

string

Postal code in the billing address.

{
    "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",
    "isActive": true,
    "isVerifiedForWires": false,
    "wireNumber": null,
    "ibanNumber": null,
    "type": "BUSINESS_CHECKING",
    "fiatCurrency": "USD",
    "swiftCode": null,
    "nationalId": null,
    "bankAddress": {
        "city": null,
        "country": "UNITED_STATES",
        "line1": null,
        "line2": null,
        "province": null,
        "createdAt": "2024-07-23T14:04:28.788",
        "updatedAt": "2024-07-23T14:04:28.781"
    },
    "billingDetails": {
        "city": null,
        "country": "UNITED_STATES",
        "line1": null,
        "line2": null,
        "province": null,
        "createdAt": "2024-07-23T14:04:28.788",
        "updatedAt": "2024-07-23T14:04:28.781",
        "fullName": null,
        "phone": null,
        "postalCode": null
    }
}

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

NameTypeDescription

apiKey*

string

Your Abyiss API Key

[
    {
        "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",
        "isActive": true,
        "isVerifiedForWires": false,
        "wireNumber": null,
        "ibanNumber": null,
        "type": "BUSINESS_CHECKING",
        "fiatCurrency": "USD",
        "swiftCode": null,
        "nationalId": null,
        "bankAddress": {
            "city": null,
            "country": "UNITED_STATES",
            "line1": null,
            "line2": null,
            "province": null,
            "createdAt": "2024-07-23T14:04:28.788",
            "updatedAt": "2024-07-23T14:04:28.781"
        },
        "billingDetails": {
            "city": null,
            "country": "UNITED_STATES",
            "line1": null,
            "line2": null,
            "province": null,
            "createdAt": "2024-07-23T14:04:28.788",
            "updatedAt": "2024-07-23T14:04:28.781",
            "fullName": null,
            "phone": null,
            "postalCode": null
        }
    }
]

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

NameTypeDescription

apiKey*

string

Your Abyiss API Key

Query Parameters

NameTypeDescription

bankAccountId*

string

Bank Account Id

{
    "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",
    "isActive": true,
    "isVerifiedForWires": false,
    "wireNumber": null,
    "ibanNumber": null,
    "type": "BUSINESS_CHECKING",
    "fiatCurrency": "USD",
    "swiftCode": null,
    "nationalId": null,
    "bankAddress": {
        "city": null,
        "country": "UNITED_STATES",
        "line1": null,
        "line2": null,
        "province": null,
        "createdAt": "2024-07-23T14:04:28.788",
        "updatedAt": "2024-07-23T14:04:28.781"
    },
    "billingDetails": {
        "city": null,
        "country": "UNITED_STATES",
        "line1": null,
        "line2": null,
        "province": null,
        "createdAt": "2024-07-23T14:04:28.788",
        "updatedAt": "2024-07-23T14:04:28.781",
        "fullName": null,
        "phone": null,
        "postalCode": null
    }
}

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

NameTypeDescription

apiKey*

string

Your Abyiss API Key

Query Parameters

NameTypeDescription

bankAccountId*

string

Bank Account Id

Response

No Content

Copy & Paste Code

POST Bank Accounts

curl -X POST \
  -H "Content-Type: application/json" \
  -H "apiKey: your-api-key" \
  -d '{
    "routingNumber": "12555342345",
    "accountNumber": "67555234890",
    "wireNumber": "44335534",
    "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

GET Bank Accounts

curl "https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts?apiKey=YOUR_API_KEY_HERE"

Bank Accounts Response Object

Example URL: https://api.abyiss.com/v2/octane/paymentMethods/bankAccounts?apiKey=

{
    "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",
    "isActive": true,
    "isVerifiedForWires": false,
    "wireNumber": null,
    "ibanNumber": null,
    "type": "BUSINESS_CHECKING",
    "fiatCurrency": "USD",
    "swiftCode": null,
    "nationalId": null,
    "bankAddress": {
        "city": null,
        "country": "UNITED_STATES",
        "line1": null,
        "line2": null,
        "province": null,
        "createdAt": "2024-07-23T14:04:28.788",
        "updatedAt": "2024-07-23T14:04:28.781"
    },
    "billingDetails": {
        "city": null,
        "country": "UNITED_STATES",
        "line1": null,
        "line2": null,
        "province": null,
        "createdAt": "2024-07-23T14:04:28.788",
        "updatedAt": "2024-07-23T14:04:28.781",
        "fullName": null,
        "phone": null,
        "postalCode": null
    }
}

Bank Accounts Response Attributes

Attribute NameTypeDescription

id

string

Unique bank account id.

routingNumber

string

The bank account routing number.

accountNumber

string

The bank account number.

wireNumber

string

The bank account wire number.

bankName

string

The bank name.

createdAt

string

The timestamp the bank account was created at.

updatedAt

string

The timestamp the bank account was updated at.

userId

string

Unique user id.

isActive

boolean

If the bank account is currently active. True or False.

isVerifiedForWires

boolean

ibanNumber

string

International Bank Account Number (IBAN)

type

string

Bank Account Type ("BUSINESS_CHECKING", "BUSINESS_SAVINGS", "SAVINGS", "CHECKING")

fiatCurrency

string

Bank Account Fiat Currency Type. Default USD.

swiftCode

string

International Bank Account Swift Code.

nationalId

string

International Bank Account National Id.

bankAddress

object

Customers bank detials.

city

string

City where the bank is located.

country

string

Country where the bank is located.

line1

string

Address line 1 of the bank.

line2

string

Address line 2 of the bank.

province

string

Province or state where the bank is located.

billingDetails

object

Customers billing details.

city

string

City in the billing address.

country

string

Country in the billing address.

line1

string

Address line 1 in the billing address.

line2

string

Address line 2 in the billing address.

province

string

Province or state in the billing address.

fullName

string

Full name of the billing contact.

phone

string

Phone number of the billing contact.

postalCode

string

Postal code in the billing address.

Last updated