# Make payment Make a payment to a facility. Endpoint: POST /payment Version: 0.0.1 Security: ## Header parameters: - `x-app-id` (string) Encoded customer identifier. Example: "2ZMEEX2otslHtRRgzQC0tPVwbasC23455vx0k=" ## Query parameters: - `name` (string) Facility name. Can be truncated. Example: "Test Cargo" - `firmsCode` (string) Facilities Information and Resources Management System (FIRMS) code. Example: "L247" - `airportCode` (string) Facility airport code. Example: "JFK" - `airlinePrefix` (string) Three digit prefix that identifies the airline transporting the cargo. Example: "871" ## Request fields (application/json): - `awb` (string) AWB number Example: "111-11111111" - `hawb` (string) HAWB number Example: "845448" - `amount` (number) Amount being paid to facility Example: 3234.12 - `customerReference` (string) Customer reference details used by facility Example: "customer reference details" - `facility` (object) Details about the facility to associate payment - `facility.id` (integer) Facility identifier number Example: 36 - `paymentType` (string) Type of payment being paid for Enum: "Delivery", "ISC", "Storage" - `notificationEmail` (string) User notification email for payment confirmation Example: "test@test.com" ## Response 200 fields (application/json): - `content` (array) - `content.id` (integer) Example: 1 - `content.name` (string) facility name Example: "test facility" - `content.airportCode` (string) facility airport code Example: "ATL" - `content.prefixes` (string) all possible airline prefixes Example: "160,34" - `content.prefix` (string) selected airline prefix Example: "34" - `content.awbFieldType` (string) Example: "AWB" - `content.awbFieldLabel` (string) Example: "AWB Number" - `content.hawbFieldLabel` (string) Input label for hawb field Example: "Add one or more Hawb #" - `content.addressDTO` (object) - `content.addressDTO.addressLine1` (string) Example: "973 Barry Rd, South Building D" - `content.addressDTO.city` (string) Example: "Atlanta" - `content.addressDTO.state` (string) Example: "GA" - `content.addressDTO.zip` (string) Example: "30320" - `pageable` (object) - `totalPages` (integer) Example: 4 - `last` (boolean) - `totalElements` (integer) Example: 37 - `first` (boolean) Example: true - `sort` (object) - `sort.unsorted` (boolean) Example: true - `sort.sorted` (boolean) - `sort.empty` (boolean) Example: true - `numberOfElements` (integer) Example: 10 - `size` (integer) Example: 10 - `number` (integer) ## Response 400 fields (application/problem+json): - `errors` (array) Example: ["An error occured"]