Create a connected account

POST https://api.vivapayments.com/platforms/v1/accounts

Request Body

{"email"=>"user1@example.com", "mobile"=>6948740000, "legalName"=>"Consulting Detective", "tradeName"=>"Sherlock Holmes", "taxNumber"=>nil, "returnUrl"=>"https://example.com/connected", "address"=>{"street"=>"Baker Street", "number"=>"221B", "city"=>"London", "postCode"=>"NW1", "countryCode"=>"GB", "secondLine"=>nil}, "branding"=>{"partnerName"=>"Header/title summary", "primaryColor"=>nil, "logoUrl"=>"https://example.com/company-logo"}, "payouts"=>{"statementDescriptor"=>"Weekly payouts", "dayOfWeek"=>1, "dayOfMonth"=>nil, "interval"=>2, "amountThreshold"=>1000, "disable"=>false, "bankAccount"=>{"iban"=>"NL04RABO6360804956", "friendlyName"=>"External account", "beneficiaryName"=>"Sherlock Holmes", "branchCode"=>nil, "accountNumber"=>nil, "countryCode"=>nil}}}