Lookup a funding event
funding_events.get(strid, FundingEventGetParams**kwargs) -> FundingEventSummaryItemV1
/v1/funding_events/{id}
Retrieves the details of an existing funding event. Supply the unique funding event id, and Straddle will return the individual transaction items that make up the funding event.
Parameters
id: str
correlation_id: Optional[str]
request_id: Optional[str]
straddle_account_id: Optional[str]
Returns
Lookup a funding event
from straddle import Straddle
client = Straddle(
api_key="My API Key",
)
funding_event_summary_item_v1 = client.funding_events.get(
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(funding_event_summary_item_v1.data)
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"amount": 100000,
"created_at": "2019-12-27T18:11:19.117Z",
"direction": "deposit",
"event_type": "charge_deposit",
"payment_count": 0,
"trace_ids": {
"foo": "string"
},
"trace_numbers": [
"string"
],
"transfer_date": "2019-12-27",
"updated_at": "2019-12-27T18:11:19.117Z",
"trace_number": "trace_number"
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}Returns Examples
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"amount": 100000,
"created_at": "2019-12-27T18:11:19.117Z",
"direction": "deposit",
"event_type": "charge_deposit",
"payment_count": 0,
"trace_ids": {
"foo": "string"
},
"trace_numbers": [
"string"
],
"transfer_date": "2019-12-27",
"updated_at": "2019-12-27T18:11:19.117Z",
"trace_number": "trace_number"
},
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z"
},
"response_type": "object"
}