Partner-Merchant-Registration
Create a Firm
Create a Firm entity for your partner.
post/api/v2_1/firms
Request
- Base URLhttps://secure.payu.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Typestring required
Content type
Authorizationstring required
Auth token with <code>grant_type=client_credentials</code>.
Request body
Example request
{
"name": "Test sp. z o.o.",
"type": "SO",
"taxId": "3771910486",
"taxIdType": "NIP",
"cin": "138237420",
"partnerId": "egmcvdo5",
"contactLanguage": "PL",
"businessArea": {
"origin": "PL"
},
"users": [
{
"name": "Jan",
"surname": "Nowak",
"email": "jan.nowak@testowa.pl",
"role": "MANAGER"
}
],
"representatives": [
{
"name": "Jan",
"surname": "Nowak",
"countryCode": "PL",
"birthDate": "2000-01-01",
"birthCountryCode": "pl"
}
],
"contactData": {
"email": "biuro@testowa.pl"
},
"address": {
"street": "Grunwaldzka",
"postalCode": "61-166",
"city": "Poznań",
"countryCode": "PL"
},
"correspondenceAddress": {
"street": "Grunwaldzka",
"postalCode": "61-166",
"city": "Poznań",
"countryCode": "PL"
}
}Response
Example response
{
"firmId": "KzXy4ZzD"
}Changes
No recorded changes to this operation across all 1 revision of this API.