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

# Get Payment Method

> Retrieve the masked payment method for an advocate. The advocate can be looked up by their Reditus ID (UUID) or by their uid (your internal user ID). Returns anonymized payment details so you can show a "connected" state without exposing sensitive data.



## OpenAPI

````yaml GET /v1/advocates/{advocate_id}/payment_method
openapi: 3.1.0
info:
  title: Reditus API - Advocate Payment Methods
  description: >-
    API specification for managing advocate payment methods in Reditus referral
    programs.
  version: 1.0.0
servers:
  - url: https://api.getreditus.com/api
security: []
paths:
  /v1/advocates/{advocate_id}/payment_method:
    get:
      summary: Get Payment Method
      description: >-
        Retrieve the masked payment method for an advocate. The advocate can be
        looked up by their Reditus ID (UUID) or by their uid (your internal user
        ID). Returns anonymized payment details so you can show a "connected"
        state without exposing sensitive data.
      parameters:
        - name: advocate_id
          in: path
          required: true
          schema:
            type: string
            description: The advocate's Reditus ID (UUID) or your internal user ID (uid)
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethodResponse'
              examples:
                paypal:
                  summary: PayPal payment method
                  value:
                    data:
                      payment_type: paypal
                      masked_value: jo****@gmail.com
                      first_name: John
                      last_name: Doe
                iban:
                  summary: IBAN payment method
                  value:
                    data:
                      payment_type: iban
                      masked_value: DE****3000
                      first_name: John
                      last_name: Doe
                none:
                  summary: No payment method set
                  value:
                    data:
                      payment_type: null
                      masked_value: null
                      first_name: null
                      last_name: null
        '404':
          description: Advocate not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    PaymentMethodResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            payment_type:
              type: string
              nullable: true
              enum:
                - paypal
                - iban
                - null
              description: The type of payment method configured, or null if none is set
            masked_value:
              type: string
              nullable: true
              description: >-
                The anonymized payment value (e.g., 'jo****@gmail.com' or
                'DE****3000'), or null if none is set
            first_name:
              type: string
              nullable: true
              description: The advocate's first name, or null if not set
            last_name:
              type: string
              nullable: true
              description: The advocate's last name, or null if not set
    ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              title:
                type: string
              details:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````