Commet
  • Precios
Iniciar SesiónRegistrarse
Add a payout bank account POSTComplete payout verification POSTRequest a payout POST
DocumentaciónRecursosConstruir con AIAPI ReferenceWebhooks

Add a payout bank account

Add an additional destination bank account to the organization's existing payout account. Country and currency are resolved from the organization. The full account number is never returned — only `last4`.

Update invoice status PUT

Mark an outstanding invoice as "paid" or "void". Cannot change the status of already paid or voided invoices.

Complete payout verification POST

Provision the organization's payout account in a single call with the full KYC + bank payload. Uploads the identity document, persists the destination bank, and creates the connected account through the org's payout provider. The account starts `pending_verification` and flips to `verified` via the provider's webhook. Idempotent: returns the existing account if the org already has one.

POST
/payouts/bank-accounts

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

accountNumber*string
1 <= length
accountHolderName*string
1 <= length
routingNumber?string
accountType?string
"checking" | "savings"
setDefault?boolean
false
Length
Length
Value in
Default

Response Body

application/json

curl -X POST "https://commet.co/api/v1/payouts/bank-accounts" \  -H "Content-Type: application/json" \  -d '{    "accountNumber": "string",    "accountHolderName": "string"  }'

application/json

application/json

application/json

Add an additional destination bank account to the organization's existing payout account. Country and currency are resolved from the organization. The full account number is never returned — only last4.

{
  "success": true,
  "data": {
    "object": "payout_bank_account",
    "livemode": true,
    "id": "string",
    "providerExternalAccountId": "string",
    "holderName": "string",
    "last4": "string",
    "bankName": "string",







{
  "success": false,
  "error": {
    "type": "validation_error",
    "code": "string",
    "message": "string",
    "doc_url": "string",
    "param": "string"
  }
}
{
  "success": false,
  "error": {
    "type": "validation_error",
    "code": "string",
    "message": "string",
    "doc_url": "string",
    "param": "string"
  }
}
{
  "success": false,
  "error": {
    "type": "validation_error",
    "code": "string",
    "message": "string",
    "doc_url": "string",
    "param": "string"
  }
}
"country"
:
"string"
,
"currency": "string",
"accountType": "checking",
"isDefault": true,
"status": "active",
"createdAt": "2019-08-24T14:15:22Z"
}
}