> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mangopay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mangopay.com/_mcp/server.

# 001023

<table>
  <tbody>
    <tr>
      <th class="header">
        Error message
      </th>

      <td class="table-content">
        Author is not the card owner
      </td>
    </tr>

    <tr>
      <th class="header">
        Description
      </th>

      <td class="table-content">
        The pay-in failed because the author is different from the card owner.
      </td>
    </tr>

    <tr>
      <th class="header">
        Categories
      </th>

      <td class="table-content">
        Pay-in

        \


        Preauthorization
      </td>
    </tr>
  </tbody>
</table>

#### Causes

The `AuthorId` is different from the `UserId` of the Card object used.

#### What to do

The author has to be the user being debited.

#### Example

This error can be returned on any pay-in based on a registered card (including preauthorizations and recurring registration objects).

In the example below, the response of the API when attempting to Create a Preauthorization with an `AuthorId` different from the card `UserId`.

**`API Response`**

```json API Response
{
    "Id": "156685884",
    "Tag": null,
    "CreationDate": 1669115898,
    "AuthorId": "156671912",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 500
    },
    "RemainingFunds": {
        "Currency": "EUR",
        "Amount": 0
    },
    "AuthorizationDate": null,
    "Status": "FAILED",
    "PaymentStatus": "CANCELED",
    "ExpirationDate": null,
    "PayInId": null,
    "ResultCode": "001023",
    "ResultMessage": "Author is not the card owner",
    "SecureMode": "FORCE",
    "CardId": "156672588",
    "SecureModeReturnURL": null,
    "SecureModeRedirectURL": null,
    "SecureModeNeeded": false,
    "PaymentType": "CARD",
    "ExecutionType": "DIRECT",
    "StatementDescriptor": null,
    "Culture": "EN",
    "SecurityInfo": {
        "AVSResult": "NO_CHECK"
    },
    "MultiCapture": true,
    "BrowserInfo": {
        "AcceptHeader": "text/html, application/xhtml+xml, application/xml;q=0.9, /;q=0.8",
        "JavaEnabled": true,
        "Language": "FR-FR",
        "ColorDepth": 4,
        "ScreenHeight": 1800,
        "ScreenWidth": 400,
        "TimeZoneOffset": 60,
        "UserAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
        "JavascriptEnabled": true
    },
    "IpAddress": "80.236.38.245",
    "Billing": {
        "FirstName": "Owner",
        "LastName": "One",
        "Address": {
            "AddressLine1": null,
            "AddressLine2": null,
            "City": null,
            "Region": null,
            "PostalCode": null,
            "Country": null
        }
    },
    "Shipping": {
        "FirstName": "Owner",
        "LastName": "One",
        "Address": {
            "AddressLine1": null,
            "AddressLine2": null,
            "City": null,
            "Region": null,
            "PostalCode": null,
            "Country": null
        }
    },
    "Requested3DSVersion": null,
    "Applied3DSVersion": null
}
```