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": "68229214-bf18-4ba8-b3c2-33798f8eb788", "StoreId": "c165625f-cbb8-4861-a0ad-b1871d3044b5", "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>68229214-bf18-4ba8-b3c2-33798f8eb788</BusinessId> <StoreId>c165625f-cbb8-4861-a0ad-b1871d3044b5</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>