# Billing Apply Payment On Account Category

Using the PremPaymentOnAccount List as a basis for configuration, have On Accout and PremPayment information updated.

Endpoint: POST /billing-apply-payment-on-account-category
Version: v1
Security: apiKeyAuth, bearerAuth

## Security:

  - `apiKeyAuth` (unknown)
    apiKey in header x-api-key

  - `bearerAuth` (unknown)
    http bearer JWT

## Header parameters:

  - `vbasoftware-database` (string, required)
    Target database

## Request fields (application/json):

  - `user_ID` (string)

  - `payment` (object)

  - `payment.premPayment_Key` (integer, required)

  - `payment.account_Key` (integer)

  - `payment.division_ID` (string)

  - `payment.entry_Date` (string)

  - `payment.entry_User` (string)

  - `payment.funding_Key` (integer)

  - `payment.group_ID` (string)

  - `payment.payment_Amount` (number)

  - `payment.payment_Date` (string)

  - `payment.payment_ID` (string)

  - `payment.payment_Name` (string)

  - `payment.payment_Type` (string)

  - `payment.payor_ID` (string)

  - `payment.subscriber_ID` (string)

  - `payment.update_Date` (string)

  - `payment.update_User` (string)

  - `onAccountPayments` (array)

  - `onAccountPayments.premPaymentOnAccount_Key` (integer, required)

  - `onAccountPayments.entry_Date` (string)

  - `onAccountPayments.entry_User` (string)

  - `onAccountPayments.group_ID` (string)

  - `onAccountPayments.payment_Amount` (number)

  - `onAccountPayments.payment_Posted` (number)

  - `onAccountPayments.payor_ID` (string)

  - `onAccountPayments.plan_Type` (string)

  - `onAccountPayments.premPayment_Key` (integer, required)

  - `onAccountPayments.subscriber_ID` (string)

  - `onAccountPayments.update_Date` (string)

  - `onAccountPayments.update_User` (string)

## Response 202:

  - `202` (unknown)
    Accepted for processing

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden. The x-api-key header is missing or not valid. The API gateway sends this response, not VBAPI, so the body is not the VBAPI envelope; see Errors and troubleshooting.

## Response 429:

  - `429` (unknown)
    Too many requests. The limit is 25 requests per second sustained, with bursts up to 50, per API key. Wait and retry with exponential backoff and jitter.

