Returns transactions from Shinkansen
Returns a list of transactions based on the provided filters.
Query Parameters
- Type: stringtransaction
_type requiredMust be "payout"
- Type: stringfin
_id If present, filter by financial institution ID
- Type: stringcreditor
_account If present, filter by creditor account
- Type: stringdebtor
_account If present, filter by debtor account
- Type: stringcreditor
_fin _id If present, filter by creditor financial institution ID
- Type: stringcreditor
_id If present, filter by creditor ID
- Type: stringFormat: uuidshinkansen
_transaction _id If present, filter by Shinkansen transaction ID
- Type: stringFormat: uuidtransaction
_id If present, filter by transaction ID
- Type: stringshinkansen
_transaction _status If present, filter by transaction status
- Type: integerlimitmin:1
Maximum number of transactions to return (defaults to 1000)
- Type: stringorder
_by Field to order results by
- Type: integerbefore
_internal _id min:1If present, filter by transactions before this internal ID
- Type: stringFormat: date-timebefore
_datetime If present, filter by transactions before this datetime. Example 2024-01-01T00:00:00Z
- Type: stringFormat: date-timeafter
_datetime If present, filter by transactions after this datetime. Example 2024-01-01T00:00:00Z
- Type: booleandelivered
If present, filter by delivery status
- Type: stringdebtor
_account _schema _id If present, filter by debtor account financial institution ID. See docs.
- Type: stringcreditor
_account _schema _id If present, filter by creditor account financial institution ID. See docs.
Responses
- application/json
- 400
Invalid message (e.g: invalid signature)
- 403
Forbidden (e.g: wrong API Key)
curl 'https://api.shinkansen.finance/v1/transactions?transaction_type=&limit=1000' \
--header 'Shinkansen-Api-Key: YOUR_SECRET_TOKEN'
[
{
"shinkansen_transaction_status": "pending",
"transaction": {
"amount": "200.00000",
"creditor": {
"account": "1513523451",
"account_aliases": [],
"account_type": "current_account",
"email": "harry@shinkasen.finance",
"financial_institution": {
"fin_id": "BANCO_BICE_CL",
"fin_id_schema": "SHINKANSEN"
},
"identification": {
"id": "11111111-1",
"id_schema": "CLID"
},
"name": "Harry Potter"
},
"currency": "CLP",
"debtor": {
"account": "123451",
"account_aliases": [],
"account_type": "current_account",
"email": "pagos@empresa-a.example.com",
"financial_institution": {
"fin_id": "SHINKANSEN",
"fin_id_schema": "SHINKANSEN"
},
"identification": {
"id": "11111111-1",
"id_schema": "CLID"
},
"name": "SHINKANSEN SPA"
},
"description": "Salary payment",
"reference_number": "1234567",
"tracking_key": "AAA1234567",
"execution_date": "2022-04-11T14:30:00Z",
"internal_id": 10,
"metadata": null,
"shinkansen_delivered_at": null,
"shinkansen_received_at": "2023-09-20T16:23:26Z",
"shinkansen_transaction_id": "b53c67c0-bb3b-4dd8-b8c9-f58862d61a43",
"transaction_id": "2cbd5e32-ab35-4573-9073-c802d9e00580",
"transaction_type": "payout",
"ttl": null
}
}
]