---
updatedAt: 2025-06-28T06:32:15.000Z
agentTools:
  projectIndex: https://docs.acquired.com/llms.txt
---

# Create a payee

Create a new payee that will be stored against the customer profile. The response contains a unique `payee_id`, which can then be used in the Process a Payout request.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "version": "0.0.9",
    "title": "Acquired API",
    "description": "Specification for the Acquired change",
    "contact": {
      "name": "Acquired",
      "url": "https://acquired.com",
      "email": "support@acquired.com"
    }
  },
  "servers": [
    {
      "url": "https://test-api.acquired.com/v1",
      "description": "Test"
    },
    {
      "url": "https://api.acquired.com/v1",
      "description": "Production"
    }
  ],
  "x-readme": {
    "explorer-enabled": false
  },
  "paths": {
    "/customers/{customer_id}/payees": {
      "post": {
        "summary": "Create a payee",
        "description": "Create a new payee that will be stored against the customer profile. The response contains a unique `payee_id`, which can then be used in the Process a Payout request.",
        "security": [
          {
            "token": []
          }
        ],
        "operationId": "create-payee",
        "tags": [
          "Payouts"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/customerIdPath"
          },
          {
            "in": "header",
            "name": "Company-Id",
            "description": "Unique ID assigned by Acquired.com for your company.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Mid",
            "in": "header",
            "description": "Unique ID assigned by Acquired.com connecting to a specific acquiring bank.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sort_code": {
                    "type": "string",
                    "description": "The sort code of the customer's bank account.",
                    "maxLength": 6,
                    "pattern": "^[0-9]{1,6}$",
                    "example": "010203"
                  },
                  "account_number": {
                    "type": "string",
                    "description": "The customer's bank account number.",
                    "maxLength": 8,
                    "pattern": "^[0-9]{1,6}$",
                    "example": "12345678"
                  },
                  "account_name": {
                    "type": "string",
                    "description": "The account holder's name, as it appears on their bank account.",
                    "minLength": 1,
                    "maxLength": 50,
                    "pattern": "^[a-zA-Z.\\- '&]*$",
                    "example": "MR E JOHNSON"
                  }
                },
                "required": [
                  "sort_code",
                  "account_number",
                  "account_name"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "headers": {
              "Company-Id": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "Mid": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "success"
                      ],
                      "example": "success"
                    },
                    "payee_id": {
                      "type": "string",
                      "description": "Unique identifier assigned by Acquired.com for the payee record.",
                      "format": "uuid",
                      "example": "4ebc5489-7b9f-4324-983e-07d4b2b00035"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "An error occurred",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http400"
                }
              }
            }
          },
          "401": {
            "description": "An error occurred",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http401"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http500"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "customerIdPath": {
        "name": "customer_id",
        "in": "path",
        "description": "Unique ID assigned by Acquired.com for the customer.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "schemas": {
      "http400": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "The current status of the request.",
            "example": "error"
          },
          "error_type": {
            "type": "string",
            "description": "The type of error returned.",
            "enum": [
              "validation"
            ]
          },
          "title": {
            "type": "string",
            "description": "A human-readable message that provides more detail about the error.",
            "example": "Your request parameters did not pass our validation."
          },
          "instance": {
            "type": "string",
            "description": "Indicates where the error occurred."
          },
          "invalid_parameters": {
            "type": "array",
            "uniqueItems": true,
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "parameter": {
                  "type": "string",
                  "description": "Details the parameters where the error has occurred."
                },
                "reason": {
                  "type": "string",
                  "description": "Gives detail as to what is causing the error within the parameters."
                }
              }
            }
          }
        }
      },
      "http401": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "The current status of the request.",
            "example": "error"
          },
          "error_type": {
            "type": "string",
            "description": "The type of error returned.",
            "enum": [
              "unauthorized"
            ]
          },
          "title": {
            "type": "string",
            "description": "A human-readable message that provides more detail about the error.",
            "example": "Authentication with the API failed, please check your details and try again."
          },
          "instance": {
            "type": "string",
            "description": "Indicates where the error occurred.",
            "example": "/v1/login"
          }
        }
      },
      "http500": {
        "type": "object",
        "properties": {
          "transaction_id": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "type": "string",
            "description": "The current status of the request.",
            "example": "error"
          },
          "error_type": {
            "type": "string",
            "description": "The type of error returned.",
            "enum": [
              "server_error",
              "failure"
            ]
          },
          "title": {
            "type": "string",
            "description": "A human-readable message that provides more detail about the error.",
            "example": "An error occurred, we are investigating the reason."
          },
          "instance": {
            "type": "string",
            "description": "Indicates where the error occurred.",
            "example": "/v1/payments"
          }
        }
      }
    },
    "securitySchemes": {
      "token": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
```