---
updatedAt: 2026-05-14T14:32:15.000Z
agentTools:
  projectIndex: https://docs.oysterhr.com/v0.1/llms.txt
---

# Confirm wire sent

Confirm a wire was sent for a charge group

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Endpoints",
    "version": "v0.1"
  },
  "components": {
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "amount": {
        "type": "object",
        "properties": {
          "decimal": {
            "type": "string",
            "pattern": "^\\d+([.]\\d+)?$"
          },
          "currencyCode": {
            "type": "string",
            "minLength": 3,
            "maxLength": 3
          }
        },
        "required": [
          "decimal",
          "currencyCode"
        ]
      },
      "paymentsGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "referenceCode": {
            "type": "string"
          },
          "itemsCount": {
            "type": "integer"
          },
          "state": {
            "type": "string",
            "enum": [
              "PENDING",
              "WIRE_SENT",
              "PAID",
              "PROCESSING"
            ]
          },
          "amount": {
            "$ref": "#/components/schemas/amount"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "wireSentAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paidAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "required": [
          "id",
          "referenceCode",
          "itemsCount",
          "state",
          "amount",
          "createdAt",
          "wireSentAt",
          "paidAt"
        ]
      },
      "errors": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "message"
              ]
            }
          }
        },
        "required": [
          "errors"
        ]
      }
    }
  },
  "paths": {
    "/v0.1/payments/charge_groups/{id}/wire_sent": {
      "post": {
        "summary": "Confirm wire sent",
        "tags": [
          "Payments"
        ],
        "description": "Confirm a wire was sent for a charge group",
        "security": [
          {
            "bearer_auth": [
              "manage"
            ]
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Charge group ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful",
            "content": {
              "application/json": {
                "examples": {
                  "Successful": {
                    "value": {
                      "data": {
                        "id": "Acf02f3d",
                        "referenceCode": "OY-COMP-Acf02f3d-Gr-0000001",
                        "itemsCount": 3,
                        "state": "WIRE_SENT",
                        "amount": {
                          "decimal": "242.28",
                          "currencyCode": "USD"
                        },
                        "createdAt": "2022-10-15T12:34:56Z",
                        "wireSentAt": "2023-10-01T12:00:00Z",
                        "paidAt": null
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/paymentsGroup"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          },
          "422": {
            "description": "Operation cannot be performed",
            "content": {
              "application/json": {
                "examples": {
                  "Operation cannot be performed": {
                    "value": {
                      "errors": [
                        {
                          "message": "Charge group is not in pending state, It cannot be changed to wire sent."
                        }
                      ]
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/errors"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "wireSentAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "The date and time when the wire transfer was sent, in ISO 8601 format",
                    "example": "2023-10-01T12:00:00Z"
                  }
                },
                "required": [
                  "wireSentAt"
                ]
              },
              "examples": {
                "Successful": {
                  "summary": "Successful",
                  "value": {
                    "wire_sent_at": "2023-10-01T12:00:00Z"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.oysterhr.com",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.oysterhr.com",
      "description": "Sandbox server"
    }
  ]
}
```