> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ripio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Customer Withholdings

> **Argentina only.** Returns whether the customer is listed in the gross income withholding registry (padrón, SIRCUPA regime) for the current period, and at what rates. A bank transfer into the customer's CVU from an account that is **not** in the customer's name is withheld at these rates; a transfer from the customer's own account is not. See [Gross income withholding (SIRCUPA)](/ramps-api/overview/countries/argentina#gross-income-withholding-sircupa).

Use it to warn your user before they transfer, for example: *transfer from an account in your name, otherwise 6% will be withheld*.

- `withholdingsEnabled: false` means nothing would be withheld: the customer is not in the registry, has no approved KYC with a CUIT, or the withholding does not apply to your account.
- The registry changes from one period to the next, so read it before showing the warning instead of storing it.
- `503` (`50003`) means the registry could not be read. Retry later, and in the meantime do not assume the customer is not withheld: show the generic warning.
- In sandbox the registry is simulated, so the answer does not reflect the customer's real tax situation.



## OpenAPI

````yaml ramps-api/openapi.json GET /api/v1/customers/{customerId}/withholdings/
openapi: 3.1.0
info:
  title: Ripio Ramp API
  version: v1
  description: >-
    API for Ripio ramp services, enabling partners to integrate On-Ramp,
    Off-Ramp, customer management, KYC processes, and other financial
    functionalities. This API is RESTful, uses JSON for requests and responses,
    and standard HTTP status codes. This document is based on the
    'onramp-api.pdf' provided and aims to be compliant with OpenAPI
    Specification v3.1.0. The PDF indicates that the API documentation is a
    draft and subject to change.
servers:
  - url: https://skala-sandbox.ripio.com
    description: Sandbox environment
  - url: https://skala.ripio.com
    description: Production environment
security:
  - BearerToken: []
tags:
  - name: Authentication
    description: Operations related to API authentication and authorization.
  - name: Support Tickets
    description: >-
      Operations for raising and tracking customer support tickets with Ripio's
      support team. This feature must be enabled for your account by the Ripio
      team.
  - name: Customers
    description: Operations related to customer management.
  - name: KYC
    description: Operations related to Know Your Customer processes.
  - name: Investor Profile
    description: >-
      Brazilian accounts only: the investor-profile (suitability) questionnaire
      required by Resolução BCB nº 520/2025.
  - name: Fiat Accounts
    description: Operations related to managing fiat accounts and their requirements.
  - name: Quotes
    description: Operations related to obtaining and managing conversion quotes.
  - name: On-Ramp
    description: Operations related to fiat-to-crypto (on-ramp) processes.
  - name: Off-Ramp
    description: Operations related to crypto-to-fiat (off-ramp) processes.
  - name: Refunds
    description: >-
      Operations for returning the money of an on-ramp or off-ramp operation
      that could not be completed. Each ramp must be enabled for your account by
      the Ripio team.
  - name: Transactions
    description: Operations related to listing and managing all transaction types.
  - name: Networks
    description: >-
      Operations related to retrieving available deposit and withdrawal
      networks.
  - name: Rates
    description: Operations related to retrieving market rates.
  - name: Transaction Limits
    description: >-
      Operations related to retrieving per-transaction limits by currency and
      ramp operation.
  - name: Sandbox
    description: Operations specific to the sandbox environment for testing purposes.
  - name: Webhooks
    description: Webhook event notifications from Ripio Ramp API.
  - name: QR Payments
    description: >-
      Endpoints for managing QR Payments, which let customers pay a merchant QR
      code with crypto: Ripio sells the crypto and pays the merchant in local
      fiat currency. QR Payments were formerly called Sell and Pay; the endpoint
      paths (`/api/v1/sellAndPays/`) and field names keep the original name.
