curl --request POST \
--url https://api.example.com/v1/ui/admin/providers \
--header 'Content-Type: application/json' \
--data '
{
"legalEntity": {
"name": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"line3": "<string>",
"city": "<string>",
"stateOrCounty": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"bankAccount": {
"country": "<string>",
"currency": "<string>",
"accountHolderName": "<string>",
"accountHolderType": "individual",
"iban": "<string>",
"bic": "<string>",
"routingNumber": "<string>",
"sortCode": "<string>",
"bankCode": "<string>",
"accountNumber": "<string>",
"bankName": "<string>"
},
"companyNumber": "<string>",
"mainActivity": "<string>",
"additionalActivities": [
"<string>"
],
"personIds": [
"<string>"
],
"people": [
"<unknown>"
]
},
"metadata": {},
"description": "<string>",
"website": "<string>",
"businessType": "individual",
"businessEmail": "jsmith@example.com",
"supportEmail": "jsmith@example.com",
"telephone": "<string>",
"supportTelephone": "<string>",
"reference": "<string>",
"defaultCurrency": "<string>"
}
'curl --request POST \
--url https://api.example.com/v1/ui/admin/providers \
--header 'Content-Type: application/json' \
--data '
{
"legalEntity": {
"name": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"line3": "<string>",
"city": "<string>",
"stateOrCounty": "<string>",
"postcode": "<string>",
"country": "<string>"
},
"bankAccount": {
"country": "<string>",
"currency": "<string>",
"accountHolderName": "<string>",
"accountHolderType": "individual",
"iban": "<string>",
"bic": "<string>",
"routingNumber": "<string>",
"sortCode": "<string>",
"bankCode": "<string>",
"accountNumber": "<string>",
"bankName": "<string>"
},
"companyNumber": "<string>",
"mainActivity": "<string>",
"additionalActivities": [
"<string>"
],
"personIds": [
"<string>"
],
"people": [
"<unknown>"
]
},
"metadata": {},
"description": "<string>",
"website": "<string>",
"businessType": "individual",
"businessEmail": "jsmith@example.com",
"supportEmail": "jsmith@example.com",
"telephone": "<string>",
"supportTelephone": "<string>",
"reference": "<string>",
"defaultCurrency": "<string>"
}
'Provider created successfully