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 .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv 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 } ] } ]