BootView WebApi

<back to all web services

CreateCustomerPaymentGateway

Creates a new payment gateway entry for this Customer.
CreateCustomerPaymentGateway Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe customer Id.
MerchantIdbodystringNoThe merchant id for this customer payment gateway.
MerchantKeybodystringNoThe merchant key for this customer payment gateway.
MerchantPinbodystringNoThe merchant pin for this customer payment gateway.
DisplayNamebodystringYesThe display name for this customer payment gateway.
TestModebodyintNoWhether or not this payment gateway is in test mode.
AllowTokenbodyboolNoWhether or not this payment gateway should allow token.
MaxPaymentAmountbodydecimalNoThe maximum payment amount for this payment gateway.
MinPaymentAmountbodydecimalNoThe minimum payment amount for this payment gateway.
BillTypesbodyList<PaymentGatewayBillType>NoA list of bill types associated with this payment gateway.
PaymentTypesbodyList<PaymentGatewayPaymentType>NoA list of payment types associated with this payment gateway.
ConvenienceFeesbodyList<ConvenienceFee>NoA list of convenience fees associated with this payment gateway.
PaymentGatewayBillType Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
PaymentGatewayIdformGuid?No
BillTypeIdformintNo
ApplyConvenienceFeeformboolNo
PaymentGatewayPaymentType Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
PaymentGatewayIdformGuid?No
PaymentTypeformstringNo
ConvenienceFee Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
PaymentGatewayIdformGuid?No
PaymentTypeformstringNo
MinRangeformdecimal?No
MaxRangeformdecimal?No
FeeAmountformdecimal?No
ApplyAtPaymentOfBootformbool?No
ApplyAtPaymentOfNoticeformbool?No
ApplyAtPaymentOfTowformbool?No
TotalPaymentAmountformdecimal?No
ApplyConvenienceFeeformbool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

HTTP + SOAP12

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap12 HTTP/1.1 
Host: api.paylock.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<CreateCustomerPaymentGateway xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
  <AllowToken>false</AllowToken>
  <BillTypes>
    <PaymentGatewayBillType>
      <ApplyConvenienceFee>false</ApplyConvenienceFee>
      <BillTypeId>0</BillTypeId>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <PaymentGatewayId>00000000-0000-0000-0000-000000000000</PaymentGatewayId>
    </PaymentGatewayBillType>
  </BillTypes>
  <ConvenienceFees>
    <ConvenienceFee>
      <ApplyAtPaymentOfBoot>false</ApplyAtPaymentOfBoot>
      <ApplyAtPaymentOfNotice>false</ApplyAtPaymentOfNotice>
      <ApplyAtPaymentOfTow>false</ApplyAtPaymentOfTow>
      <ApplyConvenienceFee>false</ApplyConvenienceFee>
      <FeeAmount>0</FeeAmount>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <MaxRange>0</MaxRange>
      <MinRange>0</MinRange>
      <PaymentGatewayId>00000000-0000-0000-0000-000000000000</PaymentGatewayId>
      <PaymentType>String</PaymentType>
      <TotalPaymentAmount>0</TotalPaymentAmount>
    </ConvenienceFee>
  </ConvenienceFees>
  <CustomerId>00000000-0000-0000-0000-000000000000</CustomerId>
  <DisplayName>String</DisplayName>
  <MaxPaymentAmount>0</MaxPaymentAmount>
  <MerchantId>String</MerchantId>
  <MerchantKey>String</MerchantKey>
  <MerchantPin>String</MerchantPin>
  <MinPaymentAmount>0</MinPaymentAmount>
  <PaymentTypes>
    <PaymentGatewayPaymentType>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <PaymentGatewayId>00000000-0000-0000-0000-000000000000</PaymentGatewayId>
      <PaymentType>String</PaymentType>
    </PaymentGatewayPaymentType>
  </PaymentTypes>
  <TestMode>0</TestMode>
</CreateCustomerPaymentGateway>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">00000000-0000-0000-0000-000000000000</guid>

    </soap12:Body>
</soap12:Envelope>