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

200
application/json

Successful Prefunded Account object response

The response is of type object.