openapi: 3.2.0 info: title: Cacheflow Transfers API version: 0.0.3 servers: - url: https://api.getcacheflow.com description: 'Production. Calls are tenant-routed: send Host: .api.getcacheflow.com (per github.com/getcacheflow/api-examples SETUP.md). Host no longer resolves as of 2026-08-13.' - url: https://api.sandbox.getcacheflow.com description: Sandbox. Tenant-routed as .api.sandbox.getcacheflow.com. Host no longer resolves as of 2026-08-13. tags: - name: Transfers paths: /api/latest/data/transfers/{transfer_id}/activity: get: tags: - Transfers summary: List activity for a transfer operationId: listTransferActivity parameters: - name: transfer_id in: path required: true schema: type: string format: uuid responses: '200': description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/ActivityEvent' /api/latest/data/transfer-events/{id}: get: tags: - Transfers summary: Retrieve a transfer event operationId: getTransferEvent parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/TransferEvent' /api/latest/data/transfers/{transfer_id}/events: get: tags: - Transfers summary: List events for a transfer operationId: listTransferEvents parameters: - name: transfer_id in: path required: true schema: type: string format: uuid responses: '200': description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/TransferEvent' post: tags: - Transfers summary: Create a transfer event operationId: createTransferEvent parameters: - name: transfer_id in: path required: true schema: type: string format: uuid requestBody: content: application/json: schema: $ref: '#/components/schemas/TransferEvent' responses: '201': description: OK content: application/json: schema: $ref: '#/components/schemas/TransferEvent' /api/latest/data/transfer-requests: get: tags: - Transfers summary: List transfers operationId: getTransactionRequestByStatus parameters: - name: orgId in: query schema: type: string format: uuid - name: filterBy in: query schema: type: string responses: '201': description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/TransferRequest' post: tags: - Transfers summary: Create a transfer request operationId: createTransferRequests parameters: - name: dueDate in: query schema: type: string - name: orgId in: query schema: type: string format: uuid responses: '201': description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/TransferRequest' /api/latest/data/transfer-requests/{transfer-id}/trigger: get: tags: - Transfers summary: Retrieve a transfer trigger operationId: triggerTransferRequest parameters: - name: transfer-id in: path required: true schema: type: string format: uuid responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/TransferRequest' deprecated: true put: tags: - Transfers summary: Retry a transfer operationId: retryTransfer parameters: - name: transfer-id in: path required: true schema: type: string format: uuid responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/TransferRequest' /api/latest/data/transfers/{id}: get: tags: - Transfers summary: Retrieve a transfer operationId: getTransfer parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Transaction' components: schemas: ReferenceKey: type: object properties: referenceType: type: string enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user referenceId: type: string format: uuid Address: type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string updatedAt: type: string format: date-time readOnly: true updatedBy: type: string readOnly: true name: type: string type: type: string streetAddress: type: string subAddress: type: string otherAddress: type: string city: type: string region: type: string regionIso: type: string postalCode: type: string country: type: string countryIso: type: string verifiedAt: type: string format: date-time ActivityEvent: type: object properties: id: type: string format: uuid actor: $ref: '#/components/schemas/ActivityActor' eventType: type: string enum: - transfer - integration - notification - record_changed - created eventCode: type: string details: $ref: '#/components/schemas/ActivityDetails' createdAt: type: string format: date-time AccountSource: type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string updatedAt: type: string format: date-time readOnly: true updatedBy: type: string readOnly: true itemId: type: string sourceId: type: string sourceStatus: type: string sourceToken: type: string accountSource: type: string enum: - manual - close - plaid - stripe - hubspot - salesforce - avalara - quickbooks - profitwell - netsuite - google - warmly - zapier - cacheflow_checkout accountId: type: string format: uuid vaultItemToken: type: string ActivityActor: type: object properties: id: type: string format: uuid name: type: string system: type: boolean identifier: type: string ObjectReference: type: object properties: referenceType: type: string enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user id: type: string format: uuid uri: type: string name: type: string type: type: string writeOnly: true enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user TransferRequest: type: object properties: requestId: type: string externalId: type: string externalSource: type: string enum: - plaid - stripe - manual paymentMethod: $ref: '#/components/schemas/PaymentMethod' transferId: type: string format: uuid orgId: type: string format: uuid referenceId: type: string format: uuid referenceType: type: string enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user toAccountId: type: string format: uuid fromAccountId: type: string format: uuid toLegalName: type: string fromLegalName: type: string currency: type: string amount: type: integer format: int64 status: type: string enum: - pending - in_progress - failed - posted - cancelled - declined - reversed - receiver_pending - receiver_posted type: type: string enum: - DEBIT - CREDIT toAccountSources: type: array items: $ref: '#/components/schemas/AccountSource' fromAccountSources: type: array items: $ref: '#/components/schemas/AccountSource' toCustomerSources: type: array items: $ref: '#/components/schemas/ConnectedEntitySource' fromCustomerSources: type: array items: $ref: '#/components/schemas/ConnectedEntitySource' paymentType: type: string enum: - ach - cc - check - custom - direct_debit - wire - external - manual parentExternalId: type: string TransferEvent: required: - amount - currency - processedAt - processor - status type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string reason: type: string processedAt: type: string format: date-time referenceNumber: type: string externalId: type: string currency: type: string amount: type: integer format: int64 paymentType: type: string enum: - ach - cc - check - custom - direct_debit - wire - external - manual transfer: $ref: '#/components/schemas/Transfer' status: type: string enum: - pending - in_progress - failed - posted - cancelled - declined - reversed - receiver_pending - receiver_posted processor: type: string enum: - plaid - stripe - manual processorCode: type: string correlationRef: type: string instanceRef: type: string transferReference: $ref: '#/components/schemas/ObjectReference' amountFormatted: type: string Transfer: required: - amount - currency type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string updatedAt: type: string format: date-time readOnly: true updatedBy: type: string readOnly: true processedAt: type: string format: date-time externalId: type: string currency: type: string amount: type: integer format: int64 paidAmount: type: integer format: int64 fromAccount: $ref: '#/components/schemas/Account' referenceTransferId: type: string format: uuid fromAccountId: type: string format: uuid writeOnly: true toAccount: $ref: '#/components/schemas/Account' toAccountId: type: string format: uuid writeOnly: true reason: type: string parentReferenceId: type: string format: uuid parentReferenceType: type: string enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user status: type: string enum: - pending - in_progress - failed - posted - cancelled - declined - reversed - receiver_pending - receiver_posted type: type: string enum: - DEBIT - CREDIT processor: type: string enum: - plaid - stripe - manual paymentType: type: string deprecated: true enum: - ach - cc - check - custom - direct_debit - wire - external - manual category: type: string enum: - FEE - PAYMENT - PAYOUT - REFUND - ADJUSTMENT reasonCode: type: string enum: - invalid_account - insufficient_funds - flagged_account - region_not_supported - invalid_address - requires_buyer_approval - transaction_failure paymentMethod: $ref: '#/components/schemas/PaymentMethod' achType: type: string enum: - arc - cbr - ccd - cie - cor - ctx - iat - mte - pbr - pop - pos - ppd - rck - tel - web failures: type: integer format: int32 retryAt: type: string format: date-time referenceNumber: type: string referenceType: type: string enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user paidAmountFormatted: type: string amountFormatted: type: string deleted: type: boolean ActivityDetails: title: ActivityDetails type: object properties: message: type: string type: type: string enum: - base - transaction - notification - integration - field_changes discriminator: propertyName: type mapping: transaction: '#/components/schemas/TransactionActivityDetails' integration: '#/components/schemas/SyncActivityDetails' field_changes: '#/components/schemas/FieldChangeActivityDetails' notification: '#/components/schemas/NotificationActivityDetails' ConnectedEntitySource: type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string updatedAt: type: string format: date-time readOnly: true updatedBy: type: string readOnly: true sourceId: type: string sourceStatus: type: string sourceType: type: string enum: - manual - close - plaid - stripe - hubspot - salesforce - avalara - quickbooks - profitwell - netsuite - google - warmly - zapier - cacheflow_checkout data: type: object additionalProperties: type: object referenceKey: $ref: '#/components/schemas/ReferenceKey' referenceDeletedAt: type: string format: date-time PaymentMethod: type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string updatedAt: type: string format: date-time readOnly: true updatedBy: type: string readOnly: true name: type: string internalName: type: string description: type: string enabled: type: boolean configured: type: boolean managed: type: boolean billingPeriods: type: array items: type: string enum: - month - quarter - halfyear - year account: $ref: '#/components/schemas/Account' accountId: type: string format: uuid paymentType: type: string enum: - ach - cc - check - custom - direct_debit - wire - external - manual customText: type: string configuration: type: object additionalProperties: type: object processor: type: string enum: - plaid - stripe - manual activePaymentMethod: type: boolean referenceType: type: string enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user deleted: type: boolean Account: type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string updatedAt: type: string format: date-time readOnly: true updatedBy: type: string readOnly: true address: $ref: '#/components/schemas/Address' institutionName: type: string name: type: string type: type: string enum: - depository - credit - manual - external subtype: type: string mask: type: string legalName: type: string currency: type: string ownerType: type: string routingNumber: type: string accountNumber: type: string wireNumber: type: string expMonth: type: integer format: int32 expYear: type: integer format: int32 cvv: type: integer format: int32 bic: type: string iban: type: string sortCode: type: string institutionNumber: type: string transitNumber: type: string verificationLink: type: string mandateId: type: string Transaction: type: object properties: id: type: string format: uuid createdAt: type: string format: date-time processedAt: type: string format: date-time currency: type: string amount: type: integer format: int64 status: type: string enum: - pending - in_progress - failed - posted - cancelled - declined - reversed - receiver_pending - receiver_posted type: type: string enum: - DEBIT - CREDIT processor: type: string enum: - plaid - stripe - manual fromAccount: $ref: '#/components/schemas/Account' toAccount: $ref: '#/components/schemas/Account' paymentMethod: $ref: '#/components/schemas/PaymentMethod' reason: type: string referenceId: type: string format: uuid deprecated: true altReferenceId: type: string format: uuid deprecated: true referenceType: type: string deprecated: true enum: - account - apiwebhook - apitoken - approvalgroup - attachmentconfig - authidentity - billingschedule - companyInfo - connectorSyncEvent - contact - contentTemplate - contract - contractitem - contractitemlevel - currency - customer - docusignaccount - document - documentversion - group - invite - invoice - invoiceConfiguration - organization - orgconfig - orgidentitytoken - payment - paymentMethod - paymentSchedule - paymentTerm - pricebook - pricebookentry - product - productlevel - productusage - proposal - proposalapprovalrule - proposalevent - proposalitem - proposaliteminterval - proposalitemlevel - proposaloption - refund - renewalconfiguration - signature - signingdocument - transfer - transferevent - unit - user statementDate: type: string format: date toName: type: string fromName: type: string parentId: type: string format: uuid category: type: string enum: - FEE - PAYMENT - PAYOUT - REFUND - ADJUSTMENT referenceNumber: type: string externalId: type: string amountFormatted: type: string