PUT v2/Subscriber/{subscriberId}/Location/{locationId}/PayoutAccount/Stripe

Updates a subscriber Stripe payout account for an individual location

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

integer

Required

locationId

integer

Required

Body Parameters

UpdateSubscriberStripePayoutAccountRequest
NameDescriptionTypeAdditional information
SubscriberId

integer

None.

LocationId

integer

None.

PrimaryOwner

UpdateBusinessOwnerRequest

None.

AdditionalOwners

Collection of UpdateBusinessOwnerRequest

None.

Business

UpdateBusinessRequest

None.

Bank

UpdateBankRequest

None.

PayoutFrequencyType

PayoutFrequencyType

None.

EmailOptIn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriberId": 1,
  "LocationId": 2,
  "PrimaryOwner": {
    "OwnerIndex": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "IdentificationNumber": "sample string 4",
    "Email": "sample string 5",
    "DateOfBirth": {
      "Day": 1,
      "Month": 2,
      "Year": 3
    },
    "Address": {
      "Line1": "sample string 1",
      "Line2": "sample string 2",
      "City": "sample string 3",
      "StateCode": "sample string 4",
      "PostalCode": "sample string 5",
      "CountryCode": "sample string 6"
    },
    "PercentOwnership": 6.0
  },
  "AdditionalOwners": [
    {
      "OwnerIndex": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "IdentificationNumber": "sample string 4",
      "Email": "sample string 5",
      "DateOfBirth": {
        "Day": 1,
        "Month": 2,
        "Year": 3
      },
      "Address": {
        "Line1": "sample string 1",
        "Line2": "sample string 2",
        "City": "sample string 3",
        "StateCode": "sample string 4",
        "PostalCode": "sample string 5",
        "CountryCode": "sample string 6"
      },
      "PercentOwnership": 6.0
    },
    {
      "OwnerIndex": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "IdentificationNumber": "sample string 4",
      "Email": "sample string 5",
      "DateOfBirth": {
        "Day": 1,
        "Month": 2,
        "Year": 3
      },
      "Address": {
        "Line1": "sample string 1",
        "Line2": "sample string 2",
        "City": "sample string 3",
        "StateCode": "sample string 4",
        "PostalCode": "sample string 5",
        "CountryCode": "sample string 6"
      },
      "PercentOwnership": 6.0
    }
  ],
  "Business": {
    "Name": "sample string 1",
    "TaxId": "sample string 2",
    "Type": "NotSet",
    "Address": {
      "Line1": "sample string 1",
      "Line2": "sample string 2",
      "City": "sample string 3",
      "StateCode": "sample string 4",
      "PostalCode": "sample string 5",
      "CountryCode": "sample string 6"
    },
    "StatementDescriptor": "sample string 3",
    "ContactPhoneNumber": "sample string 4"
  },
  "Bank": {
    "CountryCode": "sample string 1",
    "CurrencyCode": "sample string 2",
    "BankStateBranch": "sample string 3",
    "AccountNumber": "sample string 4",
    "TransitNumber": "sample string 5",
    "InstitutionNumber": "sample string 6",
    "SortCode": "sample string 7",
    "InternationalBankAccountNumber": "sample string 8",
    "ClearingCode": "sample string 9",
    "BranchCode": "sample string 10",
    "BankCode": "sample string 11",
    "RoutingNumber": "sample string 12",
    "BankName": "sample string 13",
    "BranchName": "sample string 14",
    "AccountOwnerName": "sample string 15",
    "ClaveBancariaEstandarizada": "sample string 16"
  },
  "PayoutFrequencyType": "Monthly",
  "EmailOptIn": true
}

application/xml, text/xml

