Skip to main content
POST
/
api
/
pay
/
{projectId}
/
companyProjectCreditCardPaymentsInfo
/
setAccountUpdaterPriority
Set Account Updater Priority
curl --request POST \
  --url https://localhost:44371/api/pay/{projectId}/companyProjectCreditCardPaymentsInfo/setAccountUpdaterPriority \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "code": 200,
  "errorMessage": null
}

Description

Sets priority for account updater service to determine which stored cards receive priority processing for automatic updates. Helps ensure critical billing accounts are updated first.

Input

  • Path Parameter: projectId (guid, required) — Project identifier for authentication.
  • Body: request (CompanyProjectCreditCardPaymentInfoAuPriorityCommanRequest, required) — Priority configuration.

Output

Returns a CompanyProjectCreditCardPaymentInfoAuPriorityCommanResponse indicating configuration success.

Example Request

POST /api/payment/{projectId}/credit-card-payment-info/set-updater-priority
Content-Type: application/json
X-API-Key: {your-api-key}

{
  "paymentInfoId": "abc123",
  "priority": "High"
}

Example Response

{
  "success": true,
  "code": 200,
  "errorMessage": null
}

Errors

  • 404 Not Found — Payment information ID not found.
  • 400 Bad Request — Invalid priority value.

Notes

  • Priority settings affect AU processing order, not eligibility.
  • Higher priority cards are checked/updated more frequently.
  • Use for high-value subscriptions or critical billing accounts.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

projectId
string<guid>
required

The project identifier for authentication.

Body

application/json

Priority configuration specifying which payment methods should be prioritized for AU.

Base structure for command requests that modify data. Represents the command payload used to prioritize payment info records for account updater processing.

paymentInfoIds
string<guid>[]
required

The identifiers of the payment info records to prioritize.

Response

Always returned. Check the success property in the response body to determine if the operation succeeded.

Standard response structure containing operation status and error information. Standard command response indicating the result of a data modification. Represents the response returned after setting account updater priority for payment info records.

success
boolean

True if the operation completed successfully; false if an error occurred.

Example:

true

code
enum<string>

Result code indicating the outcome of the operation.

Available options:
Unknown,
Success,
BadRequest,
Unauthorized,
NotFound,
Error
Example:

200

errorMessage
string | null

Human-readable error message when an error occurs.

Example:

null