v1

latestOpenAPI 3.0.0Proprietary2026-07-2642128296.2 KB
Participant Webhooks

Receives reversals (synchronously)

Webhook for receiving reversals. The reversal notification is sent when a transfer is reversed by the Switch (CCA). ⚠️ This is a special case becase you need to respond syncronously to the reversal.

post/reversals

Request body

Example request

{
  "document": {
    "header": {
      "shinkansen_message_id": "0421c147-1d4a-484c-b855-9dcd8b9b67d9",
      "creation_date": "2022-04-08T18:25:45-04:00",
      "sender": "SHINKANSEN",
      "receiver": "TENPO"
    },
    "reversals": [
      {
        "reversal_code": "reversal_switch_timeout",
        "reversal_message": "Network timeout during transaction processing",
        "shinkansen_reversal_id": "8d267f06-84c8-448b-bebb-1eaf4c60b986",
        "transaction_id": "3c11df48-dfab-41eb-a3c1-b9f90a0da063",
        "shinkansen_transaction_id": "455765a6-0b51-4e48-8827-06192824a1ab"
      }
    ]
  }
}

Response

Message correctly received and accepted to be processed by Participant, this is a notification with the status of the reversals You need to respond syncronously to the reversal. If you dont respond, the reversal will be considered as approved by default.

message_idstring uuid required

Message ID generated by Participant receiving the reversal

Example response

{
  "message_id": "903feb07-8a90-4e2a-ab4c-cec902903263",
  "reversals": [
    {
      "reversal_id": "c5bae6b3-7c11-4b09-aad8-340ecc1a042c",
      "shinkansen_reversal_id": "a517a741-e84f-4ac1-8d9d-922162fc703b",
      "response_status": "approved"
    },
    {
      "reversal_id": "6f913677-8d84-4dae-a30d-3639608ec3f3",
      "shinkansen_reversal_id": "4266ca42-b990-4f59-9b08-623660a72ee2",
      "response_status": "error_reversal_insufficient_balance"
    }
  ]
}