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

# Get repayment wire instructions

> Fetches the necessary wire transfer instructions for repaying funds borrowed against the line of credit.



## OpenAPI

````yaml openapi/managed-payments.yaml get /v1/managedPayments/credit/lines/{lineId}/wireInstructions
openapi: 3.0.2
info:
  version: ${version}
  title: Managed Payments API
  description: |
    The Managed Payments API enables Payment Service Providers (PSPs) to create
    and manage sub-client accounts for stablecoin settlement.
servers:
  - url: https://api-sandbox.circle.com
  - url: https://api.circle.com
security: []
tags:
  - name: Managed Payments Accounts
    description: Create and manage sub-client accounts for Managed Payments PSPs.
  - name: Managed Payments Credit
    description: Get credit line details and wire instructions for repayment.
  - name: Managed Payments Credit Transfers
    description: Create and manage credit transfers (drawdowns) against a credit line.
paths:
  /v1/managedPayments/credit/lines/{lineId}/wireInstructions:
    get:
      tags:
        - Managed Payments Credit
      summary: Get repayment wire instructions
      description: >-
        Fetches the necessary wire transfer instructions for repaying funds
        borrowed against the line of credit.
      operationId: getManagedPaymentsCreditWireInstructions
      parameters:
        - $ref: '#/components/parameters/LineIdPath'
      responses:
        '200':
          description: Successfully retrieved wire instructions.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                title: GetManagedPaymentsCreditWireInstructionsResponse
                properties:
                  data:
                    $ref: '#/components/schemas/CreditWireInstructions'
              example:
                data:
                  trackingRef: CIR28XYS2F
                  beneficiary:
                    name: CIRCLE INTERNET FINANCIAL INC
                    address1: 99 HIGH STREET
                    address2: BOSTON MA 02110
                  beneficiaryBank:
                    swiftCode: XXXXXXUS66
                    routingNumber: 322XXXXXX
                    accountNumber: 505XXXXXXX
                    currency: USD
                    name: SILVERGATE BANK
                    address: 4250 EXECUTIVE SQUARE SUITE 300
                    city: LA JOLLA
                    postalCode: '12345'
                    country: US
        '401':
          $ref: '#/components/responses/NotAuthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - bearerAuth: []
components:
  parameters:
    LineIdPath:
      name: lineId
      description: Universally unique identifier (UUID v4) of the credit line.
      in: path
      required: true
      schema:
        type: string
        format: uuid
        example: 01c39206-64e9-4e30-8649-4e187cfcbf6d
  headers:
    XRequestId:
      description: >-
        Universally unique identifier (UUID v4) for the request. Helpful for
        identifying a request when communicating with Circle support.
      schema:
        type: string
        format: uuid
        example: 2adba88e-9d63-44bc-b975-9b6ae3440dde
  schemas:
    CreditWireInstructions:
      type: object
      description: Wire transfer instructions for making a fiat repayment on a credit line.
      required:
        - trackingRef
        - beneficiary
        - beneficiaryBank
      properties:
        trackingRef:
          description: A tracking reference for the wire transfer.
          type: string
          example: CIR3XBZZ4N
        beneficiary:
          description: Beneficiary details.
          type: object
          required:
            - name
            - address1
            - address2
          properties:
            name:
              description: Beneficiary name.
              type: string
              example: CIRCLE INTERNET FINANCIAL INC
            address1:
              description: Beneficiary address line 1.
              type: string
              example: 1 Main Street
            address2:
              description: Beneficiary address line 2.
              type: string
              example: Suite 1
        beneficiaryBank:
          description: Beneficiary bank details.
          type: object
          required:
            - swiftCode
            - routingNumber
            - accountNumber
            - currency
            - name
            - address
            - city
            - postalCode
            - country
          properties:
            swiftCode:
              description: SWIFT/BIC code of the bank.
              type: string
              example: SVBKUS6S
            routingNumber:
              description: ABA routing number.
              type: string
              example: '121140399'
            accountNumber:
              description: Bank account number.
              type: string
              example: '3302726104'
            currency:
              description: Currency code.
              type: string
              enum:
                - USD
              example: USD
            name:
              description: Name of the bank.
              type: string
              example: SILICON VALLEY BANK
            address:
              description: Bank address.
              type: string
              example: 3003 TASMAN DRIVE
            city:
              description: Bank city.
              type: string
              example: SANTA CLARA
            postalCode:
              description: Bank postal code.
              type: string
              example: '95054'
            country:
              description: Bank country code.
              type: string
              example: US
  responses:
    NotAuthorized:
      description: >-
        The request has not been applied because it lacks valid authentication
        credentials.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            type: object
            title: NotAuthorized
            required:
              - code
              - message
            properties:
              code:
                type: integer
                example: 400
              message:
                type: string
                example: Something went wrong.
            example:
              code: 401
              message: Malformed authorization.
          examples:
            response:
              value:
                code: 401
                message: Malformed authorization.
    Forbidden:
      description: >-
        The request provides authentication, but the authenticated user does not
        possess sufficient permissions for accessing this resource.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            type: object
            title: Forbidden
            required:
              - code
              - message
            properties:
              code:
                type: integer
                example: 400
              message:
                type: string
                example: Something went wrong.
            example:
              code: 3
              message: Forbidden
          examples:
            response:
              value:
                code: 3
                message: Forbidden
    NotFound:
      description: The specified resource was not found.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            type: object
            title: NotFound
            required:
              - code
              - message
            properties:
              code:
                type: integer
                example: 400
              message:
                type: string
                example: Something went wrong.
            example:
              code: 404
              message: Not found.
          examples:
            response:
              value:
                code: 404
                message: Not found.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````