Create a connected account
POST
https://api.vivapayments.com/platforms/v1/accounts
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
RESPONSES
status
curl -X POST 'https://api.vivapayments.com/platforms/v1/accounts' -d '{"email":"user1@example.com","mobile":6948740000,"legalName":"Consulting Detective","tradeName":"Sherlock Holmes","taxNumber":null,"returnUrl":"https://example.com/connected","address":{"street":"Baker Street","number":"221B","city":"London","postCode":"NW1","countryCode":"GB","secondLine":null},"branding":{"partnerName":"Header/title summary","primaryColor":null,"logoUrl":"https://example.com/company-logo"},"payouts":{"statementDescriptor":"Weekly payouts","dayOfWeek":1,"dayOfMonth":null,"interval":2,"amountThreshold":1000,"disable":false,"bankAccount":{"iban":"NL04RABO6360804956","friendlyName":"External account","beneficiaryName":"Sherlock Holmes","branchCode":null,"accountNumber":null,"countryCode":null}}}'