Returns transactions from Shinkansen
Returns a list of transactions based on the provided filters.
Query Parameters
- Type: stringtransaction
_type requiredMust be "payin"
- 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": "500.00000",
"creditor": {
"account": "987654321",
"account_type": "current_account",
"email": "payments@startech.com",
"financial_institution": {
"fin_id": "BANCO_STELLAR_CL",
"fin_id_schema": "SHINKANSEN"
},
"identification": {
"id": "98765432-1",
"id_schema": "CLID"
},
"name": "StarTech Solutions Ltd"
},
"currency": "CLP",
"debtor": {
"account": "123456789",
"account_type": "current_account",
"email": "finance@cosmicretail.com",
"financial_institution": {
"fin_id": "BANCO_STELLAR_CL",
"fin_id_schema": "SHINKANSEN"
},
"identification": {
"id": "12345678-9",
"id_schema": "CLID"
},
"name": "Cosmic Retail Corp"
},
"description": "Service subscription payment",
"expiration_date": "2024-03-15T15:00:00Z",
"interactive_payment_failure_redirect_url": "https://startech.com/payments/failure",
"interactive_payment_success_redirect_url": "https://startech.com/payments/success",
"internal_id": 456,
"metadata": null,
"payin_type": "interactive_payment",
"shinkansen_delivered_at": null,
"shinkansen_received_at": "2024-03-01T10:00:00Z",
"shinkansen_transaction_id": "f7922b99-d31c-46ee-9721-b5756d71bed7",
"transaction_id": "a2fb8246-861b-47e2-93cd-60f24f526462",
"transaction_type": "payin",
"ttl": null
}
}
]