Skip to main content

Mass Collect payments

This is API V1, which is no longer maintained

For up-to-date documentation, see the latest version.

The Mass Collect payments were designed for mBank's corporate customers. Mechanism is based on mbank feature.

This feature allows the customer to send funds to predefined individual account number.

Requirements

Mass Collect must be enabled in mBank.

All below configuration is made by Paynow team:

  • feature enabled for shop in paynow
  • list of virtual accounts masks attached to shop
  • withdrawal frequency type set to immediately

Make a payment

To create a payment request with filled payoutAccount value

{
"amount": "40172",
"externalId": "c7355386-ba45-4537-96a5-bb77c6910418",
"paymentMethodId": 2007,
"currency": "PLN",
"description": "Testowa transakcja",
"continueUrl": "https://melements.pl",
"buyer": {
"email": "jan.kowalski@melements.pl",
"firstName": "Jan",
"lastName": "Kowalski",
"locale": "pl-PL",
"phone": {
"prefix": "+48",
"number": "120932212"
}
},
"payoutAccount": "PL01234567891011121314151617"
}

System will verify if payout account matches the Mass Collect pattern account pattern configured for shop.

Successfully made payment triggers sending funds to the payout account specified above.

Enabling Mass Collect for shop

To enable the feature, contact the Paynow team by sending a link to the store to the following address: support@paynow.pl. We will also need virtual accounts masks to configure mechanism for you.

After positive verification, the Mass Collect will be configured in the paynow. Otherwise, default shop payout account will be used instead.