Welcome to the rail Developer Guide!
rail API Specification (1.1.2)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.rail.io/_mock/api-docs/openapi/rail-spec/
Sandbox - Stable API Instance
https://sandbox.layer2financial.com/api/
Production - Stable API Instance
https://platform.layer2financial.com/api/
- Mock server
https://docs.rail.io/_mock/api-docs/openapi/rail-spec/v1/settlements/{settlement_id}
- Sandbox - Stable API Instance
https://sandbox.layer2financial.com/api/v1/settlements/{settlement_id}
- Production - Stable API Instance
https://platform.layer2financial.com/api/v1/settlements/{settlement_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.rail.io/_mock/api-docs/openapi/rail-spec/v1/settlements/{settlement_id}?source_account_id=string&destination_account_id=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-l2f-request-id: string'Success
Status of this settlement. Processed settlements are complete and funds dispersed
Enum"INITIALIZED""DELIVERING""CONVERTING""SETTLED"
Time when this settlement was executed (when funds were dispersed)
Asset type of the settlement
Enum"FIAT""BITCOIN""ETHEREUM""POLYGON"
Full amount of the settlement that was performed (prior to any fee deductions by the receiving institution)
Response
application/json
{ "data": { "id": "string", "settlement_status": "INITIALIZED", "settlement_executed_timestamp": "2019-08-24T14:15:22Z", "settlement_asset_type": "FIAT", "settlement_currency": "string", "settlement_amount": 0, "settlement_details": [ … ] } }