Create merchant application.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Create Merchant Application (v1)

⚠️

Deprecated — use Create Merchant v2 instead.

Creates a new merchant services application by collecting the merchant's basic identifying information and associating it with an agent profile. On success, the system returns a merchantProfileId which is used in all subsequent boarding workflow calls. This is the v1 method and has been superseded by the v2 endpoint which supports a more complete data model.

Endpoint

POST /api/v1/merchant/create

Authentication

Basic HTTP Authentication required.
Encode username:password in Base64 and pass in the Authorization header:

Authorization: Basic {base64(username:password)}

When to use

Use this endpoint only if you are maintaining a legacy integration with the v1 boarding API. For all new integrations, use POST /api/v2/merchant/create instead. The typical boarding flow begins with GET /api/v1/agentProfiles and GET /api/v1/GetBoardingSettings to obtain valid agentProfileId and boardingSettingsId values before calling this endpoint.

Request Body

FieldTypeRequiredDescription
cashDiscountstring (enum)YesWhether the merchant participates in a cash discount program. One of: Yes, No
firstNamestringYesFirst name of the merchant owner or primary contact
lastNamestringYesLast name of the merchant owner or primary contact
dbastringYesDoing Business As name — the merchant's public-facing business name
posstring (enum)YesPoint-of-sale system used by the merchant. One of: None, AptitoPalomaPOS, Clover, PalomaPOS, Aldelo, Restoactive, PoyntPOS, CloverGo, UnifiedMpos, CustomPos, RetailCloud, EHopper, FreedomPos, ClubPos, SelfLane, OtfPOS, NProKiosk, GretaPOS
agentProfileIdinteger (int32)YesID of the agent profile to associate with this merchant (from GET /api/v1/agentProfiles)
emailstringNoEmail address of the merchant owner or primary contact
boardingSettingsIdinteger (int32)NoID of the boarding configuration to use (from GET /api/v1/GetBoardingSettings)
guidstringNoOptional external reference GUID for correlation with your own system
{
  "cashDiscount": "No",
  "firstName": "Maria",
  "lastName": "Santos",
  "dba": "Santos Cafe & Bakery",
  "pos": "Clover",
  "agentProfileId": 4264,
  "email": "[email protected]",
  "boardingSettingsId": 42
}

Response

200 OK

FieldTypeDescription
data.merchantProfileIdintegerThe unique ID assigned to the newly created merchant profile — save this for all subsequent API calls
statusstringHTTP status label (e.g., OK)
errorstringError message if the creation failed
warningstringNon-fatal warning message, if any
validationResultsarrayList of field-level validation errors
requestIdintegerUnique identifier for this API request
{
  "data": {
    "merchantProfileId": 48291
  },
  "status": "OK",
  "error": null,
  "warning": null,
  "validationResults": [],
  "requestId": 90215
}

Error Codes

CodeWhen it happens
400Required fields missing or invalid (e.g., invalid pos enum value, missing agentProfileId)
401Invalid or missing Basic Auth credentials
403User does not have permission for this operation
404agentProfileId or boardingSettingsId not found
500Internal server error

Common Mistakes

  • Using an agentProfileId that does not belong to your ISO — retrieve valid IDs from GET /api/v1/agentProfiles first.
  • Providing an invalid pos enum value — use exact string values (case-sensitive) from the allowed list.
  • Not saving the returned merchantProfileId — every subsequent boarding API call requires this value.
  • Using this v1 endpoint for new integrations — migrate to POST /api/v2/merchant/create for access to the complete merchant data model.

Related Endpoints

  • GET /api/v1/agentProfiles — retrieve valid agentProfileId values before creating a merchant
  • GET /api/v1/GetBoardingSettings — retrieve valid boardingSettingsId values
  • POST /api/v2/merchant/create — the recommended replacement for this deprecated endpoint

Example

curl -X POST https://hq.staging.netevia.dev/api/v1/merchant/create \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "cashDiscount": "No",
    "firstName": "Maria",
    "lastName": "Santos",
    "dba": "Santos Cafe & Bakery",
    "pos": "Clover",
    "agentProfileId": 4264,
    "email": "[email protected]",
    "boardingSettingsId": 42
  }'
Body Params
string
enum
required
Allowed:
string
int32
string
required
string
required
string
required
string
enum
required
int32
required
string
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json
data
status
requestId