Customer Collection Accounts

Eliminar Customer Collection Account

Changed on

Elimina la Customer Collection Account de un Customer para que deje de usarse en cobros.

Omitir subscription elimina la cuenta que no está asociada a ninguna Subscription; enviarlo elimina la de esa Subscription. La eliminación es lógica: la cuenta queda marcada con su fecha de eliminación.

Responde 404 cuando no existe una cuenta vigente para esa combinación de Customer y Subscription.

delete/customer-collection-accounts

Request

  • Base URL
    https://api.trytoku.com
  • URL
    https://api.trytoku.com/customer-collection-accounts
  • Auth
    API key in header x-api-key

Query parameters

customerstring required

Id del Customer dueño de la cuenta.

subscriptionstring

Id de la Subscription a la que aplica la cuenta. Si se omite, apunta a la cuenta que no está asociada a ninguna Subscription.

Headers

x-account-keystring

Llave de API de una Account, para operar sobre esa Account en lugar de la principal.

Response

Successful Response

Changes

    • breaking

      removed the media type application/json for the response with the status

    • info

      api operation id delete-customer-collection-account removed and replaced with delete_customer_collection_account_endpoint

    • info

      api tag Customer Collection Accounts added

    • info

      added the new optional header request parameter x-account-key

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status