# Settle an APM payment Endpoint: POST /apmPayments/{paymentId}/settlements Version: 2024-07-01 Security: BasicAuth ## Path parameters: - `paymentId` (string, required) ## Request fields (application/json): - `reference` (string) - `value` (object, required) The value of the payment. - `value.amount` (integer, required) The amount in the lowest denomination of the currency e.g. pennies for GBP, cents for USD. Example: 12 - `value.currency` (string, required) The supported [ISO 4217 currency codes](/products/reference/supported-countries-currencies#iso-currency-codes). Enum: "AED", "AFN", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNH", "CNY", "COP", "CRC", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RWF", "SAR", "SBD", "SCR", "SEK", "SGD", "SHP", "SLE", "SLL", "SOS", "SRD", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ## Response 202 fields (application/json): - `paymentId` (string) The identifier of the payment resource. - `lastEvent` (string) Enum: "authorized", "cancelFailed", "cancelled", "cancelRequested", "sentForSettlement", "sentForAuthorization", "settlementFailed", "chargebackReversed", "chargedBack", "disputeExpired", "disputeFundsHeld", "disputeFundsReleased", "disputeReserveReleased", "error", "expired", "disputeInformationRequested", "disputInformationSupplied", "miscellaneous", "pending", "refunded", "refundExpired", "refundFailed", "refundReversed", "refused", "refusedByIssuer", "requestExpired", "sentForRefund", "settled", "settlementReversed", "cancelledByCustomer", "signedFormReceived", "unknown", "manuallyAmended" - `_links` (object) Links to resources related to the request. - `_links.self` (object) The URL you can invoke to fetch the last event for the payment. - `_links.self.href` (string) - `_actions` (object) - `commandId` (string) ## Response 400 fields (application/json): - `errorName` (string) - `message` (string) - `validationErrors` (array) ## Response 401 fields (application/json): - `errorName` (string) - `message` (string) ## Response 404 fields (application/json): - `errorName` (string) - `message` (string) - `validationErrors` (array) ## Response 500 fields (application/json): - `errorName` (string) - `message` (string)