paths:
  /api/v1/customers/{customerId}/withholdings/:
    get:
      tags:
        - Customers
      summary: Get Customer Withholdings
      description: >-
        **Argentina only.** Returns whether the customer is listed in the gross
        income withholding registry (padrón, SIRCUPA regime) for the current
        period, and at what rates. A bank transfer into the customer's CVU from
        an account that is **not** in the customer's name is withheld at these
        rates; a transfer from the customer's own account is not. See [Gross
        income withholding
        (SIRCUPA)](/ramps-api/overview/countries/argentina#gross-income-withholding-sircupa).


        Use it to warn your user before they transfer, for example: *transfer
        from an account in your name, otherwise 6% will be withheld*.


        - `withholdingsEnabled: false` means nothing would be withheld: the
        customer is not in the registry, has no approved KYC with a CUIT, or the
        withholding does not apply to your account.

        - The registry changes from one period to the next, so read it before
        showing the warning instead of storing it.

        - `503` (`50003`) means the registry could not be read. Retry later, and
        in the meantime do not assume the customer is not withheld: show the
        generic warning.

        - In sandbox the registry is simulated, so the answer does not reflect
        the customer's real tax situation.
      operationId: getCustomerWithholdings
      parameters:
        - $ref: '#/components/parameters/CustomerId'
      responses:
        '200':
          description: The customer's withholding status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerWithholdingsResponse'
              examples:
                Listed:
                  summary: Listed in the registry
                  description: >-
                    A third-party transfer would be withheld 6%: 1% for Ciudad
                    Autónoma de Buenos Aires and 5% for Convenio Multilateral.
                  value:
                    withholdingsEnabled: true
                    period: '202612'
                    totalRate: '6.00'
                    withholdings:
                      - regime: SIRCUPA
                        jurisdiction: 901
                        rate: '1.00'
                      - regime: SIRCUPA
                        jurisdiction: 0
                        rate: '5.00'
                NotListed:
                  summary: Not withheld
                  value:
                    withholdingsEnabled: false
                    period: null
                    totalRate: null
                    withholdings: []
        '401':
          description: Unauthorized - Invalid or missing access token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                code: 40001
                type: NotAuthenticated
                detail:
                  message: Authentication credentials were not provided.
                  code: not_authenticated
                status: 401
        '404':
          description: >-
            Not Found - the customer does not exist or does not belong to your
            account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                code: 40004
                type: NotFound
                detail:
                  message: Not found.
                  code: not_found
                status: 404
        '503':
          description: >-
            Service Unavailable - the withholding registry could not be read.
            Retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                code: 50003
                type: ServiceUnavailable
                detail:
                  message: Service temporarily unavailable, try again later.
                status: 503
components:
  parameters:
    CustomerId:
      name: customerId
      in: path
      required: true
      description: Unique identifier for the customer.
      schema:
        type: string
        format: uuid
      example: 8142b065-79c4-4f48-9e33-11b17bc658d4
  schemas:
    CustomerWithholdingsResponse:
      type: object
      description: >-
        Whether bank transfers into the customer's CVU from a third party's
        account would be withheld, and at what rates. See [gross income
        withholding
        (SIRCUPA)](/ramps-api/overview/countries/argentina#gross-income-withholding-sircupa).
      properties:
        withholdingsEnabled:
          type: boolean
          description: >-
            `true` if the customer is listed in the withholding registry
            (padrón) for the current period. `false` means nothing would be
            withheld: `period` and `totalRate` are then `null` and
            `withholdings` is `[]`.
          example: true
        period:
          type:
            - string
            - 'null'
          description: Registry period the answer comes from, as `YYYYMM`.
          example: '202612'
        totalRate:
          type:
            - string
            - 'null'
          description: >-
            Total rate across `withholdings`, as a percentage (`"6.00"` is 6%):
            the share of a third-party transfer that would be withheld.
          example: '6.00'
        withholdings:
          type: array
          description: One entry per jurisdiction that withholds.
          items:
            $ref: '#/components/schemas/CustomerWithholding'
      required:
        - withholdingsEnabled
        - period
        - totalRate
        - withholdings
    ErrorResponse:
      type: object
      properties:
        code:
          type: integer
          description: Application-specific error code.
        type:
          type: string
          description: Type of error or exception.
        detail:
          type:
            - object
            - array
          description: >-
            Error details. The shape depends on the error:


            - Most business errors return an object with a `message` key.

            - Field validation errors return an object keyed by field name, each
            holding an array of `{ message, code }`.

            - Request-level validation errors (e.g. a missing query parameter)
            return a bare array of `{ message, code }`.
          properties:
            message:
              type: string
              description: Detailed error message.
          additionalProperties: true
        status:
          type: integer
          description: HTTP status code.
      required:
        - code
        - type
        - detail
        - status
    CustomerWithholding:
      type: object
      description: A withholding the customer is listed for in the current period.
      properties:
        regime:
          type: string
          description: Withholding regime.
          example: SIRCUPA
        jurisdiction:
          type: integer
          description: >-
            Jurisdiction code: `0` for Convenio Multilateral, `901` to `924` for
            each province (for example, `901` is Ciudad Autónoma de Buenos
            Aires).
          example: 901
        rate:
          type: string
          description: Withholding rate, as a percentage (`"1.00"` is 1%).
          example: '1.00'
  securitySchemes:
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Access token obtained via
        [/oauth2/token/](/ramps-api/authentication/acquire-access-token). Use as
        `Authorization: Bearer <access_token>`.

````

## Related topics

- [Argentina](https://docs.ripio.com/ramps-api/overview/countries/argentina.md)
- [Deactivate Customer](https://docs.ripio.com/ramps-api/customers/deactivate-customer.md)
- [Get Terms and Conditions](https://docs.ripio.com/ramps-api/terms-and-conditions/get-terms-and-conditions.md)
- [Get Terms Acceptance Status](https://docs.ripio.com/ramps-api/terms-and-conditions/get-terms-acceptance-status.md)
- [Retrieve a Customer's On-Ramp Session](https://docs.ripio.com/ramps-api/on-ramp/retrieve-a-customer-on-ramp-session.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.