API documentation for the Embedded Finance Microservice.
- Get rail notification connection status
Simulate a rail notification
List rail notifications
Get a rail notification by rail transaction identifier
Get rail notification con...
Embedded Finance API (v1.2.0) (1.0.0)
Download OpenAPI description
Overview
Eunifin Dev
Languages
Servers
Mock server
https://embed-docs.eunifin.com/_mock/openapi
Local development server
http://localhost:8080
- Mock serverhttps://embed-docs.eunifin.com/_mock/openapi/rail/notifications/simulate
- Local development serverhttp://localhost:8080/rail/notifications/simulate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://embed-docs.eunifin.com/_mock/openapi/rail/notifications/simulate \
-H 'Content-Type: application/json' \
-d '{
"event": "transfer.completed",
"data": {
"amount": {
"amount": 12500,
"currency": "ZAR"
},
"timestamp": "2026-03-06T08:00:00Z",
"notification_type": "PAYMENT",
"transaction_id": "rail-tx-123",
"transaction_type": "TRANSFER",
"account_id": "6c9083ce-b9d6-4415-8ad1-e32050fc8f93"
}
}'Response
application/json
{ "success": true, "message": "Notification processed successfully.", "transactionId": "rail-tx-123" }
- Mock serverhttps://embed-docs.eunifin.com/_mock/openapi/rail/notifications
- Local development serverhttp://localhost:8080/rail/notifications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://embed-docs.eunifin.com/_mock/openapi/rail/notificationsResponse
application/json
[ { "id": 1, "railTransactionId": "rail-tx-123", "partnerId": "partner-id", "event": "transfer.completed", "mappedStatus": "COMPLETED", "accountId": "6c9083ce-b9d6-4415-8ad1-e32050fc8f93", "transactionType": "TRANSFER", "amountMinor": 60000, "currency": "ZAR", "eventTimestamp": "2026-03-06T08:00:00Z", "status": "PROCESSED", "attemptCount": 1, "lastAttemptAt": "2026-03-06T08:00:01Z", "nextAttemptAt": "2026-03-06T08:05:00Z", "lastError": "Timeout while acknowledging the rail message" } ]
- Mock serverhttps://embed-docs.eunifin.com/_mock/openapi/rail/notifications/{railTransactionId}
- Local development serverhttp://localhost:8080/rail/notifications/{railTransactionId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://embed-docs.eunifin.com/_mock/openapi/rail/notifications/rail-tx-123Response
application/json
{ "id": 1, "railTransactionId": "rail-tx-123", "partnerId": "partner-id", "event": "transfer.completed", "mappedStatus": "COMPLETED", "accountId": "6c9083ce-b9d6-4415-8ad1-e32050fc8f93", "transactionType": "TRANSFER", "amountMinor": 60000, "currency": "ZAR", "eventTimestamp": "2026-03-06T08:00:00Z", "status": "PROCESSED", "attemptCount": 1, "lastAttemptAt": "2026-03-06T08:00:01Z", "nextAttemptAt": "2026-03-06T08:05:00Z", "lastError": "Timeout while acknowledging the rail message" }
- Mock serverhttps://embed-docs.eunifin.com/_mock/openapi/rail/notifications/status
- Local development serverhttp://localhost:8080/rail/notifications/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://embed-docs.eunifin.com/_mock/openapi/rail/notifications/statusResponse
application/json
{ "connected": true, "status": "CONNECTED", "serverInfo": "nats://localhost:4222", "subscribedSubject": "rail.notifications", "totalNotificationsReceived": 42 }