GET api/v1/{facilityId}/tenants/{tenantId}/payment_methods/{paymentMethodId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facilityId

globally unique identifier

Required

tenantId

globally unique identifier

Required

paymentMethodId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

PaymentMethodResponseModel
NameDescriptionTypeAdditional information
credit_card_payment_method

PaymentMethodDataModel

None.

ach_payment_method

PaymentMethodDataModel

None.

meta

ApiResponseMeta

None.

Response Formats

application/json, text/json

Sample:
{
  "credit_card_payment_method": {
    "id": "05cbe7a9-7e5e-46b2-a82d-7d46b08ed687",
    "kind": "sample string 2",
    "first_name": "sample string 3",
    "last_name": "sample string 4",
    "reuseable": true,
    "billing_address": {
      "id": "77060f37-4fd8-47fd-a69a-9cab9585e7cb",
      "address1": "sample string 2",
      "address2": "sample string 3",
      "city": "sample string 4",
      "state": "sample string 5",
      "postal": "sample string 6",
      "country": "sample string 7",
      "full_address": "sample string 2 sample string 3, sample string 4, sample string 5 sample string 6",
      "latitude": 1.0,
      "longitude": 1.0,
      "time_zone_id": "sample string 8",
      "time_zone_offset": "sample string 9",
      "invalid_data": true,
      "label": "sample string 11"
    },
    "card_number": "sample string 6",
    "card_type": "sample string 7",
    "expiration_date": "sample string 8",
    "account_number": "sample string 9",
    "account_type": "sample string 10",
    "bank_name": "sample string 11",
    "routing_number": "sample string 12"
  },
  "ach_payment_method": {
    "id": "05cbe7a9-7e5e-46b2-a82d-7d46b08ed687",
    "kind": "sample string 2",
    "first_name": "sample string 3",
    "last_name": "sample string 4",
    "reuseable": true,
    "billing_address": {
      "id": "77060f37-4fd8-47fd-a69a-9cab9585e7cb",
      "address1": "sample string 2",
      "address2": "sample string 3",
      "city": "sample string 4",
      "state": "sample string 5",
      "postal": "sample string 6",
      "country": "sample string 7",
      "full_address": "sample string 2 sample string 3, sample string 4, sample string 5 sample string 6",
      "latitude": 1.0,
      "longitude": 1.0,
      "time_zone_id": "sample string 8",
      "time_zone_offset": "sample string 9",
      "invalid_data": true,
      "label": "sample string 11"
    },
    "card_number": "sample string 6",
    "card_type": "sample string 7",
    "expiration_date": "sample string 8",
    "account_number": "sample string 9",
    "account_type": "sample string 10",
    "bank_name": "sample string 11",
    "routing_number": "sample string 12"
  },
  "meta": {
    "message": "sample string 1",
    "status_code": 2,
    "request_id": "3cd0b854-5120-48be-a3b9-951dc372840d",
    "error_code": 1,
    "status_message": "sample string 3",
    "status_cat": "http://httpcats.herokuapp.com/2",
    "request_method": "sample string 4",
    "pagination": {
      "current_page": 1,
      "total_pages": 1,
      "per_page": 1,
      "total_entries": 1,
      "previous_page": 1,
      "next_page": 1
    },
    "parameters": {}
  }
}

application/xml, text/xml

Sample:
<PaymentMethodResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.Payments.ShieldApiResponseBaseChildren">
  <Meta xmlns="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.ApiResponseBase">
    <ErrorCode>1</ErrorCode>
    <HttpStatusCode>2</HttpStatusCode>
    <HttpStatusMessage>sample string 3</HttpStatusMessage>
    <Message>sample string 1</Message>
    <PaginationData>
      <CurrentPage>1</CurrentPage>
      <NextPage>1</NextPage>
      <PerPage>1</PerPage>
      <PreviousPage>1</PreviousPage>
      <TotalEntries>1</TotalEntries>
      <TotalPages>1</TotalPages>
    </PaginationData>
    <Parameters xmlns:d3p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.ApiResponseBase.ParameterClasses" />
    <RequestId>3cd0b854-5120-48be-a3b9-951dc372840d</RequestId>
    <RequestMethod>sample string 4</RequestMethod>
  </Meta>
  <PaymentMethodAch>
    <AccountNumber>sample string 9</AccountNumber>
    <AccountType>sample string 10</AccountType>
    <BankName>sample string 11</BankName>
    <BillingAddress xmlns:d3p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.Address">
      <d3p1:Address1>sample string 2</d3p1:Address1>
      <d3p1:Address2>sample string 3</d3p1:Address2>
      <d3p1:AddressId>77060f37-4fd8-47fd-a69a-9cab9585e7cb</d3p1:AddressId>
      <d3p1:City>sample string 4</d3p1:City>
      <d3p1:Country>sample string 7</d3p1:Country>
      <d3p1:InvalidData>true</d3p1:InvalidData>
      <d3p1:Label>sample string 11</d3p1:Label>
      <d3p1:Latitude>1</d3p1:Latitude>
      <d3p1:Longitude>1</d3p1:Longitude>
      <d3p1:Postal>sample string 6</d3p1:Postal>
      <d3p1:State>sample string 5</d3p1:State>
      <d3p1:TimeZoneId>sample string 8</d3p1:TimeZoneId>
      <d3p1:TimeZoneOffset>sample string 9</d3p1:TimeZoneOffset>
    </BillingAddress>
    <CardNumber>sample string 6</CardNumber>
    <CardType>sample string 7</CardType>
    <ExpirationDate>sample string 8</ExpirationDate>
    <FirstName>sample string 3</FirstName>
    <Id>05cbe7a9-7e5e-46b2-a82d-7d46b08ed687</Id>
    <LastName>sample string 4</LastName>
    <PaymentMethodKind>sample string 2</PaymentMethodKind>
    <Reuseable>true</Reuseable>
    <RoutingNumber>sample string 12</RoutingNumber>
  </PaymentMethodAch>
  <PaymentMethodCard>
    <AccountNumber>sample string 9</AccountNumber>
    <AccountType>sample string 10</AccountType>
    <BankName>sample string 11</BankName>
    <BillingAddress xmlns:d3p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.Address">
      <d3p1:Address1>sample string 2</d3p1:Address1>
      <d3p1:Address2>sample string 3</d3p1:Address2>
      <d3p1:AddressId>77060f37-4fd8-47fd-a69a-9cab9585e7cb</d3p1:AddressId>
      <d3p1:City>sample string 4</d3p1:City>
      <d3p1:Country>sample string 7</d3p1:Country>
      <d3p1:InvalidData>true</d3p1:InvalidData>
      <d3p1:Label>sample string 11</d3p1:Label>
      <d3p1:Latitude>1</d3p1:Latitude>
      <d3p1:Longitude>1</d3p1:Longitude>
      <d3p1:Postal>sample string 6</d3p1:Postal>
      <d3p1:State>sample string 5</d3p1:State>
      <d3p1:TimeZoneId>sample string 8</d3p1:TimeZoneId>
      <d3p1:TimeZoneOffset>sample string 9</d3p1:TimeZoneOffset>
    </BillingAddress>
    <CardNumber>sample string 6</CardNumber>
    <CardType>sample string 7</CardType>
    <ExpirationDate>sample string 8</ExpirationDate>
    <FirstName>sample string 3</FirstName>
    <Id>05cbe7a9-7e5e-46b2-a82d-7d46b08ed687</Id>
    <LastName>sample string 4</LastName>
    <PaymentMethodKind>sample string 2</PaymentMethodKind>
    <Reuseable>true</Reuseable>
    <RoutingNumber>sample string 12</RoutingNumber>
  </PaymentMethodCard>
</PaymentMethodResponseModel>