POST
/
v2.01
/
{ClientId}
/
wallets
/
{WalletId}
/
virtual-accounts
{
    "Country": "GB",
    "VirtualAccountPurpose": "COLLECTION",
    "Tag": "Created using Mangopay API Postman Collection"
}
{
    "Id": "wltbank_01JSH9TKTHE2KHXENE8K4KD46C",
    "Tag": "Created using Mangopay API Postman Collection",
    "CreationDate": 1745411198,
    "WalletId": "wlt_m_01JSH9TDQHSMZX5GDV6TSM9SYN",
    "VirtualAccountPurpose": "COLLECTION",
    "Country": "GB",
    "Active": true,
    "Status": "ACTIVE",
    "AccountOwner": "MGP PLATFORM NAME",
    "LocalAccountDetails": {
        "Address": {
            "StreetName": "2, Avenue Amélie",
            "PostCode": "L-1125",
            "TownName": "Luxembourg",
            "CountrySubDivision": null,
            "Country": "LU"
        },
        "Account": {
            "SortCode": "608382",
            "AccountNumber": "23356198"
        }
    },
    "InternationalAccountDetails": [
        {
            "Address": {
                "StreetName": "2, Avenue Amélie",
                "PostCode": "L-1125",
                "TownName": "Luxembourg",
                "CountrySubDivision": null,
                "Country": "LU"
            },
            "Account": {
                "Iban": "GB79SAPY60838223356198",
                "Bic": "SAPYGB2L"
            }
        }
    ],
    "Capabilities": {
        "LocalPayinAvailable": true,
        "InternationalPayinAvailable": true,
        "Currencies": [
            "GBP"
        ]
    },
    "ResultCode": "000000",
    "ResultMessage": "Success"
}

Virtual Account object

Path parameter

WalletId
string
required

The unique identifier of the wallet.

Body parameters

Country
string
required

Allowed values: The two-letter ISO 3166-1 country code (LU, FR, GB, etc.) of an available country (depends on contract and activation settings).

The country of the IBAN. The country must correspond to the currency of the wallet. See the virtual account guide for details.

VirtualAccountPurpose
string
required

Allowed values: COLLECTION, USER_OWNED

The type of the virtual account:

  • COLLECTION - Owned by Mangopay and usable by platforms and/or users for the purpose of collecting and reconciling incoming funds paid by users.
  • USER_OWNED - Owned by the wallet owner, enabling them to accept and store funds and make payments.

For more information, see virtual account guide.

Tag
string

Max. length: 255 characters

Custom data that you can add to this object.

Responses

{
    "Id": "wltbank_01JSH9TKTHE2KHXENE8K4KD46C",
    "Tag": "Created using Mangopay API Postman Collection",
    "CreationDate": 1745411198,
    "WalletId": "wlt_m_01JSH9TDQHSMZX5GDV6TSM9SYN",
    "VirtualAccountPurpose": "COLLECTION",
    "Country": "GB",
    "Active": true,
    "Status": "ACTIVE",
    "AccountOwner": "MGP PLATFORM NAME",
    "LocalAccountDetails": {
        "Address": {
            "StreetName": "2, Avenue Amélie",
            "PostCode": "L-1125",
            "TownName": "Luxembourg",
            "CountrySubDivision": null,
            "Country": "LU"
        },
        "Account": {
            "SortCode": "608382",
            "AccountNumber": "23356198"
        }
    },
    "InternationalAccountDetails": [
        {
            "Address": {
                "StreetName": "2, Avenue Amélie",
                "PostCode": "L-1125",
                "TownName": "Luxembourg",
                "CountrySubDivision": null,
                "Country": "LU"
            },
            "Account": {
                "Iban": "GB79SAPY60838223356198",
                "Bic": "SAPYGB2L"
            }
        }
    ],
    "Capabilities": {
        "LocalPayinAvailable": true,
        "InternationalPayinAvailable": true,
        "Currencies": [
            "GBP"
        ]
    },
    "ResultCode": "000000",
    "ResultMessage": "Success"
}
{
    "Country": "GB",
    "VirtualAccountPurpose": "COLLECTION",
    "Tag": "Created using Mangopay API Postman Collection"
}