GET | /customers/{customerId}/paymentgateways | Gets a list of the given customer's payment gateways. Only returns the list if this user has access to this customer. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerId | path | Guid | Yes | The customer id |
ApplicationName | query | String | No | The application name |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers/{customerId}/paymentgateways HTTP/1.1 Host: api.paylock.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length [{"id":"00000000000000000000000000000000","customerId":"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}],"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}],"applications":[{"id":"00000000000000000000000000000000","paymentGatewayId":"00000000000000000000000000000000","applicationId":"00000000000000000000000000000000","isActive":false,"primaryPaymentVenue":false}]}]