BootView WebApi

<back to all web services

UpdateCustomerPaymentGateway

The following routes are available for this service:
PUT/customers/{customerId}/paymentgateways/{id}Updates an existing payment gateway. Fails if the payment gateway doesn't exist.
UpdateCustomerPaymentGateway Parameters:
NameParameterData TypeRequiredDescription
CustomerIdpathGuidYesThe customer Id.
IdpathGuidYesThe payment gateway 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.
ApplicationsbodyList<Application>NoA list of applications 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
PaymentGatewayApplication Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
PaymentGatewayIdformGuid?No
ApplicationIdformGuidNo
IsActiveformboolNo
PrimaryPaymentVenueformboolNo
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 .x-msgpack suffix or ?format=x-msgpack

HTTP + X-MSGPACK

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

POST /x-msgpack/reply/UpdateCustomerPaymentGateway HTTP/1.1 
Host: api.paylock.com 
Content-Type: application/x-msgpack
Content-Length: length

{"customerId":"00000000000000000000000000000000","id":"00000000000000000000000000000000","merchantId":"String","merchantKey":"String","merchantPin":"String","displayName":"String","testMode":0,"allowToken":false,"maxPaymentAmount":0,"minPaymentAmount":0,"billTypes":[{"id":"00000000000000000000000000000000","paymentGatewayId":"00000000000000000000000000000000","billTypeId":0,"applyConvenienceFee":false}],"applications":[{"id":"00000000000000000000000000000000","paymentGatewayId":"00000000000000000000000000000000","applicationId":"00000000000000000000000000000000","isActive":false,"primaryPaymentVenue":false}],"paymentTypes":[{"id":"00000000000000000000000000000000","paymentGatewayId":"00000000000000000000000000000000","paymentType":"String"}],"convenienceFees":[{"id":"00000000000000000000000000000000","paymentGatewayId":"00000000000000000000000000000000","paymentType":"String","minRange":0,"maxRange":0,"feeAmount":0,"applyAtPaymentOfBoot":false,"applyAtPaymentOfNotice":false,"applyAtPaymentOfTow":false,"totalPaymentAmount":0,"applyConvenienceFee":false}]}
HTTP/1.1 200 OK
Content-Type: application/x-msgpack
Content-Length: length

"00000000000000000000000000000000"