@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Adyen Balance Control API
@base https://pal-test.adyen.com/pal/servlet/BalanceControl/v1
@version 1
@auth ApiKey X-API-Key in header | Bearer basic
@endpoints 1
@toc balanceTransfer(1)

@endpoint POST /balanceTransfer
@required {amount: map{currency!: str, value!: int(int64)}, fromMerchant: str, toMerchant: str, type: str(tax/fee/terminalSale/credit/debit/adjustment)}
@optional {description: str, reference: str}
@returns(200) {amount: map{currency: str, value: int(int64)}, createdAt: str(date-time), description: str, fromMerchant: str, pspReference: str, reference: str, status: str, toMerchant: str, type: str}

@end
