List Funding Source Interactions
GET/api/funding-sources/:fundingSourceId/interactions
Retrieves a list of Funding Source Interactions for a given Funding Source.
This API uses cursor-based pagination. Start by making a request without a cursor to get the first page. Use the nextCursor from the pageInfo in the response as the cursor for subsequent requests to retrieve further pages. Continue until nextCursor is undefined, indicating no more data.
Request
Path Parameters
ID for the Funding Source.
Query Parameters
amount of records to return (max 100)
cursor to retrieve the next page
Responses
- 200
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
Deposit
- Funds added to the Funding Source.Withdrawal
- Funds removed from the Funding Source.Refund
- Return of paid funds to the Funding Source.Payment
- Transfer of funds from the Funding Source.]
items
object[]
ID of the Funding Source Interaction.
The ID of the Funding Source that this Interaction relates to.
The ID of the account that this Interaction relates to.
Possible values: [Deposit
, Withdrawal
, Refund
, Payment
]
The type of Funding Source Interaction:
The current status of the interaction. It will vary depending on the interaction type.
The minor units amount of the transaction.
The token used in the transaction.
Date time on which the interaction was created.
Last modified date of this interaction.
A description of the interaction.
The credit or debit indicator of the interaction.
context
object
A context reference based on the type of the interaction. It could be a transactionId
in the case of a payment, or an eventId
in the case of an smart contract event.
Possible values: [card-transaction
, smart-contract-event
]
A context type for the context reference, which will depend on the interaction type.
The chain block number in which the transactions was mined, when applicable.
The blockchain transaction hash on which the interaction happened, when applicable.
channel
object
Funding Channel primary identifier.
The type of Funding Channel.
The funding type strategy.
pageInfo
object
Page info for paginated results, undefined if no page info
Cursor for next page, undefined if no more pages
{
"items": [
{
"id": "f0220f084a182e3f4b4d605cda1d3340",
"fundingSourceId": "2be03cd65da12fe29b8910af7b4b85e7",
"accountId": "979254377d0e05002242d038926a5691",
"type": "Payment",
"status": "processing-successful",
"amount": 20000,
"token": "USDC",
"createdAt": "2023-11-15T00:48:48.902Z",
"modifiedAt": "2023-11-15T00:49:59.261Z",
"description": "1 Queen Street Auckland NZ",
"creditOrDebitIndicator": "credit",
"context": {
"ref": "1000000488078",
"type": "smart-contract-event",
"blockNumber": "42409064",
"transactionHash": "0x3c561ba7fb04b8176f5478d26172d7cef02cf4ac6806e047ffaf5af70ccf1e69"
},
"channel": {
"id": "315bad4e81ce0f26966a41b9d451638b",
"type": "polygon-usdc-universal-evm-live",
"strategy": "universal-evm"
}
}
],
"pageInfo": {
"nextCursor": "dGhlIG5leHQgY3Vyc29yIGdvZXMgaGVyZQ=="
}
}
No Authorization to access resource
- application/json
- Schema
- Example (from schema)
Schema
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}