GET
/
prefunded_accounts
/
{prefundedAccountID}
/
history
Get funding history of a Prefunded Account
curl --request GET \
  --url https://api.bridge.xyz/v0/prefunded_accounts/{prefundedAccountID}/history \
  --header 'Api-Key: <api-key>'
{
"count": 1,
"data": [
{
"id": "abced012-4cdd-460c-9da3-34f7321bfa3f",
"amount": "500.00",
"available_balance": "1300.31",
"currency": "usd",
"name": "my_account",
"type": "funding",
"created_at": "2020-01-01T00:00:00.000Z"
}
]
}

Authorizations

Api-Key
string
header
required

Path Parameters

prefundedAccountID
string
required

A UUID that uniquely identifies a resource

Required string length: 1 - 42

Query Parameters

limit
integer

The number of items to return (default of 10, max of 100)

starting_after
string

This is a prefunded event id. If this is specified, the next page that starts with an event right AFTER the specified event id on the event timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that events older than the specified event id will be returned (shouldn't be set if ending_before is set)

ending_before
string

This is a prefunded event id. If this is specified, the previous page that ends with an event right BEFORE the specified event id on the event timeline, which is always ordered from the newest to the oldest by creation time, will be returned. This also implies that events newer than the specified event id will be returned (shouldn't be set if starting_after is set)

Response

Successful Prefunded Account object response

id
string
required

A UUID that uniquely identifies a resource

Required string length: 1 - 42
amount
string
required

Amount of the transaction, represented as a dollar denominated string. Examples include "100.25", "0.1", "1.234567", "1.01" etc.

available_balance
string
required

Amount available for spending, represented as a dollar denominated string. Examples include "100.25", "0.1", "1.234567", "1.01" etc.

currency
enum<string>
required

currency associated with the bank account.

Available options:
usd
name
string
required

Serialized name of the account.

type
enum<string>
required

The type of the transaction.

Available options:
funding,
refunded transfer
created_at
string<date-time>
required

Time of creation of the External Account

withdrawal_id
string

The ID of the transfer which created this event. Exclusive with deposit_id.

deposit_id
string

The ID of the transfer which created this event. Exclusive with withdrawal_id.