{"note":"OpenAPI conversion -- returning structured metadata","name":"adyen-com-balancecontrolservice","description":"Adyen Balance Control API","version":"1","base_url":"https://pal-test.adyen.com/pal/servlet/BalanceControl/v1","endpoints":1,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Adyen Balance Control API\n@base https://pal-test.adyen.com/pal/servlet/BalanceControl/v1\n@version 1\n@auth ApiKey X-API-Key in header | Bearer basic\n@endpoints 1\n@toc balanceTransfer(1)\n\n@endpoint POST /balanceTransfer\n@desc Start a balance transfer\n@required {amount: map{currency!: str, value!: int(int64)}, fromMerchant: str # The unique identifier of the source merchant account from which funds are deducted., toMerchant: str # The unique identifier of the destination merchant account from which funds are transferred., type: str(tax/fee/terminalSale/credit/debit/adjustment) # The type of balance transfer. Possible values: **tax**, **fee**, **terminalSale**, **credit**, **debit**, and **adjustment**.}\n@optional {description: str # A human-readable description for the transfer. You can use alphanumeric characters and hyphens. We recommend sending a maximum of 140 characters, otherwise the description may be truncated., reference: str # A reference for the balance transfer. If you don't provide this in the request, Adyen generates a unique reference. Maximum length: 80 characters.}\n@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} # OK - the request has succeeded.\n@example_request {\"amount\":{\"value\":50000,\"currency\":\"EUR\"},\"description\":\"Your description for the transfer\",\"fromMerchant\":\"MerchantAccount_NL\",\"toMerchant\":\"MerchantAccount_DE\",\"type\":\"debit\"}\n\n@end\n"}