Error messageTransaction refused: the Debited Wallet and the Credited Wallet must be different
DescriptionFunds cannot be transferred to the same wallet.
Categories

Refused transaction

Wallet

Transfer

Causes

This error is triggered when attempting to make a transfer with the same Wallet Id defined for both the Debited Wallet and the Credited Wallet.

What to do

The transfer must be done to another CreditedWalletId.

Example

Below a response example when attempting to Create a Transfer with the same DebitedWalletId and CreditedWalletId.

Response example
{
    "Id": "161800799",
    "Tag": "Created using MANGOPAY API Collection Postman",
    "CreationDate": 1675788642,
    "AuthorId": "142036728",
    "CreditedUserId": "146476890",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 500
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 490
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 10
    },
    "Status": "FAILED",
    "ResultCode": "101108",
    "ResultMessage": "Transaction refused: the Debited Wallet and the Credited Wallet must be different",
    "ExecutionDate": null,
    "Type": "TRANSFER",
    "Nature": "REGULAR",
    "DebitedWalletId": "152161320",
    "CreditedWalletId": "152161320"
}