Transactions

The Transactions API within Octane empowers you to efficiently manage and retrieve orders associated with your account.

The Endpoint is in Beta

Creating and managing transactions with the Octane Transactions API is a straightforward process:

  • Create Transaction (POST):

    • Use the /v2/octane/transactions endpoint.

    • Provide essential details like blockchain type, currency pairs, quantities, and associated wallet and bank account information in the request body.

    • Results in successful order creation with timestamp and transaction type details.

  • Retrieve All Orders (GET):

    • Utilize the /v2/octane/transactions endpoint with a GET request.

    • Retrieve all orders linked to the provided apiKey.

    • Access detailed information such as IDs, blockchain specifics, currencies involved, and timestamps.

    • Upcoming filtering options allow you to refine results.

  • Retrieve Specific Order (GET):

    • Access details of a specific order using the /v2/octane/transactions/:Id endpoint.

    • Provide the order's ID and apiKey.

    • Retrieve comprehensive details, including transaction types, completion status, and precise currency exchange specifics.

Transactions API Endpoints

Post Transaction

POST https://api.abyiss.com/v2/octane/transactions

Returns a 201 status code upon successful query. Then returns the successful order. Requires user to have associated bank account and wallet.

Headers

Request Body

{
    "id": "txn-123456815",
    "type": "OFF_RAMP",
    "createdAt": "2024-02-02T01:40:48.492",
    "flaggedAt": null,
    "completedAt": null,
    "updatedAt": "2024-02-02T01:40:48.487",
    "sellOrder": {
        "id": "ord-123456870",
        "bankAccountId": null,
        "blockchain": "avalanche",
        "createdAt": "2024-02-02T01:40:48.492",
        "currency": "AVAX",
        "feeUsd": null,
        "priceUsd": "6.85",
        "quantity": ".2004",
        "updatedAt": "2024-02-02T01:40:48.486",
        "walletId": "wal-123456790"
    },
    "buyOrder": {
        "id": "ord-123456871",
        "bankAccountId": "bac-123456788",
        "blockchain": null,
        "createdAt": "2024-02-02T01:40:48.492",
        "currency": "USD",
        "feeUsd": "0.17",
        "priceUsd": "6.85",
        "quantity": "6.67",
        "updatedAt": "2024-02-02T01:40:48.486",
        "walletId": "0x065149eab6eFa05F4639Da6305B58C91BD92d456"
    }
}

Get Transactions

GET https://api.abyiss.com/v2/octane/transactions

Returns an array of all the orders for an associated apiKey.

Headers

[
    {
        "id": "txn-123456791",
        "type": "OFF_RAMP",
        "createdAt": "2024-01-30T16:31:06.407",
        "flaggedAt": null,
        "completedAt": null,
        "updatedAt": "2024-01-30T16:31:06.401",
        "sellOrder": {
            "id": "ord-123456790",
            "bankAccountId": null,
            "blockchain": "ethereum",
            "createdAt": "2024-01-30T16:31:06.407",
            "currency": "ETH",
            "feeUsd": null,
            "priceUsd": null,
            "quantity": "54.555544",
            "updatedAt": "2024-01-30T16:31:06.4",
            "walletId": "wal-123456790"
        },
        "buyOrder": {
            "id": "ord-123456791",
            "bankAccountId": "bac-123456788",
            "blockchain": null,
            "createdAt": "2024-01-30T16:31:06.407",
            "currency": "USD",
            "feeUsd": null,
            "priceUsd": null,
            "quantity": null,
            "updatedAt": "2024-01-30T16:31:06.4",
            "walletId": null
        }
    },
    {
        "id": "txn-123456790",
        "type": "OFF_RAMP",
        "createdAt": "2024-01-30T16:31:21.479",
        "flaggedAt": null,
        "completedAt": null,
        "updatedAt": "2024-01-30T16:31:21.475",
        "sellOrder": {
            "id": "ord-123456784",
            "bankAccountId": null,
            "blockchain": "avalanche",
            "createdAt": "2024-01-30T16:31:21.479",
            "currency": "AVAX",
            "feeUsd": null,
            "priceUsd": null,
            "quantity": "54.555544",
            "updatedAt": "2024-01-30T16:31:21.475",
            "walletId": "wal-123456790"
        },
        "buyOrder": {
            "id": "ord-123456785",
            "bankAccountId": "bac-123456788",
            "blockchain": null,
            "createdAt": "2024-01-30T16:31:21.479",
            "currency": "USD",
            "feeUsd": null,
            "priceUsd": null,
            "quantity": null,
            "updatedAt": "2024-01-30T16:31:21.475",
            "walletId": null
        }
    }
]

