Create manual ledger entry
const url = 'https://api.wink.travel/api/administration/ledger/manual-entry';const options = { method: 'POST', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: 'null'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wink.travel/api/administration/ledger/manual-entry \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data nullRecords a completed Revolut payout that occurred outside TripPay’s automated withdrawal flow. Creates a Withdrawal document, double-entry ledger pair (tagged manual=true), and updates BookingContract.payouts via the standard WithdrawalCompletedEvent pipeline.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”Manual entry details
Request to manually record a completed Revolut payout for admin backfill.
object
TripPay account identifier of the beneficiary
Example
acct-123BankAccount identifier that received the funds
Example
ba-456Revolut transaction ID for the transfer
Example
revolut-txn-789Bank statement reference code for the transfer
Example
WD-ABCD1234Economic category of the funds
Example
SALENet payout amount sent to the beneficiary (must be positive)
Example
1500ISO 4217 currency code
Example
USDFull available balance before fees (optional; enables fee ledger entries)
Example
1510.05Flat Revolut transfer fee deducted ($5 USD converted to withdrawal currency)
Example
5Revolut FX exchange fee deducted (null if withdrawal currency is USD)
Example
9.03Responses
Section titled “ Responses ”Created
TripPay beneficiary withdrawal (payout) to a bank account via Revolut.
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
TripPay account identifier of the beneficiary requesting withdrawal
BankAccount identifier within the account
Full available balance before fees are deducted
Revolut flat transfer fee ($5 USD converted to withdrawal currency)
FX exchange fee rate (0.006 or 0.010). Null if withdrawal currency is USD.
Calculated FX exchange fee amount. Null if withdrawal currency is USD.
Net amount sent to Revolut (grossAmount − transferFee − fxFee)
ISO 4217 currency code of the withdrawal
Current status of the withdrawal lifecycle
Revolut transaction ID returned by the Revolut Business API
Human-readable reference shown on bank statements
When the withdrawal was requested
When the withdrawal was completed (null until COMPLETED state)
Example
nullBad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}