WHMCS domain mapping does not show payment portals

I'm setting up domain mapping on my multisite install, but although the API log shows the login credential check to have succeeded the payment portals are not being shown in the setup screen.
Instead I get an error - "Please make sure you have correctly entered your login credentials and save again to retrieve your payment methods."