Customer Collection Accounts

Listar Customer Collection Accounts

Changed on

Devuelve las Customer Collection Accounts vigentes de un Customer, es decir las cuentas bancarias con las que se le cobra por PAC o domiciliación bancaria.

Cuando se envía subscription se devuelven solo las cuentas de esa Subscription; cuando se omite se devuelven todas las del Customer, tanto las asociadas a una Subscription como la que no lo está. El resultado viene ordenado por Subscription y deja al final la cuenta sin Subscription asociada.

Responde 404 cuando el Customer no tiene ninguna cuenta vigente.

get/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 cuyas cuentas se quieren ver. Si se omite, se devuelven todas las cuentas del Customer.

Headers

x-account-keystring

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

Response

Successful Response

object required

Changes

    • warning

      removed the optional property from the response with the status

    • info

      api operation id obtener-customer-collection-account removed and replaced with get_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