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

Gets a subscriber Stripe account for an individual location.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

integer

Required

locationId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetStripePayoutAccountResponse
NameDescriptionTypeAdditional information
Account

None.

Response Formats

application/json, text/json

Sample:
{
  "Account": {
    "PrimaryOwner": {
      "OwnerIndex": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "Email": "sample string 4",
      "IdentificationNumberLastFour": "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",
        "Email": "sample string 4",
        "IdentificationNumberLastFour": "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",
        "Email": "sample string 4",
        "IdentificationNumberLastFour": "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",
      "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 2",
      "ContactPhoneNumber": "sample string 3"
    },
    "Bank": {
      "CountryCode": "sample string 1",
      "CurrencyCode": "sample string 2",
      "AccountNumberLastFour": "sample string 3"
    },
    "PayoutFrequencyType": "Monthly",
    "EmailOptIn": true
  }
}

application/xml, text/xml

Sample:
<GetStripePayoutAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Responses">
  <Account xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Models">
    <d2p1:AdditionalOwners>
      <d2p1:BusinessOwner>
        <d2p1:Address>
          <d2p1:City>sample string 3</d2p1:City>
          <d2p1:CountryCode>sample string 6</d2p1:CountryCode>
          <d2p1:Line1>sample string 1</d2p1:Line1>
          <d2p1:Line2>sample string 2</d2p1:Line2>
          <d2p1:PostalCode>sample string 5</d2p1:PostalCode>
          <d2p1:StateCode>sample string 4</d2p1:StateCode>
        </d2p1:Address>
        <d2p1:DateOfBirth>
          <d2p1:Day>1</d2p1:Day>
          <d2p1:Month>2</d2p1:Month>
          <d2p1:Year>3</d2p1:Year>
        </d2p1:DateOfBirth>
        <d2p1:Email>sample string 4</d2p1:Email>
        <d2p1:FirstName>sample string 2</d2p1:FirstName>
        <d2p1:IdentificationNumberLastFour>sample string 5</d2p1:IdentificationNumberLastFour>
        <d2p1:LastName>sample string 3</d2p1:LastName>
        <d2p1:OwnerIndex>1</d2p1:OwnerIndex>
        <d2p1:PercentOwnership>6</d2p1:PercentOwnership>
      </d2p1:BusinessOwner>
      <d2p1:BusinessOwner>
        <d2p1:Address>
          <d2p1:City>sample string 3</d2p1:City>
          <d2p1:CountryCode>sample string 6</d2p1:CountryCode>
          <d2p1:Line1>sample string 1</d2p1:Line1>
          <d2p1:Line2>sample string 2</d2p1:Line2>
          <d2p1:PostalCode>sample string 5</d2p1:PostalCode>
          <d2p1:StateCode>sample string 4</d2p1:StateCode>
        </d2p1:Address>
        <d2p1:DateOfBirth>
          <d2p1:Day>1</d2p1:Day>
          <d2p1:Month>2</d2p1:Month>
          <d2p1:Year>3</d2p1:Year>
        </d2p1:DateOfBirth>
        <d2p1:Email>sample string 4</d2p1:Email>
        <d2p1:FirstName>sample string 2</d2p1:FirstName>
        <d2p1:IdentificationNumberLastFour>sample string 5</d2p1:IdentificationNumberLastFour>
        <d2p1:LastName>sample string 3</d2p1:LastName>
        <d2p1:OwnerIndex>1</d2p1:OwnerIndex>
        <d2p1:PercentOwnership>6</d2p1:PercentOwnership>
      </d2p1:BusinessOwner>
    </d2p1:AdditionalOwners>
    <d2p1:Bank>
      <d2p1:AccountNumberLastFour>sample string 3</d2p1:AccountNumberLastFour>
      <d2p1:CountryCode>sample string 1</d2p1:CountryCode>
      <d2p1:CurrencyCode>sample string 2</d2p1:CurrencyCode>
    </d2p1:Bank>
    <d2p1:Business>
      <d2p1:Address>
        <d2p1:City>sample string 3</d2p1:City>
        <d2p1:CountryCode>sample string 6</d2p1:CountryCode>
        <d2p1:Line1>sample string 1</d2p1:Line1>
        <d2p1:Line2>sample string 2</d2p1:Line2>
        <d2p1:PostalCode>sample string 5</d2p1:PostalCode>
        <d2p1:StateCode>sample string 4</d2p1:StateCode>
      </d2p1:Address>
      <d2p1:ContactPhoneNumber>sample string 3</d2p1:ContactPhoneNumber>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:StatementDescriptor>sample string 2</d2p1:StatementDescriptor>
      <d2p1:Type>NotSet</d2p1:Type>
    </d2p1:Business>
    <d2p1:EmailOptIn>true</d2p1:EmailOptIn>
    <d2p1:PayoutFrequencyType>Monthly</d2p1:PayoutFrequencyType>
    <d2p1:PrimaryOwner>
      <d2p1:Address>
        <d2p1:City>sample string 3</d2p1:City>
        <d2p1:CountryCode>sample string 6</d2p1:CountryCode>
        <d2p1:Line1>sample string 1</d2p1:Line1>
        <d2p1:Line2>sample string 2</d2p1:Line2>
        <d2p1:PostalCode>sample string 5</d2p1:PostalCode>
        <d2p1:StateCode>sample string 4</d2p1:StateCode>
      </d2p1:Address>
      <d2p1:DateOfBirth>
        <d2p1:Day>1</d2p1:Day>
        <d2p1:Month>2</d2p1:Month>
        <d2p1:Year>3</d2p1:Year>
      </d2p1:DateOfBirth>
      <d2p1:Email>sample string 4</d2p1:Email>
      <d2p1:FirstName>sample string 2</d2p1:FirstName>
      <d2p1:IdentificationNumberLastFour>sample string 5</d2p1:IdentificationNumberLastFour>
      <d2p1:LastName>sample string 3</d2p1:LastName>
      <d2p1:OwnerIndex>1</d2p1:OwnerIndex>
      <d2p1:PercentOwnership>6</d2p1:PercentOwnership>
    </d2p1:PrimaryOwner>
  </Account>
</GetStripePayoutAccountResponse>