Returns the transaction response of a non-pending transaction

​

Can be used when the participant needs to re-check the response for a given transaction (e.g: if an unexpected error means they lost a response)

Path Parameters

  • The shinkansen_transaction_id of a transaction

Responses

  • application/json
  • Forbidden (e.g: wrong API Key)

  • Transaction id not found or response not found (transaction is pending).

Request Example for get/transactions/{shinkansen_id}/response
curl 'https://api.shinkansen.finance/v1/transactions/{shinkansen_id}/response' \
  --header 'Shinkansen-Api-Key: YOUR_SECRET_TOKEN'
{
  "transaction_type": "payout",
  "transaction_id": "11fe7135-750a-47e2-93cd-60f24f526351",
  "shinkansen_transaction_id": "bacbf923-284b-43b5-90ab-086d56e4b46c",
  "shinkansen_transaction_status": "ok",
  "shinkansen_transaction_message": "OK",
  "response_id": "66b9c18e-02a0-4f99-991f-656482fb696a",
  "response_status": "ok",
  "response_message": "OK"
}