cURL
curl --request POST \ --url https://api.sandbox.teal.dev/v0/ledgers/{ledger_id}/refresh \ --header 'Authorization: Bearer <token>' \ --header 'teal-instance-id: <teal-instance-id>'
{ "message": "<string>", "data": "<unknown>", "display_message": "<string>", "error_code": "invalid_date" }
Triggers a request for new transactions from a Ledger’s data source, if it has one. Success or error messages will be sent via the transactions.source webhooks.
transactions.source
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Teal instance ID
The ID of the ledger.
Successful Response