Transactions are the immutable additions and removals of money from your bank account. They’re the equivalent of line items on your bank statement. To learn more, see Transactions and Transfers.
{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": 100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": "account_number_v18nkfqm6afpsrvy82b2",
"route_type": "account_number",
"source": {
"category": "inbound_ach_transfer",
"inbound_ach_transfer": {
"addenda": null,
"amount": 100,
"originator_company_descriptive_date": null,
"originator_company_discretionary_data": null,
"originator_company_entry_description": "RESERVE",
"originator_company_id": "0987654321",
"originator_company_name": "BIG BANK",
"receiver_id_number": "12345678900",
"receiver_name": "IAN CREASE",
"trace_number": "021000038461022",
"transfer_id": "inbound_ach_transfer_tdrwqr3fq9gnnq49odev"
}
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": -100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": null,
"route_type": null,
"source": {
"ach_transfer_intention": {
"account_number": "987654321",
"amount": 100,
"routing_number": "101050001",
"statement_descriptor": "INVOICE 2468",
"transfer_id": "account_transfer_7k9qe1ysdgqztnt63l7n"
},
"category": "ach_transfer_intention"
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": 100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": null,
"route_type": null,
"source": {
"ach_transfer_return": {
"addenda_information": null,
"created_at": "2020-01-31T23:59:59Z",
"raw_return_reason_code": "R01",
"return_reason_code": "insufficient_fund",
"trace_number": "111122223292834",
"transaction_id": "transaction_uyrp7fld2ium70oa7oi",
"transfer_id": "ach_transfer_uoxatyh3lt5evrsdvo7q"
},
"category": "ach_transfer_return"
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": 100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": "account_number_v18nkfqm6afpsrvy82b2",
"route_type": "account_number",
"source": {
"category": "inbound_wire_transfer",
"inbound_wire_transfer": {
"amount": 100,
"creditor_address_line1": null,
"creditor_address_line2": null,
"creditor_address_line3": null,
"creditor_name": null,
"debtor_address_line1": null,
"debtor_address_line2": null,
"debtor_address_line3": null,
"debtor_name": null,
"description": "Inbound wire transfer",
"end_to_end_identification": null,
"input_message_accountability_data": null,
"instructing_agent_routing_number": null,
"instruction_identification": null,
"purpose": null,
"transfer_id": "inbound_wire_transfer_f228m6bmhtcxjco9pwp0",
"unique_end_to_end_transaction_reference": null,
"unstructured_remittance_information": null
}
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": -100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": null,
"route_type": null,
"source": {
"category": "wire_transfer_intention",
"wire_transfer_intention": {
"account_number": "987654321",
"amount": 100,
"message_to_recipient": "HELLO",
"routing_number": "101050001",
"transfer_id": "wire_transfer_5akynk7dqsq25qwk9q2u"
}
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": -100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": "card_oubs0hwk5rn6knuecxg2",
"route_type": "card",
"source": {
"card_settlement": {
"amount": 100,
"card_authorization": null,
"card_payment_id": "card_payment_nd3k2kacrqjli8482ave",
"cashback": null,
"currency": "USD",
"id": "card_settlement_khv5kfeu0vndj291omg6",
"interchange": {
"amount": "0.137465",
"code": "271",
"currency": "USD"
},
"merchant_acceptor_id": "5665270011000168",
"merchant_category_code": "5734",
"merchant_city": "New York",
"merchant_country": "US",
"merchant_name": "AMAZON.COM",
"merchant_postal_code": "10045",
"merchant_state": "NY",
"network": "visa",
"network_identifiers": {
"acquirer_business_id": "69650702",
"acquirer_reference_number": "83163715445437604865089",
"authorization_identification_response": "ABC123",
"transaction_id": "627199945183184"
},
"pending_transaction_id": null,
"presentment_amount": 100,
"presentment_currency": "USD",
"purchase_details": {
"car_rental": null,
"customer_reference_identifier": "51201",
"local_tax_amount": null,
"local_tax_currency": "usd",
"lodging": {
"check_in_date": "2023-07-20",
"daily_room_rate_amount": 1000,
"daily_room_rate_currency": "usd",
"extra_charges": "restaurant",
"folio_cash_advances_amount": 0,
"folio_cash_advances_currency": "usd",
"food_beverage_charges_amount": 0,
"food_beverage_charges_currency": "usd",
"no_show_indicator": "no_show",
"prepaid_expenses_amount": 0,
"prepaid_expenses_currency": "usd",
"room_nights": 1,
"total_room_tax_amount": 100,
"total_room_tax_currency": "usd",
"total_tax_amount": 100,
"total_tax_currency": "usd"
},
"national_tax_amount": null,
"national_tax_currency": "usd",
"purchase_identifier": "10203",
"purchase_identifier_format": "order_number",
"travel": null
},
"scheme_fees": [
{
"amount": "0.137465",
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"fee_type": "visa_corporate_acceptance_fee",
"fixed_component": null,
"variable_rate": "0.0002"
}
],
"surcharge": null,
"transaction_id": "transaction_uyrp7fld2ium70oa7oi",
"type": "card_settlement"
},
"category": "card_settlement"
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": 100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": "card_oubs0hwk5rn6knuecxg2",
"route_type": "card",
"source": {
"card_refund": {
"amount": 100,
"card_payment_id": "card_payment_nd3k2kacrqjli8482ave",
"cashback": null,
"currency": "USD",
"id": "card_refund_imgc2xwplh6t4r3gn16e",
"interchange": {
"amount": "0.137465",
"code": "271",
"currency": "USD"
},
"merchant_acceptor_id": "5665270011000168",
"merchant_category_code": "5734",
"merchant_city": "New York",
"merchant_country": "US",
"merchant_name": "AMAZON.COM",
"merchant_postal_code": "10045",
"merchant_state": "NY",
"network_identifiers": {
"acquirer_business_id": "69650702",
"acquirer_reference_number": "83163715445437604865089",
"authorization_identification_response": "ABC123",
"transaction_id": "627199945183184"
},
"presentment_amount": 100,
"presentment_currency": "USD",
"purchase_details": {
"car_rental": null,
"customer_reference_identifier": "51201",
"local_tax_amount": null,
"local_tax_currency": "usd",
"lodging": {
"check_in_date": "2023-07-20",
"daily_room_rate_amount": 1000,
"daily_room_rate_currency": "usd",
"extra_charges": "restaurant",
"folio_cash_advances_amount": 0,
"folio_cash_advances_currency": "usd",
"food_beverage_charges_amount": 0,
"food_beverage_charges_currency": "usd",
"no_show_indicator": "no_show",
"prepaid_expenses_amount": 0,
"prepaid_expenses_currency": "usd",
"room_nights": 1,
"total_room_tax_amount": 100,
"total_room_tax_currency": "usd",
"total_tax_amount": 100,
"total_tax_currency": "usd"
},
"national_tax_amount": null,
"national_tax_currency": "usd",
"purchase_identifier": "10203",
"purchase_identifier_format": "order_number",
"travel": null
},
"scheme_fees": [
{
"amount": "0.137465",
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"fee_type": "visa_corporate_acceptance_fee",
"fixed_component": null,
"variable_rate": "0.0002"
}
],
"transaction_id": "transaction_uyrp7fld2ium70oa7oi",
"type": "card_refund"
},
"category": "card_refund"
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": 1000,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": null,
"route_type": null,
"source": {
"category": "check_deposit_acceptance",
"check_deposit_acceptance": {
"account_number": "987654321",
"amount": 1000,
"auxiliary_on_us": "101",
"check_deposit_id": "check_deposit_f06n9gpg7sxn8t19lfc1",
"currency": "USD",
"routing_number": "101050001",
"serial_number": null
}
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": 100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "Interest payment for 2025-06",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": null,
"route_type": null,
"source": {
"category": "interest_payment",
"interest_payment": {
"accrued_on_account_id": "account_in71c4amph0vgo2qllky",
"amount": 100,
"currency": "USD",
"period_end": "2025-06-30T23:59:59+00:00",
"period_start": "2025-06-01T00:00:00+00:00"
}
},
"type": "transaction"
}{
"account_id": "account_in71c4amph0vgo2qllky",
"amount": -100,
"created_at": "2020-01-31T23:59:59Z",
"currency": "USD",
"description": "INVOICE 2468",
"id": "transaction_uyrp7fld2ium70oa7oi",
"route_id": null,
"route_type": null,
"source": {
"category": "fee_payment",
"fee_payment": {
"amount": 100,
"currency": "USD",
"fee_period_start": "2023-05-01",
"fee_statement_id": "fee_statement_lz33v0d7pnxwkptrdwq4",
"program_id": "program_i2v2os4mwza1oetokh9i"
}
},
"type": "transaction"
}The identifier for the Account the Transaction belongs to.
The Transaction amount in the minor unit of its currency. For dollars, for example, this is cents.
The ISO 8601 date and time at which the Transaction occurred.
The ISO 4217 code for the Transaction’s currency. This will match the currency on the Transaction’s Account.
An informational message describing this transaction. Use the fields in source to get more detailed information. This field appears as the line-item on the statement.
The Transaction identifier.
The identifier for the route this Transaction came through. Routes are things like cards and ACH details.
The type of the route this Transaction came through.
This is an object giving more details on the network-level event that caused the Transaction. Note that for backwards compatibility reasons, additional undocumented keys may appear in this object. These should be treated as deprecated and will be removed in the future.
A constant representing the object’s type. For this resource it will always be transaction.
curl \
--url "${INCREASE_URL}/transactions" \
-H "Authorization: Bearer ${INCREASE_API_KEY}"import Increase from 'increase';
const client = new Increase({
apiKey: process.env['INCREASE_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const transaction of client.transactions.list()) {
console.log(transaction.id);
}import os
from increase import Increase
client = Increase(
api_key=os.environ.get("INCREASE_API_KEY"), # This is the default and can be omitted
)
page = client.transactions.list()
page = page.data[0]
print(page.id)require "increase"
increase = Increase::Client.new(
api_key: ENV["INCREASE_API_KEY"] # This is the default and can be omitted
)
page = increase.transactions.list
puts(page)package main
import (
"context"
"fmt"
"os"
"github.com/Increase/increase-go"
"github.com/Increase/increase-go/option"
)
func main() {
client := increase.NewClient(
option.WithAPIKey(os.Getenv("INCREASE_API_KEY")), // This is the default and can be omitted
)
page, err := client.Transactions.List(context.TODO(), increase.TransactionListParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
}
package com.increase.api.example;
import com.increase.api.client.IncreaseClient;
import com.increase.api.client.okhttp.IncreaseOkHttpClient;
import com.increase.api.models.transactions.TransactionListPage;
import com.increase.api.models.transactions.TransactionListParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
IncreaseClient client = IncreaseOkHttpClient.fromEnv();
TransactionListPage page = client.transactions().list();
}
}package com.increase.api.example
import com.increase.api.client.IncreaseClient
import com.increase.api.client.okhttp.IncreaseOkHttpClient
import com.increase.api.models.transactions.TransactionListPage
import com.increase.api.models.transactions.TransactionListParams
fun main() {
val client: IncreaseClient = IncreaseOkHttpClient.fromEnv()
val page: TransactionListPage = client.transactions().list()
}<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Increase\Client;
use Increase\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('INCREASE_API_KEY'));
try {
$page = $client->transactions->list(
accountID: 'account_id',
category: ['in' => ['account_transfer_intention']],
createdAt: [
'after' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
'before' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
'onOrAfter' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
'onOrBefore' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'),
],
cursor: 'cursor',
limit: 1,
routeID: 'route_id',
);
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}using System;
using Increase.Api;
using Increase.Api.Models.Transactions;
IncreaseClient client = new();
TransactionListParams parameters = new();
var page = await client.Transactions.List(parameters);
await foreach (var item in page.Paginate())
{
Console.WriteLine(item);
}{
"data": [
{ /* Transaction object */ },
{ /* Transaction object */ }
/* ... */
],
"next_cursor": "v57w5d",
}Filter Transactions for those belonging to the specified Account.
Return results whose value is in the provided list. For GET requests, this should be encoded as a comma-delimited string, such as ?in=one,two,three.
Filter Transactions for those belonging to the specified route. This could be a Card ID or an Account Number ID.
curl \
--url "${INCREASE_URL}/transactions/transaction_uyrp7fld2ium70oa7oi" \
-H "Authorization: Bearer ${INCREASE_API_KEY}"import Increase from 'increase';
const client = new Increase({
apiKey: process.env['INCREASE_API_KEY'], // This is the default and can be omitted
});
const transaction = await client.transactions.retrieve('transaction_uyrp7fld2ium70oa7oi');
console.log(transaction.id);import os
from increase import Increase
client = Increase(
api_key=os.environ.get("INCREASE_API_KEY"), # This is the default and can be omitted
)
transaction = client.transactions.retrieve(
"transaction_uyrp7fld2ium70oa7oi",
)
print(transaction.id)require "increase"
increase = Increase::Client.new(
api_key: ENV["INCREASE_API_KEY"] # This is the default and can be omitted
)
transaction = increase.transactions.retrieve("transaction_uyrp7fld2ium70oa7oi")
puts(transaction)package main
import (
"context"
"fmt"
"os"
"github.com/Increase/increase-go"
"github.com/Increase/increase-go/option"
)
func main() {
client := increase.NewClient(
option.WithAPIKey(os.Getenv("INCREASE_API_KEY")), // This is the default and can be omitted
)
transaction, err := client.Transactions.Get(context.TODO(), "transaction_uyrp7fld2ium70oa7oi")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", transaction.ID)
}
package com.increase.api.example;
import com.increase.api.client.IncreaseClient;
import com.increase.api.client.okhttp.IncreaseOkHttpClient;
import com.increase.api.models.transactions.Transaction;
import com.increase.api.models.transactions.TransactionRetrieveParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
IncreaseClient client = IncreaseOkHttpClient.fromEnv();
Transaction transaction = client.transactions().retrieve("transaction_uyrp7fld2ium70oa7oi");
}
}package com.increase.api.example
import com.increase.api.client.IncreaseClient
import com.increase.api.client.okhttp.IncreaseOkHttpClient
import com.increase.api.models.transactions.Transaction
import com.increase.api.models.transactions.TransactionRetrieveParams
fun main() {
val client: IncreaseClient = IncreaseOkHttpClient.fromEnv()
val transaction: Transaction = client.transactions().retrieve("transaction_uyrp7fld2ium70oa7oi")
}<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Increase\Client;
use Increase\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('INCREASE_API_KEY'));
try {
$transaction = $client->transactions->retrieve(
'transaction_uyrp7fld2ium70oa7oi'
);
var_dump($transaction);
} catch (APIException $e) {
echo $e->getMessage();
}using System;
using Increase.Api;
using Increase.Api.Models.Transactions;
IncreaseClient client = new();
TransactionRetrieveParams parameters = new()
{
TransactionID = "transaction_uyrp7fld2ium70oa7oi"
};
var transaction = await client.Transactions.Retrieve(parameters);
Console.WriteLine(transaction);The identifier of the Transaction to retrieve.