Returns transactions from Shinkansen

​

Returns a list of transactions based on the provided filters.

Query Parameters

  • Must be "payin"

  • If present, filter by financial institution ID

  • If present, filter by creditor account

  • If present, filter by debtor account

  • If present, filter by creditor financial institution ID

  • If present, filter by creditor ID

  • If present, filter by Shinkansen transaction ID

  • If present, filter by transaction ID

  • If present, filter by transaction status

  • Maximum number of transactions to return (defaults to 1000)

  • Field to order results by

  • If present, filter by transactions before this internal ID

  • If present, filter by transactions before this datetime. Example 2024-01-01T00:00:00Z

  • If present, filter by transactions after this datetime. Example 2024-01-01T00:00:00Z

  • If present, filter by delivery status

  • If present, filter by debtor account financial institution ID. See docs.

  • If present, filter by creditor account financial institution ID. See docs.

Responses

  • application/json
  • Invalid message (e.g: invalid signature)

  • Forbidden (e.g: wrong API Key)

Request Example for get/transactions
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
    }
  }
]