Error messageAuthor is not the wallet owner
DescriptionThe user Id used as Author has to be the wallet owner
Categories

Transfer

Wallet

Causes

The transfer AuthorId is different from the Id of the debited wallet Owners.

What to do

The author has to be the user being debited.

Example

In the example below, here is the API response when attempting to create a transfer with an AuthorId different from the debited wallet’s owner.

API Response
{
    "Id": "162740992",
    "Tag": "Created using MANGOPAY API Collection Postman",
    "CreationDate": 1676881275,
    "AuthorId": "145397183",
    "CreditedUserId": "145397183",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 500
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 490
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 10
    },
    "Status": "FAILED",
    "ResultCode": "001002",
    "ResultMessage": "Author is not the wallet owner",
    "ExecutionDate": null,
    "Type": "TRANSFER",
    "Nature": "REGULAR",
    "DebitedWalletId": "145389978",
    "CreditedWalletId": "145397873"
}