GET Connect/{subscriberId}/PaymentMethods/Configuration
Gets payments configuration for the requesting user at the provided subscriber
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId | string |
None. |
Body Parameters
None.
Response Information
Resource Description
HTTP status code 200 OKHTTP status code 400 BadRequest
PaymentConfigurationName | Description | Type | Additional information |
---|---|---|---|
TaxInclusivePricing | boolean |
None. |
|
TipsEnabled | boolean |
None. |
|
PreAuthTipsSupported | boolean |
None. |
|
CreditCardSwiperEnabled | boolean |
None. |
|
CreditCardRules | CreditCardConfiguration |
None. |
|
BankAccountConfiguration | BankAccountConfiguration |
None. |
|
IntegratedMerchantAccountProcessorType | string |
None. |
|
PaymentMethodTypeRules | Collection of PaymentMethodTypeConfiguration |
None. |
|
ValutecGiftCardsEnabled | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "TaxInclusivePricing": true, "TipsEnabled": true, "PreAuthTipsSupported": true, "CreditCardSwiperEnabled": true, "CreditCardRules": { "CreditCardTypesAccepted": [ "sample string 1", "sample string 2" ], "RequireCVV2InConsumerMode": true, "RequireCVV2InBusinessMode": true, "RequireAVSZip": true, "RequireAVSAddress": true }, "BankAccountConfiguration": { "Enabled": true }, "IntegratedMerchantAccountProcessorType": "sample string 5", "PaymentMethodTypeRules": [ { "Type": "sample string 1", "Id": 2, "Active": true, "AllowZeroDollarPayment": true, "AllowGreaterThanZeroPayment": true, "AllowRefunds": true, "PaymentNotesEnabled": true, "PaymentNotesLabel": "sample string 8", "Name": "sample string 9" }, { "Type": "sample string 1", "Id": 2, "Active": true, "AllowZeroDollarPayment": true, "AllowGreaterThanZeroPayment": true, "AllowRefunds": true, "PaymentNotesEnabled": true, "PaymentNotesLabel": "sample string 8", "Name": "sample string 9" } ], "ValutecGiftCardsEnabled": true }
application/xml, text/xml
Sample:
<PaymentConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.MarketplacePayments.Models.Configuration"> <BankAccountConfiguration> <Enabled>true</Enabled> </BankAccountConfiguration> <CreditCardRules> <CreditCardTypesAccepted xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </CreditCardTypesAccepted> <RequireAVSAddress>true</RequireAVSAddress> <RequireAVSZip>true</RequireAVSZip> <RequireCVV2InBusinessMode>true</RequireCVV2InBusinessMode> <RequireCVV2InConsumerMode>true</RequireCVV2InConsumerMode> </CreditCardRules> <CreditCardSwiperEnabled>true</CreditCardSwiperEnabled> <IntegratedMerchantAccountProcessorType>sample string 5</IntegratedMerchantAccountProcessorType> <PaymentMethodTypeRules> <PaymentMethodTypeConfiguration> <Active>true</Active> <AllowGreaterThanZeroPayment>true</AllowGreaterThanZeroPayment> <AllowRefunds>true</AllowRefunds> <AllowZeroDollarPayment>true</AllowZeroDollarPayment> <Id>2</Id> <Name>sample string 9</Name> <PaymentNotesEnabled>true</PaymentNotesEnabled> <PaymentNotesLabel>sample string 8</PaymentNotesLabel> <Type>sample string 1</Type> </PaymentMethodTypeConfiguration> <PaymentMethodTypeConfiguration> <Active>true</Active> <AllowGreaterThanZeroPayment>true</AllowGreaterThanZeroPayment> <AllowRefunds>true</AllowRefunds> <AllowZeroDollarPayment>true</AllowZeroDollarPayment> <Id>2</Id> <Name>sample string 9</Name> <PaymentNotesEnabled>true</PaymentNotesEnabled> <PaymentNotesLabel>sample string 8</PaymentNotesLabel> <Type>sample string 1</Type> </PaymentMethodTypeConfiguration> </PaymentMethodTypeRules> <PreAuthTipsSupported>true</PreAuthTipsSupported> <TaxInclusivePricing>true</TaxInclusivePricing> <TipsEnabled>true</TipsEnabled> <ValutecGiftCardsEnabled>true</ValutecGiftCardsEnabled> </PaymentConfiguration>