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

Creates a subscriber Stripe payout account for an individual location

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

integer

Required

locationId

integer

Required

Body Parameters

CreateSubscriberStripePayoutAccountRequest
NameDescriptionTypeAdditional information
SubscriberId

integer

None.

LocationId

integer

None.

PrimaryOwner

CreateBusinessOwnerRequest

None.

AdditionalOwners

Collection of CreateBusinessOwnerRequest

None.

Business

CreateBusinessRequest

None.

Bank

CreateBankRequest

None.

PayoutFrequencyType

PayoutFrequencyType

None.

EmailOptIn

boolean

None.

EnableTestMode

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriberId": 1,
  "LocationId": 2,
  "PrimaryOwner": {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "IdentificationNumber": "sample string 3",
    "Email": "sample string 4",
    "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": 5.0
  },
  "AdditionalOwners": [
    {
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "IdentificationNumber": "sample string 3",
      "Email": "sample string 4",
      "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": 5.0
    },
    {
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "IdentificationNumber": "sample string 3",
      "Email": "sample string 4",
      "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": 5.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,
  "EnableTestMode": true
}

application/xml, text/xml

Sample:
<CreateSubscriberStripePayoutAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Payouts.V2.Requests">
  <AdditionalOwners>
    <CreateBusinessOwnerRequest>
      <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 4</Email>
      <FirstName>sample string 1</FirstName>
      <IdentificationNumber>sample string 3</IdentificationNumber>
      <LastName>sample string 2</LastName>
      <PercentOwnership>5</PercentOwnership>
    </CreateBusinessOwnerRequest>
    <CreateBusinessOwnerRequest>
      <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 4</Email>
      <FirstName>sample string 1</FirstName>
      <IdentificationNumber>sample string 3</IdentificationNumber>
      <LastName>sample string 2</LastName>
      <PercentOwnership>5</PercentOwnership>
    </CreateBusinessOwnerRequest>
  </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>
  <EnableTestMode>true</EnableTestMode>
  <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 4</Email>
    <FirstName>sample string 1</FirstName>
    <IdentificationNumber>sample string 3</IdentificationNumber>
    <LastName>sample string 2</LastName>
    <PercentOwnership>5</PercentOwnership>
  </PrimaryOwner>
  <SubscriberId>1</SubscriberId>
</CreateSubscriberStripePayoutAccountRequest>

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.