POST Poynt/MerchantAccount/Assign
Add a terminal merchant account
Request Information
URI Parameters
None.
Body Parameters
AssignMerchantAccountToPoyntTerminalRequestName | Description | Type | Additional 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": "837924ae-d01e-45e6-82ae-b9b3fc33fda7", "StoreId": "76b40fc0-71cb-42b4-954a-f51b4a397f55", "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>837924ae-d01e-45e6-82ae-b9b3fc33fda7</BusinessId> <StoreId>76b40fc0-71cb-42b4-954a-f51b4a397f55</StoreId> </AssignMerchantAccountToPoyntTerminalRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AssignMerchantAccountToTerminalResponseName | Description | Type | Additional 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>