Virtual IBAN
Create a Virtual Account
Set up a virtual IBAN or local account attached to a wallet
POST
Documentation Index
Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt
Use this file to discover all available pages before exploring further.
Note – One account purpose per walletA wallet can only have either
COLLECTION or USED_OWNED virtual accounts attached, but not both.It is, however, possible to attach multiple virtual accounts of the same VirtualAccountPurpose to a single wallet.Path parameter
The unique identifier of the wallet.
Body parameters
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.
Allowed values:
COLLECTION, USER_OWNEDThe 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. Offering User-Owned Accounts requires your platform to sign the VOP contract amendment.
Max. length: 255 charactersCustom data that you can add to this object.
Responses
200
200
Max length: 128 characters (see data formats for details)The unique identifier of the object.
Max. length: 255 charactersCustom data that you can add to this object.
The date and time at which the object was created.
The unique identifier of the wallet.
Returned values:
COLLECTION, USER_OWNEDThe 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. Offering User-Owned Accounts requires your platform to sign the VOP contract amendment.
Returned 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.
The status of the Virtual Account:
PENDING– The account creation request is being processed and full account details may not yet be returned. Any funds sent to the account are returned (if account details exist).PENDINGcan transition toACTIVEorFAILED.ACTIVE– The account is active and can receive funds (see note about delayed UK CoP recognition forGBaccounts).ACTIVEcan transition toBLOCKEDorCLOSED.BLOCKED– The account is blocked and is not active. Any funds sent to the account are returned. This temporary status may be used during processes relating to user verification or fraud screening.BLOCKEDcan transition toACTIVEorCLOSED.CLOSED– The account has been deactivated and is closed. Any funds sent to the account are returned. This is a final state.FAILED– The account creation request failed or was rejected. This final state is rare. Any funds sent to the account are returned (if account details exist).
Whether or not the Virtual Account is active.
The owner of the virtual account.The account owner is assigned automatically depending on the
VirtualAccountPurpose:COLLECTION– Owned by Mangopay SA or Mangopay UK Ltd., mentioning the platform’s trading name in the format “MGPPlatformTradingName”USER_OWNED– Owned by the owner of the associated wallet:FirstNameLastNamefor Natural Users;Namefor Legal Users
The account details in local format, populated if
Capabilities.LocalPayinAvailable is true.Caution: Retrieve both the fields and values of these child objects dynamically to present to the user. The LocalAccountDetails.Account object has different properties depending on the virtual account Country, and these may change over time as Mangopay’s coverage expands.List of the account details in international format, populated if
Capabilities.InternationalPayinAvailable is true.Best practice: Retrieve both the fields and values of these child objects dynamically to present to the user. The InternationalAccountDetails.Account object may be null depending on the virtual account Country.Information about the account’s payment capabilities.
The code indicating the result of the operation. This information is mostly used to handle errors or for filtering purposes.
The explanation of the result code.
403 - Collection accounts not activated
403 - Collection accounts not activated
403 - User-Owned accounts not activated
403 - User-Owned accounts not activated
400 - Currency not supported
400 - Currency not supported
400 - Invalid country for wallet currency
400 - Invalid country for wallet currency
400 - Only one purpose per wallet
400 - Only one purpose per wallet
400 - Banking alias already exists
400 - Banking alias already exists
400 - Address required for User-Owned
400 - Address required for User-Owned
403 - User-Owned only allowed if user's UserCategory is OWNER
403 - User-Owned only allowed if user's UserCategory is OWNER
403 - User-Owned only allowed if user's KYCLevel is REGULAR
403 - User-Owned only allowed if user's KYCLevel is REGULAR
400 - User-Owned only allowed if user has UBO
400 - User-Owned only allowed if user has UBO