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

# Update a draft or correct a failed deposit-KYC profile

> Merge profile fields on a draft. A correction after failed deposit-account KYC invalidates prior approval and returns the customer to ``incomplete`` for resubmission and re-review.



## OpenAPI

````yaml /api-reference/openapi.json patch /partner/customers/{customer_id}
openapi: 3.1.0
info:
  title: Element Pay Partner API
  description: >-
    Provider-neutral fiat ↔ crypto ramps for partners. Discover corridors,
    create a binding quote, accept it, and receive webhooks. African local fiat
    (mobile money and bank) is auto-routed by corridor.
  version: 1.0.0
servers:
  - url: https://sandbox.elementpay.net/api/v1
    description: Sandbox
security:
  - APIKeyHeader: []
tags:
  - name: partner
    description: >-
      Corridor discovery, indicative rates, binding quotes, and order acceptance
      (including account currency conversion).
    x-group: Partner
  - name: partner-customers
    description: >-
      Vault KYC: requirements, create, list, get/update, documents, and submit
      (pcus_*).
    x-group: Customers
  - name: partner-customer-accounts
    description: >-
      Customer accounts and funding: open/list/get rails, deposit instructions,
      stablecoin sends, and same-currency fiat book transfers.
    x-group: Customer accounts
paths:
  /partner/customers/{customer_id}:
    patch:
      tags:
        - partner-customers
      summary: Update a draft or correct a failed deposit-KYC profile
      description: >-
        Merge profile fields on a draft. A correction after failed
        deposit-account KYC invalidates prior approval and returns the customer
        to ``incomplete`` for resubmission and re-review.
      operationId: partner_customer_patch_partner_customers__customer_id__patch
      parameters:
        - name: customer_id
          in: path
          required: true
          schema:
            type: string
            description: Public customer id returned on create
            examples:
              - pcus_a1b2c3d4e5f6
            title: Customer Id
            example: pcus_a1b2c3d4e5f6
          description: Public customer id returned on create
          example: pcus_a1b2c3d4e5f6
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerCustomerProfilePatchRequest'
            examples:
              default:
                summary: Example
                value:
                  profile:
                    first_name: Jane
                    last_name: Doe
                    email: jane@example.com
                    date_of_birth: '1990-01-15'
                    country_of_residence: GB
                    phone: '+447700900123'
                    gender: f
                    address:
                      line_1: 1 Example Street
                      city: London
                      country: GB
                      postal_code: E1 6AN
            example:
              profile:
                first_name: Jane
                last_name: Doe
                email: jane@example.com
                date_of_birth: '1990-01-15'
                country_of_residence: GB
                phone: '+447700900123'
                gender: f
                address:
                  line_1: 1 Example Street
                  city: London
                  country: GB
                  postal_code: E1 6AN
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - message
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                  data:
                    type:
                      - object
                      - 'null'
              example:
                status: error
                message: Validation error
                data:
                  field: country
      security:
        - APIKeyHeader: []
components:
  schemas:
    PartnerCustomerProfilePatchRequest:
      properties:
        profile:
          type: object
          title: Profile
          description: Partial profile merge into the customer vault.
          example:
            first_name: Jane
            last_name: Doe
            email: jane@example.com
            date_of_birth: '1990-01-15'
            country_of_residence: GB
            phone: '+447700900123'
            gender: f
            address:
              line_1: 1 Example Street
              city: London
              country: GB
              postal_code: E1 6AN
      type: object
      required:
        - profile
      title: PartnerCustomerProfilePatchRequest
      example:
        profile:
          first_name: Jane
          last_name: Doe
          email: jane@example.com
          date_of_birth: '1990-01-15'
          country_of_residence: GB
          phone: '+447700900123'
          gender: f
          address:
            line_1: 1 Example Street
            city: London
            country: GB
            postal_code: E1 6AN
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````