---
updatedAt: 2026-06-30T16:05:21.000Z
agentTools:
  projectIndex: https://docs.pelcro.com/llms.txt
---

# Update vendor payout detail

Update a vendor's payout detail.

## Overview

Update a vendor's payout detail (bank account information). All fields are optional.

**Example:** Update a vendor's bank account holder name or switch from checking to savings.

***

## Important Behaviors

* **Routing number validation**: If provided, must be exactly 9 digits and pass ABA checksum validation.
* **Masked in responses**: Routing and account numbers are always masked in responses (last 4 digits only).
* **Audit logged**: All changes are recorded in the audit log.
* **Webhook**: Triggers the `vendor_payout_detail.updated` webhook event.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "core-api",
    "version": "1.88"
  },
  "servers": [
    {
      "url": "https://www.pelcro.com/api/v1/core"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      },
      "sec1": {
        "type": "apiKey",
        "in": "query",
        "name": "site_id"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/vendors/payout-details/{id}": {
      "put": {
        "description": "Update a vendor's payout detail.",
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": {\n    \"id\": 1,\n    \"vendor_id\": 50,\n    \"account_id\": 100,\n    \"account_holder_name\": \"Jane Smith\",\n    \"bank_name\": \"Chase\",\n    \"routing_number\": \"****0021\",\n    \"account_number\": \"****7890\",\n    \"account_type\": \"checking\",\n    \"currency\": \"usd\",\n    \"country\": \"US\",\n    \"payout_method_status\": \"enabled\",\n    \"vendor_internal_identifier\": \"V0000000050\",\n    \"transaction_type\": \"credit\",\n    \"authorization_status\": \"authorized\",\n    \"authorization_timestamp\": 1650974100,\n    \"authorization_method\": \"electronic\",\n    \"authorized_by\": 42,\n    \"is_payout_ready\": true,\n    \"created_at\": 1650974042,\n    \"updated_at\": 1650974042\n  },\n  \"status\": \"success\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "error": {
                        "status": 400,
                        "message": "Invalid request, please try again."
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "error": "Unauthenticated."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "error": {
                        "status": 404,
                        "message": "Not found."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The payout detail ID.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "site_id",
            "in": "query",
            "description": "The unique identifier of the site associated with your account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Bearer eyJ***"
            }
          }
        ],
        "operationId": "put_vendors-payout-details-id",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "account_holder_name": {
                    "type": "string",
                    "maxLength": 255,
                    "description": "Name on the bank account."
                  },
                  "bank_name": {
                    "type": "string",
                    "nullable": true,
                    "maxLength": 255,
                    "description": "Name of the bank."
                  },
                  "routing_number": {
                    "type": "string",
                    "minLength": 9,
                    "maxLength": 9,
                    "pattern": "^[0-9]{9}$",
                    "description": "9-digit ABA routing number."
                  },
                  "account_number": {
                    "type": "string",
                    "minLength": 4,
                    "maxLength": 17,
                    "description": "Bank account number. 4 to 17 digits.",
                    "pattern": "^[0-9]{4,17}$"
                  },
                  "account_type": {
                    "type": "string",
                    "enum": [
                      "checking",
                      "savings"
                    ],
                    "description": "Bank account type."
                  },
                  "currency": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 3,
                    "description": "3-letter currency code."
                  },
                  "country": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 2,
                    "description": "2-letter country code."
                  },
                  "payout_method_status": {
                    "type": "string",
                    "enum": [
                      "enabled",
                      "disabled"
                    ],
                    "description": "Payout method status."
                  },
                  "authorization_method": {
                    "type": "string",
                    "nullable": true,
                    "enum": [
                      "written",
                      "electronic"
                    ],
                    "description": "Authorization method."
                  }
                }
              }
            }
          }
        },
        "summary": "Update vendor payout detail"
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```