transactions

Get a List of Transactions

Securityx-api-key
Request
query Parameters
reference_id
string

Filter transactions by reference ID.

header Parameters
broker-id
required
integer (broker_id)

The id of the broker

Example: 66305
Responses
200

Example response

get/transactions
Request samples
Response samples
application/json
[
  • {
    }
]

Create a Single Transaction

Securityx-api-key
Request
header Parameters
broker-id
required
integer (broker_id)

The id of the broker

Example: 66305
Request Body schema: application/json
payee_id
integer (payee_id)

The unique identifier of the Payee who will receive the funds. It could be a Carrier or a Factoring Company.

carrier_payee_id
string (carrier_payee_id)

If the Transaction is created for a Factoring Company, then a Carrier can be associated to the Transaction.

payment_method
any (payment_method)

The method used to settle a payable.

Enum: "ACH" "ACH_NEXT_DAY" "ACH_SAME_DAY" "PAPER_CHECK" "WALLET_ACH" "WALLET_ACH_NEXT_DAY" "WALLET_ACH_SAME_DAY" "WALLET_RTP"
amount
string (amount)

Money in USD to transfer or has been transferred.

reference_id
string (reference_id)

An identifier used by the Broker to correlate the Transaction with another system or document.

Responses
201

Example response

post/transactions
Request samples
application/json
{
  • "payee_id": 896876,
  • "carrier_payee_id": 10204,
  • "payment_method": "ACH_NEXT_DAY",
  • "amount": "18.32",
  • "reference_id": "123XYZ"
}
Response samples
application/json
{
  • "id": 87346
}

Get a Single Transaction

Securityx-api-key
Request
path Parameters
id
required
string
header Parameters
broker-id
required
integer (broker_id)

The id of the broker

Example: 66305
Responses
200

Example response

401

Unauthorized

403

Forbidden

404

Not Found

get/transactions/{id}
Request samples
Response samples
application/json
{
  • "id": 87346,
  • "amount": 123.45,
  • "idempotency_key": "bac613de-5j27-1347-ka1n-q3p6173jacj4",
  • "status": "SCHEDULED",
  • "created_datetime": "2023-10-26T00:00:00+00:00",
  • "payment_method": "ACH_NEXT_DAY",
  • "eta": "2023-10-27T13:00:00+00:00",
  • "payables": [
    ],
  • "broker": {
    },
  • "payee": {
    },
}

Cancel a Single Transaction

Cancel a transaction that has not yet been exported to the bank network.

  • Cancellation is best-effort. It only succeeds until the transfer is exported for processing, after which the request returns 409. Do not rely on fixed cutoff times.
  • Only ACH transactions can be cancelled. Other payment methods, such as paper checks, return 409.
  • The transaction and its payables become CANCELLED. A cancelled payable can be edited, deleted or retried.
  • Cancelling a transaction that is already CANCELLED returns 200.
  • A transfer.cancelled webhook event is sent when the transaction is cancelled.
  • If the cancellation succeeded but the full transaction details were unavailable, the 200 response contains only id and status. Use GET /transactions/{id} for the rest.
Securityx-api-key
Request
path Parameters
id
required
string
header Parameters
broker-id
required
integer (broker_id)

The id of the broker

Example: 66305
Responses
200

Example response

400

Bad Request. The transaction ID is not valid.

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict. The transaction can no longer be cancelled, or its payment method does not support cancellation.

502

The cancellation could not be completed or confirmed. The error title says which:

  • could not look up the transaction; nothing was cancelled: the transaction was not touched, retry the request.
  • could not confirm the cancellation; check the transaction status before retrying: the cancellation may have been applied. Check the transaction status with GET /transactions/{id} before retrying.
post/transactions/{id}/cancel
Request samples
Response samples
application/json
{
  • "id": 87346,
  • "amount": 123.45,
  • "idempotency_key": "bac613de-5j27-1347-ka1n-q3p6173jacj4",
  • "status": "SCHEDULED",
  • "created_datetime": "2023-10-26T00:00:00+00:00",
  • "payment_method": "ACH_NEXT_DAY",
  • "eta": "2023-10-27T13:00:00+00:00",
  • "payables": [
    ],
  • "broker": {
    },
  • "payee": {
    },
}
Copyright © RoadSync 2023. All right reserved.