Get Transaction by ID

GET https://api.abyiss.com/v2/octane/transactions/{transactionId}

Returns an object for the transactionIdfor an associated apiKey.

Query Parameters

Headers

{
    "id": "txn-123456815",
    "type": "OFF_RAMP",
    "createdAt": "2024-02-02T01:40:48.492",
    "flaggedAt": null,
    "completedAt": null,
    "updatedAt": "2024-02-02T01:40:48.487",
    "sellOrder": {
        "id": "ord-123456870",
        "bankAccountId": null,
        "blockchain": "avalanche",
        "createdAt": "2024-02-02T01:40:48.492",
        "currency": "AVAX",
        "feeUsd": null,
        "priceUsd": "6.85",
        "quantity": ".2004",
        "updatedAt": "2024-02-02T01:40:48.486",
        "walletId": "wal-123456790"
    },
    "buyOrder": {
        "id": "ord-123456871",
        "bankAccountId": "bac-123456788",
        "blockchain": null,
        "createdAt": "2024-02-02T01:40:48.492",
        "currency": "USD",
        "feeUsd": "0.17",
        "priceUsd": "6.85",
        "quantity": "6.67",
        "updatedAt": "2024-02-02T01:40:48.486",
        "walletId": "0x065149eab6eFa05F4639Da6305B58C91BD92d456"
    }
}

Copy & Paste Code

POST Transactions

curl -X POST https://api.abyiss.com/v2/octane/transactions?apiKey=YOUR_API_KEY_HERE \
-H "Content-Type: application/json" \
-d '{
  "transaction": {
    "sellOrder": {
        "walletId": "wal-123456790",
        "blockchain": "avalanche",
        "currency": "AVAX",
        "quantity": ".2004"
    },
    "buyOrder": {
        "bankAccountId": "bac-123456788",
        "currency": "USD"
    }
  }
}'

GET Transactions

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

Transactions Response Object

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

{
    "id": "txn-123456815",
    "type": "OFF_RAMP",
    "createdAt": "2024-02-02T01:40:48.492",
    "flaggedAt": null,
    "completedAt": null,
    "updatedAt": "2024-02-02T01:40:48.487",
    "sellOrder": {
        "id": "ord-123456870",
        "bankAccountId": null,
        "blockchain": "avalanche",
        "createdAt": "2024-02-02T01:40:48.492",
        "currency": "AVAX",
        "feeUsd": null,
        "priceUsd": "6.85",
        "quantity": ".2004",
        "updatedAt": "2024-02-02T01:40:48.486",
        "walletId": "wal-123456790"
    },
    "buyOrder": {
        "id": "ord-123456871",
        "bankAccountId": "bac-123456788",
        "blockchain": null,
        "createdAt": "2024-02-02T01:40:48.492",
        "currency": "USD",
        "feeUsd": "0.17",
        "priceUsd": "6.85",
        "quantity": "6.67",
        "updatedAt": "2024-02-02T01:40:48.486",
        "walletId": "0x065149eab6eFa05F4639Da6305B58C91BD92d456"
    }
}

Transactions Response Attributes

Last updated