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

# Update account order credentials

> Update the account credentials for a sold order. Buyer will be notified of the updated credentials automatically.



## OpenAPI

````yaml /api/openapi.json patch /v2/account-orders/{accountOrder}/credentials
openapi: 3.1.0
info:
  title: GameBoost
  version: 2.0.0
servers:
  - url: https://api.gameboost.com
    description: GameBoost API
security:
  - BearerTokenSecurityScheme: []
tags:
  - name: Games
    description: Games
  - name: Seller Breaks
    description: Seller Breaks
  - name: Payments
    description: Payments
  - name: Payouts
    description: Payouts
  - name: Account Offers
    description: Account Offers
  - name: Account Orders
    description: Account Orders
  - name: Item Offers
    description: Item Offers
  - name: Item Orders
    description: Item Orders
  - name: Currency Offers
    description: Currency Offers
  - name: Currency Orders
    description: Currency Orders
  - name: Webhooks
    description: Webhook events sent to your endpoints when specific actions occur
  - name: Gift Card Offers
    description: Gift Card Offers
  - name: Gift Card Orders
    description: Gift Card Orders
paths:
  /v2/account-orders/{accountOrder}/credentials:
    patch:
      tags:
        - Account Orders
      summary: Update account order credentials
      description: >-
        Update the account credentials for a sold order. Buyer will be notified
        of the updated credentials automatically.
      parameters:
        - name: accountOrder
          in: path
          description: >-
            The ID of the account order. Can be retrieved from the list of
            account orders, or from the parent account offer, or from webhooks.
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - credentials
              properties:
                credentials:
                  description: >-
                    Account credentials in plain text format. Supports
                    multi-line input with line breaks. Content is automatically
                    encrypted using AES-256 encryption for secure storage.
                  type: string
                  maxLength: 10000
                  example: >-
                    Login: example, Password: password, Email Login:
                    example@example.com, Email Password: password, Email
                    Provider: proton.me/mail
      responses:
        '200':
          description: Account order credentials updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/AccountOrder'
                  message:
                    description: Success message
                    type: string
                  warning:
                    description: Warning message
                    type: string
        '401':
          $ref: '#/components/responses/ErrorUnauthenticated'
        '403':
          $ref: '#/components/responses/ErrorForbidden'
        '404':
          $ref: '#/components/responses/ErrorNotFound'
        '422':
          $ref: '#/components/responses/ErrorValidation'
        '429':
          $ref: '#/components/responses/ErrorRateLimited'
      security:
        - BearerToken: []
components:
  schemas:
    AccountOrder:
      description: Account order object
      type: object
      properties:
        id:
          description: Unique identifier for the account order
          type: integer
        account_offer_id:
          description: Related account offer ID
          type: integer
        game:
          $ref: '#/components/schemas/GameRelation'
        buyer:
          $ref: '#/components/schemas/Buyer'
        rating:
          $ref: '#/components/schemas/Rating'
        title:
          description: Display name for the account offer
          type: string
        description:
          description: Detailed description of the account and its features
          type: string
          nullable: true
        parameters:
          description: >-
            Account-specific attributes such as level, rank, champions unlocked,
            etc.
          type: object
          nullable: true
        status:
          description: Current status of the account order
          enum:
            - pending
            - in_delivery
            - delivered
            - refunded
          type: string
        is_disputed:
          description: Indicates if the account order currently has an active dispute case
          type: boolean
        dispute_case_id:
          description: >-
            Identifier of the active dispute case for this account order, or
            null if not disputed
          type: integer
          nullable: true
        delivery_time:
          $ref: '#/components/schemas/DeliveryTime'
        is_manual_delivery:
          description: Indicates if the account requires manual delivery by seller
          type: boolean
        credentials:
          description: Account credentials provided to buyer after purchase
          type: string
          nullable: true
        delivery_instructions:
          description: >-
            Special instructions for account delivery, provided to buyer after
            purchase
          type: string
          nullable: true
        price:
          description: Order price in EUR currency
          type: string
        price_usd:
          description: Order price converted to USD using current exchange rates
          type: string
        image_urls:
          description: Array of image URLs showcasing the account
          type: array
          items:
            type: string
        created_at:
          description: Unix timestamp when the account order was created
          type: integer
        updated_at:
          description: Unix timestamp of the last modification to the account order
          type: integer
        purchased_at:
          description: Unix timestamp when the account order was purchased
          type: integer
          nullable: true
        completed_at:
          description: Unix timestamp when the account order was completed
          type: integer
          nullable: true
        refunded_at:
          description: Unix timestamp when the account order was refunded
          type: integer
          nullable: true
    GameRelation:
      description: Basic game information used in relations
      type: object
      properties:
        id:
          description: Unique identifier for the game
          type: integer
        name:
          description: Display name of the game
          type: string
        slug:
          description: URL-friendly identifier for the game
          type: string
    Buyer:
      description: Buyer information for an order
      type: object
      properties:
        id:
          description: Unique identifier for the buyer
          type: integer
        username:
          description: Censored username of the buyer
          type: string
    Rating:
      description: Rating object representing feedback from a buyer
      type: object
      properties:
        id:
          description: Unique identifier for the rating
          type: integer
        labels:
          description: Array of predefined label names that categorize the rating feedback
          type: array
          items:
            type: string
          nullable: true
        rating:
          description: Rating value (0=negative, 1=positive)
          type: integer
        comment:
          description: Rating comment text
          type: string
        created_at:
          description: Unix timestamp when the rating was created
          type: integer
        updated_at:
          description: Unix timestamp of the last modification to the rating
          type: integer
    DeliveryTime:
      description: Delivery time object representing expected delivery duration
      type: object
      properties:
        duration:
          description: Numeric value representing the delivery time
          type: integer
        unit:
          description: Time unit for the duration (minutes, hours, days)
          enum:
            - minutes
            - hours
            - days
          type: string
        format:
          description: Human-readable delivery time (e.g., "2 hr")
          type: string
        format_long:
          description: Extended format delivery time (e.g., "2 hours")
          type: string
        seconds:
          description: Total delivery time converted to seconds
          type: integer
  responses:
    ErrorUnauthenticated:
      description: >-
        User is not authenticated, happens when the API key is missing, expired
        or invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Unauthenticated.
    ErrorForbidden:
      description: >-
        User is not authorized to perform this action, happens when you try to
        access a resource you do not have permission to access
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: This action is unauthorized.
    ErrorNotFound:
      description: Resource not found, happens when the requested resource does not exist
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Resource not found.
    ErrorValidation:
      description: Validation errors, happens when the request data is invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: The given data was invalid.
              errors:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
                example:
                  field:
                    - Something is wrong with this field!
    ErrorRateLimited:
      description: >-
        Rate limit exceeded, happens when you exceed the rate limit for the
        endpoint
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Too many requests.
  securitySchemes:
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````