POST Poynt/MerchantAccount/Assign

Add a terminal merchant account

Request Information

URI Parameters

None.

Body Parameters

AssignMerchantAccountToPoyntTerminalRequest
NameDescriptionTypeAdditional information
BusinessId

globally unique identifier

None.

StoreId

globally unique identifier

None.

TerminalId

integer

Range: inclusive between 1 and 2147483647

SubscriberId

integer

None.

LocationId

integer

None.

PaymentServiceId

integer

Range: inclusive between 1 and 1

MerchantId

string

Required

Max length: 255

MerchantTerminalId

string

Required

Max length: 255

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": "f6857d92-3636-42c7-a61f-5a51aba259d9",
  "StoreId": "b2889235-7cd1-47ed-9afc-c2e03c45ef01",
  "TerminalId": 3,
  "SubscriberId": 4,
  "LocationId": 5,
  "PaymentServiceId": 6,
  "MerchantId": "sample string 7",
  "MerchantTerminalId": "sample string 8"
}

application/xml, text/xml

Sample:
<AssignMerchantAccountToPoyntTerminalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Requests">
  <LocationId>5</LocationId>
  <MerchantId>sample string 7</MerchantId>
  <MerchantTerminalId>sample string 8</MerchantTerminalId>
  <PaymentServiceId>6</PaymentServiceId>
  <SubscriberId>4</SubscriberId>
  <TerminalId>3</TerminalId>
  <BusinessId>f6857d92-3636-42c7-a61f-5a51aba259d9</BusinessId>
  <StoreId>b2889235-7cd1-47ed-9afc-c2e03c45ef01</StoreId>
</AssignMerchantAccountToPoyntTerminalRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AssignMerchantAccountToTerminalResponse
NameDescriptionTypeAdditional information
TerminalMerchantAccountId

integer

None.

Error

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TerminalMerchantAccountId": 1,
  "Error": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<AssignMerchantAccountToTerminalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Responses">
  <Error>true</Error>
  <Message>sample string 2</Message>
  <TerminalMerchantAccountId>1</TerminalMerchantAccountId>
</AssignMerchantAccountToTerminalResponse>