Accounts

Update Account

Partially update an existing account.

Only the fields provided in the request body will be modified; all other fields will remain unchanged.

patch/{account_id}/

Request

  • Base URL
    https://app2test.infiniaweb.com/infinia_api/v1/accounts
  • URL
    https://app2test.infiniaweb.com/infinia_api/v1/accounts/{account_id}/
  • Auth
    HTTP basic

Path parameters

account_idstring required

Headers

x-company-idinteger

ID of a child company for authentication. If not provided, the parent company will be authenticated.

Request body

labelstring

Label of the account

productsAccountProductsEnum[]

List of products associated with the account. Requires the product to be already enabled for the company. Valid values: PAYOUTS, PAYINS, INTERNAL_TRANSFER

webhook_urlstring

URL for movement notifications (will follow the same schema as the Get Movement endpoint)

status_callback_urlstring

URL that receives a POST with the account object each time the account's status changes. Send null to stop these notifications.

enabledboolean

Indicates if the account is enabled or not. Disabled accounts will not be able to perform any operations until they are enabled again.

Example request

{
  "products": [
    "PAYOUTS",
    "PAYINS",
    "INTERNAL_TRANSFER"
  ]
}

Response

Successful Response

status'success'

Changes

No recorded changes to this operation across all 1 revision of this API.