Sample:
<UpdateSubscriberStripePayoutAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Requests">
  <AdditionalOwners>
    <UpdateBusinessOwnerRequest>
      <Address xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
        <d4p1:City>sample string 3</d4p1:City>
        <d4p1:CountryCode>sample string 6</d4p1:CountryCode>
        <d4p1:Line1>sample string 1</d4p1:Line1>
        <d4p1:Line2>sample string 2</d4p1:Line2>
        <d4p1:PostalCode>sample string 5</d4p1:PostalCode>
        <d4p1:StateCode>sample string 4</d4p1:StateCode>
      </Address>
      <DateOfBirth xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
        <d4p1:Day>1</d4p1:Day>
        <d4p1:Month>2</d4p1:Month>
        <d4p1:Year>3</d4p1:Year>
      </DateOfBirth>
      <Email>sample string 5</Email>
      <FirstName>sample string 2</FirstName>
      <IdentificationNumber>sample string 4</IdentificationNumber>
      <LastName>sample string 3</LastName>
      <PercentOwnership>6</PercentOwnership>
      <OwnerIndex>1</OwnerIndex>
    </UpdateBusinessOwnerRequest>
    <UpdateBusinessOwnerRequest>
      <Address xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
        <d4p1:City>sample string 3</d4p1:City>
        <d4p1:CountryCode>sample string 6</d4p1:CountryCode>
        <d4p1:Line1>sample string 1</d4p1:Line1>
        <d4p1:Line2>sample string 2</d4p1:Line2>
        <d4p1:PostalCode>sample string 5</d4p1:PostalCode>
        <d4p1:StateCode>sample string 4</d4p1:StateCode>
      </Address>
      <DateOfBirth xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
        <d4p1:Day>1</d4p1:Day>
        <d4p1:Month>2</d4p1:Month>
        <d4p1:Year>3</d4p1:Year>
      </DateOfBirth>
      <Email>sample string 5</Email>
      <FirstName>sample string 2</FirstName>
      <IdentificationNumber>sample string 4</IdentificationNumber>
      <LastName>sample string 3</LastName>
      <PercentOwnership>6</PercentOwnership>
      <OwnerIndex>1</OwnerIndex>
    </UpdateBusinessOwnerRequest>
  </AdditionalOwners>
  <Bank>
    <AccountNumber>sample string 4</AccountNumber>
    <AccountOwnerName>sample string 15</AccountOwnerName>
    <BankCode>sample string 11</BankCode>
    <BankName>sample string 13</BankName>
    <BankStateBranch>sample string 3</BankStateBranch>
    <BranchCode>sample string 10</BranchCode>
    <BranchName>sample string 14</BranchName>
    <ClaveBancariaEstandarizada>sample string 16</ClaveBancariaEstandarizada>
    <ClearingCode>sample string 9</ClearingCode>
    <CountryCode>sample string 1</CountryCode>
    <CurrencyCode>sample string 2</CurrencyCode>
    <InstitutionNumber>sample string 6</InstitutionNumber>
    <InternationalBankAccountNumber>sample string 8</InternationalBankAccountNumber>
    <RoutingNumber>sample string 12</RoutingNumber>
    <SortCode>sample string 7</SortCode>
    <TransitNumber>sample string 5</TransitNumber>
  </Bank>
  <Business>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:CountryCode>sample string 6</d3p1:CountryCode>
      <d3p1:Line1>sample string 1</d3p1:Line1>
      <d3p1:Line2>sample string 2</d3p1:Line2>
      <d3p1:PostalCode>sample string 5</d3p1:PostalCode>
      <d3p1:StateCode>sample string 4</d3p1:StateCode>
    </Address>
    <ContactPhoneNumber>sample string 4</ContactPhoneNumber>
    <Name>sample string 1</Name>
    <StatementDescriptor>sample string 3</StatementDescriptor>
    <TaxId>sample string 2</TaxId>
    <Type>NotSet</Type>
  </Business>
  <EmailOptIn>true</EmailOptIn>
  <LocationId>2</LocationId>
  <PayoutFrequencyType>Monthly</PayoutFrequencyType>
  <PrimaryOwner>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
      <d3p1:City>sample string 3</d3p1:City>
      <d3p1:CountryCode>sample string 6</d3p1:CountryCode>
      <d3p1:Line1>sample string 1</d3p1:Line1>
      <d3p1:Line2>sample string 2</d3p1:Line2>
      <d3p1:PostalCode>sample string 5</d3p1:PostalCode>
      <d3p1:StateCode>sample string 4</d3p1:StateCode>
    </Address>
    <DateOfBirth xmlns:d3p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
      <d3p1:Day>1</d3p1:Day>
      <d3p1:Month>2</d3p1:Month>
      <d3p1:Year>3</d3p1:Year>
    </DateOfBirth>
    <Email>sample string 5</Email>
    <FirstName>sample string 2</FirstName>
    <IdentificationNumber>sample string 4</IdentificationNumber>
    <LastName>sample string 3</LastName>
    <PercentOwnership>6</PercentOwnership>
    <OwnerIndex>1</OwnerIndex>
  </PrimaryOwner>
  <SubscriberId>1</SubscriberId>
</UpdateSubscriberStripePayoutAccountRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.