API Explorer

obp.openCorridorCreditNotification

Open Corridor: notify the creditor (beneficiary) bank's Bank Node to credit its customer. AMQP messageId on the wire: obp_credit_notification. Carries the commit–reveal evidence triplet (promise_commitment, promise_salt, promise_preimage) relayed verbatim from the originating Bank Node's promise report-back, so the beneficiary can verify SHA-256(salt ‖ preimage) against the on-chain commitment. Published to the creditor bank's vhost.

Format rabbitmq_vOct2024 Group Open Corridor Suggested order 1

Outbound message (OBP to adapter)
{
  "transaction_request_id": "tr-abc-123",
  "value": {
    "currency": "KES",
    "amount": "1500.00"
  },
  "description": "Invoice 4471",
  "originator": {
    "name": "Acme Coffee Ltd",
    "address": "Nairobi"
  },
  "beneficiary": {
    "name": "Bea Beneficiary",
    "account_routing": {
      "scheme": "OBP",
      "address": "acct-77"
    }
  },
  "netting_snapshot_id": "snap-1",
  "promise_id": "63eacfe3dbc133f922d461bd3e6488ce21d55f03c5131cd79c965fe2e7491642",
  "promise_blockchain": "cardano",
  "promise_commitment": "9c56cc51b374c3ba189210d5b6d4bf57790d351c96c47c02190ecf1e430ba0d1",
  "promise_salt": "5f4dcc3b5aa765d61d8327deb882cf99",
  "promise_preimage": "{\"tx_request_id\":\"tr-abc-123\",\"instruction\":\"...\"}"
}
Inbound message (adapter to OBP)
{
  "inboundAdapterCallContext": {
    "correlationId": "1flssoftxq0cr1nssr68u0mioj"
  },
  "status": {
    "errorCode": "",
    "backendMessages": []
  },
  "data": {
    "transaction_request_id": "tr-abc-123",
    "verified": true,
    "cbs_reference": "CBS-1"
  }
}