naftiko: 1.0.0-alpha2 info: label: Stripe Treasury API — Treasury description: 'Stripe Treasury API — Treasury. 32 operations. Lead operation: Treasury. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Treasury created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: treasury-treasury-2 baseUri: https://api.stripe.com description: Stripe Treasury API — Treasury business capability. Self-contained, no shared references. resources: - name: v1-treasury-credit_reversals path: /v1/treasury/credit_reversals operations: - name: gettreasurycreditreversals method: GET description:

Returns a list of CreditReversals.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: Returns objects associated with this FinancialAccount. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: received_credit in: query type: string description: Only return CreditReversals for the ReceivedCredit ID. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: Only return CreditReversals for a given status. - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasurycreditreversals method: POST description:

Reverses a ReceivedCredit and creates a CreditReversal object.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-treasury-credit_reversals-credit_reversal path: /v1/treasury/credit_reversals/{credit_reversal} operations: - name: gettreasurycreditreversalscreditreversal method: GET description:

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: credit_reversal in: path type: string required: true - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-debit_reversals path: /v1/treasury/debit_reversals operations: - name: gettreasurydebitreversals method: GET description:

Returns a list of DebitReversals.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: Returns objects associated with this FinancialAccount. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: received_debit in: query type: string description: Only return DebitReversals for the ReceivedDebit ID. - name: resolution in: query type: string description: Only return DebitReversals for a given resolution. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: Only return DebitReversals for a given status. - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasurydebitreversals method: POST description:

Reverses a ReceivedDebit and creates a DebitReversal object.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-treasury-debit_reversals-debit_reversal path: /v1/treasury/debit_reversals/{debit_reversal} operations: - name: gettreasurydebitreversalsdebitreversal method: GET description:

Retrieves a DebitReversal object.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: debit_reversal in: path type: string required: true - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-financial_accounts path: /v1/treasury/financial_accounts operations: - name: gettreasuryfinancialaccounts method: GET description:

Returns a list of FinancialAccounts.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: created in: query type: string - name: ending_before in: query type: string description: An object ID cursor for use in pagination. - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: limit in: query type: integer description: A limit ranging from 1 to 100 (defaults to 10). - name: starting_after in: query type: string description: An object ID cursor for use in pagination. - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasuryfinancialaccounts method: POST description:

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-treasury-financial_accounts-financial_account path: /v1/treasury/financial_accounts/{financial_account} operations: - name: gettreasuryfinancialaccountsfinancialaccount method: GET description:

Retrieves the details of a FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasuryfinancialaccountsfinancialaccount method: POST description:

Updates the details of a FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: financial_account in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-financial_accounts-financial_account-features path: /v1/treasury/financial_accounts/{financial_account}/features operations: - name: gettreasuryfinancialaccountsfinancialaccountfeatures method: GET description:

Retrieves Features information associated with the FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasuryfinancialaccountsfinancialaccountfeatures method: POST description:

Updates the Features associated with a FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: financial_account in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-inbound_transfers path: /v1/treasury/inbound_transfers operations: - name: gettreasuryinboundtransfers method: GET description:

Returns a list of InboundTransfers sent from the specified FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: Returns objects associated with this FinancialAccount. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: 'Only return InboundTransfers that have the given status: `processing`, `succeeded`, `failed` or `canceled`.' - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasuryinboundtransfers method: POST description:

Creates an InboundTransfer.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-treasury-inbound_transfers-id path: /v1/treasury/inbound_transfers/{id} operations: - name: gettreasuryinboundtransfersid method: GET description:

Retrieves the details of an existing InboundTransfer.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-inbound_transfers-inbound_transfer-cancel path: /v1/treasury/inbound_transfers/{inbound_transfer}/cancel operations: - name: posttreasuryinboundtransfersinboundtransfercancel method: POST description:

Cancels an InboundTransfer.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: inbound_transfer in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-outbound_payments path: /v1/treasury/outbound_payments operations: - name: gettreasuryoutboundpayments method: GET description:

Returns a list of OutboundPayments sent from the specified FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer in: query type: string description: Only return OutboundPayments sent to this customer. - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: Returns objects associated with this FinancialAccount. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: 'Only return OutboundPayments that have the given status: `processing`, `failed`, `posted`, `returned`, or `canceled`.' - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasuryoutboundpayments method: POST description:

Creates an OutboundPayment.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-treasury-outbound_payments-id path: /v1/treasury/outbound_payments/{id} operations: - name: gettreasuryoutboundpaymentsid method: GET description:

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-outbound_payments-id-cancel path: /v1/treasury/outbound_payments/{id}/cancel operations: - name: posttreasuryoutboundpaymentsidcancel method: POST description:

Cancel an OutboundPayment.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-outbound_transfers path: /v1/treasury/outbound_transfers operations: - name: gettreasuryoutboundtransfers method: GET description:

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: Returns objects associated with this FinancialAccount. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: 'Only return OutboundTransfers that have the given status: `processing`, `canceled`, `failed`, `posted`, or `returned`.' - name: body in: body type: object description: Request body (JSON). required: false - name: posttreasuryoutboundtransfers method: POST description:

Creates an OutboundTransfer.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-treasury-outbound_transfers-outbound_transfer path: /v1/treasury/outbound_transfers/{outbound_transfer} operations: - name: gettreasuryoutboundtransfersoutboundtransfer method: GET description:

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: outbound_transfer in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-outbound_transfers-outbound_transfer-cancel path: /v1/treasury/outbound_transfers/{outbound_transfer}/cancel operations: - name: posttreasuryoutboundtransfersoutboundtransfercancel method: POST description:

An OutboundTransfer can be canceled if the funds have not yet been paid out.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: outbound_transfer in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-received_credits path: /v1/treasury/received_credits operations: - name: gettreasuryreceivedcredits method: GET description:

Returns a list of ReceivedCredits.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: The FinancialAccount that received the funds. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: linked_flows in: query type: object description: Only return ReceivedCredits described by the flow. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: 'Only return ReceivedCredits that have the given status: `succeeded` or `failed`.' - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-received_credits-id path: /v1/treasury/received_credits/{id} operations: - name: gettreasuryreceivedcreditsid method: GET description:

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-received_debits path: /v1/treasury/received_debits operations: - name: gettreasuryreceiveddebits method: GET description:

Returns a list of ReceivedDebits.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: The FinancialAccount that funds were pulled from. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: 'Only return ReceivedDebits that have the given status: `succeeded` or `failed`.' - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-received_debits-id path: /v1/treasury/received_debits/{id} operations: - name: gettreasuryreceiveddebitsid method: GET description:

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-transaction_entries path: /v1/treasury/transaction_entries operations: - name: gettreasurytransactionentries method: GET description:

Retrieves a list of TransactionEntry objects.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: created in: query type: string - name: effective_at in: query type: string - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: Returns objects associated with this FinancialAccount. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: order_by in: query type: string description: The results are in reverse chronological order by `created` or `effective_at`. The default is `created`. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: transaction in: query type: string description: Only return TransactionEntries associated with this Transaction. - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-transaction_entries-id path: /v1/treasury/transaction_entries/{id} operations: - name: gettreasurytransactionentriesid method: GET description:

Retrieves a TransactionEntry object.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-transactions path: /v1/treasury/transactions operations: - name: gettreasurytransactions method: GET description:

Retrieves a list of Transaction objects.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: created in: query type: string - name: ending_before in: query type: string description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 ob - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: financial_account in: query type: string description: Returns objects associated with this FinancialAccount. required: true - name: limit in: query type: integer description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - name: order_by in: query type: string description: The results are in reverse chronological order by `created` or `posted_at`. The default is `created`. - name: starting_after in: query type: string description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 o - name: status in: query type: string description: 'Only return Transactions that have the given status: `open`, `posted`, or `void`.' - name: status_transitions in: query type: object description: A filter for the `status_transitions.posted_at` timestamp. When using this filter, `status=posted` and `order_by=posted_at` must also be specified. - name: body in: body type: object description: Request body (JSON). required: false - name: v1-treasury-transactions-id path: /v1/treasury/transactions/{id} operations: - name: gettreasurytransactionsid method: GET description:

Retrieves the details of an existing Transaction.

outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.STRIPE_API_KEY}}' exposes: - type: rest namespace: treasury-treasury-2-rest port: 8080 description: REST adapter for Stripe Treasury API — Treasury. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/treasury/credit-reversals name: v1-treasury-credit-reversals description: REST surface for v1-treasury-credit_reversals. operations: - method: GET name: gettreasurycreditreversals description:

Returns a list of CreditReversals.

call: treasury-treasury-2.gettreasurycreditreversals with: ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit received_credit: rest.received_credit starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasurycreditreversals description:

Reverses a ReceivedCredit and creates a CreditReversal object.

call: treasury-treasury-2.posttreasurycreditreversals with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/credit-reversals/{credit-reversal} name: v1-treasury-credit-reversals-credit-reversal description: REST surface for v1-treasury-credit_reversals-credit_reversal. operations: - method: GET name: gettreasurycreditreversalscreditreversal description:

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

call: treasury-treasury-2.gettreasurycreditreversalscreditreversal with: credit_reversal: rest.credit_reversal expand: rest.expand body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/debit-reversals name: v1-treasury-debit-reversals description: REST surface for v1-treasury-debit_reversals. operations: - method: GET name: gettreasurydebitreversals description:

Returns a list of DebitReversals.

call: treasury-treasury-2.gettreasurydebitreversals with: ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit received_debit: rest.received_debit resolution: rest.resolution starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasurydebitreversals description:

Reverses a ReceivedDebit and creates a DebitReversal object.

call: treasury-treasury-2.posttreasurydebitreversals with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/debit-reversals/{debit-reversal} name: v1-treasury-debit-reversals-debit-reversal description: REST surface for v1-treasury-debit_reversals-debit_reversal. operations: - method: GET name: gettreasurydebitreversalsdebitreversal description:

Retrieves a DebitReversal object.

call: treasury-treasury-2.gettreasurydebitreversalsdebitreversal with: debit_reversal: rest.debit_reversal expand: rest.expand body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/financial-accounts name: v1-treasury-financial-accounts description: REST surface for v1-treasury-financial_accounts. operations: - method: GET name: gettreasuryfinancialaccounts description:

Returns a list of FinancialAccounts.

call: treasury-treasury-2.gettreasuryfinancialaccounts with: created: rest.created ending_before: rest.ending_before expand: rest.expand limit: rest.limit starting_after: rest.starting_after body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasuryfinancialaccounts description:

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

call: treasury-treasury-2.posttreasuryfinancialaccounts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/financial-accounts/{financial-account} name: v1-treasury-financial-accounts-financial-account description: REST surface for v1-treasury-financial_accounts-financial_account. operations: - method: GET name: gettreasuryfinancialaccountsfinancialaccount description:

Retrieves the details of a FinancialAccount.

call: treasury-treasury-2.gettreasuryfinancialaccountsfinancialaccount with: expand: rest.expand financial_account: rest.financial_account body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasuryfinancialaccountsfinancialaccount description:

Updates the details of a FinancialAccount.

call: treasury-treasury-2.posttreasuryfinancialaccountsfinancialaccount with: financial_account: rest.financial_account body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/financial-accounts/{financial-account}/features name: v1-treasury-financial-accounts-financial-account-features description: REST surface for v1-treasury-financial_accounts-financial_account-features. operations: - method: GET name: gettreasuryfinancialaccountsfinancialaccountfeatures description:

Retrieves Features information associated with the FinancialAccount.

call: treasury-treasury-2.gettreasuryfinancialaccountsfinancialaccountfeatures with: expand: rest.expand financial_account: rest.financial_account body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasuryfinancialaccountsfinancialaccountfeatures description:

Updates the Features associated with a FinancialAccount.

call: treasury-treasury-2.posttreasuryfinancialaccountsfinancialaccountfeatures with: financial_account: rest.financial_account body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/inbound-transfers name: v1-treasury-inbound-transfers description: REST surface for v1-treasury-inbound_transfers. operations: - method: GET name: gettreasuryinboundtransfers description:

Returns a list of InboundTransfers sent from the specified FinancialAccount.

call: treasury-treasury-2.gettreasuryinboundtransfers with: ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasuryinboundtransfers description:

Creates an InboundTransfer.

call: treasury-treasury-2.posttreasuryinboundtransfers with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/inbound-transfers/{id} name: v1-treasury-inbound-transfers-id description: REST surface for v1-treasury-inbound_transfers-id. operations: - method: GET name: gettreasuryinboundtransfersid description:

Retrieves the details of an existing InboundTransfer.

call: treasury-treasury-2.gettreasuryinboundtransfersid with: expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/inbound-transfers/{inbound-transfer}/cancel name: v1-treasury-inbound-transfers-inbound-transfer-cancel description: REST surface for v1-treasury-inbound_transfers-inbound_transfer-cancel. operations: - method: POST name: posttreasuryinboundtransfersinboundtransfercancel description:

Cancels an InboundTransfer.

call: treasury-treasury-2.posttreasuryinboundtransfersinboundtransfercancel with: inbound_transfer: rest.inbound_transfer body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/outbound-payments name: v1-treasury-outbound-payments description: REST surface for v1-treasury-outbound_payments. operations: - method: GET name: gettreasuryoutboundpayments description:

Returns a list of OutboundPayments sent from the specified FinancialAccount.

call: treasury-treasury-2.gettreasuryoutboundpayments with: customer: rest.customer ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasuryoutboundpayments description:

Creates an OutboundPayment.

call: treasury-treasury-2.posttreasuryoutboundpayments with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/outbound-payments/{id} name: v1-treasury-outbound-payments-id description: REST surface for v1-treasury-outbound_payments-id. operations: - method: GET name: gettreasuryoutboundpaymentsid description:

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

call: treasury-treasury-2.gettreasuryoutboundpaymentsid with: expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/outbound-payments/{id}/cancel name: v1-treasury-outbound-payments-id-cancel description: REST surface for v1-treasury-outbound_payments-id-cancel. operations: - method: POST name: posttreasuryoutboundpaymentsidcancel description:

Cancel an OutboundPayment.

call: treasury-treasury-2.posttreasuryoutboundpaymentsidcancel with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/outbound-transfers name: v1-treasury-outbound-transfers description: REST surface for v1-treasury-outbound_transfers. operations: - method: GET name: gettreasuryoutboundtransfers description:

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

call: treasury-treasury-2.gettreasuryoutboundtransfers with: ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - method: POST name: posttreasuryoutboundtransfers description:

Creates an OutboundTransfer.

call: treasury-treasury-2.posttreasuryoutboundtransfers with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/outbound-transfers/{outbound-transfer} name: v1-treasury-outbound-transfers-outbound-transfer description: REST surface for v1-treasury-outbound_transfers-outbound_transfer. operations: - method: GET name: gettreasuryoutboundtransfersoutboundtransfer description:

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

call: treasury-treasury-2.gettreasuryoutboundtransfersoutboundtransfer with: expand: rest.expand outbound_transfer: rest.outbound_transfer body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/outbound-transfers/{outbound-transfer}/cancel name: v1-treasury-outbound-transfers-outbound-transfer-cancel description: REST surface for v1-treasury-outbound_transfers-outbound_transfer-cancel. operations: - method: POST name: posttreasuryoutboundtransfersoutboundtransfercancel description:

An OutboundTransfer can be canceled if the funds have not yet been paid out.

call: treasury-treasury-2.posttreasuryoutboundtransfersoutboundtransfercancel with: outbound_transfer: rest.outbound_transfer body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/received-credits name: v1-treasury-received-credits description: REST surface for v1-treasury-received_credits. operations: - method: GET name: gettreasuryreceivedcredits description:

Returns a list of ReceivedCredits.

call: treasury-treasury-2.gettreasuryreceivedcredits with: ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit linked_flows: rest.linked_flows starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/received-credits/{id} name: v1-treasury-received-credits-id description: REST surface for v1-treasury-received_credits-id. operations: - method: GET name: gettreasuryreceivedcreditsid description:

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

call: treasury-treasury-2.gettreasuryreceivedcreditsid with: expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/received-debits name: v1-treasury-received-debits description: REST surface for v1-treasury-received_debits. operations: - method: GET name: gettreasuryreceiveddebits description:

Returns a list of ReceivedDebits.

call: treasury-treasury-2.gettreasuryreceiveddebits with: ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit starting_after: rest.starting_after status: rest.status body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/received-debits/{id} name: v1-treasury-received-debits-id description: REST surface for v1-treasury-received_debits-id. operations: - method: GET name: gettreasuryreceiveddebitsid description:

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

call: treasury-treasury-2.gettreasuryreceiveddebitsid with: expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/transaction-entries name: v1-treasury-transaction-entries description: REST surface for v1-treasury-transaction_entries. operations: - method: GET name: gettreasurytransactionentries description:

Retrieves a list of TransactionEntry objects.

call: treasury-treasury-2.gettreasurytransactionentries with: created: rest.created effective_at: rest.effective_at ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit order_by: rest.order_by starting_after: rest.starting_after transaction: rest.transaction body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/transaction-entries/{id} name: v1-treasury-transaction-entries-id description: REST surface for v1-treasury-transaction_entries-id. operations: - method: GET name: gettreasurytransactionentriesid description:

Retrieves a TransactionEntry object.

call: treasury-treasury-2.gettreasurytransactionentriesid with: expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/transactions name: v1-treasury-transactions description: REST surface for v1-treasury-transactions. operations: - method: GET name: gettreasurytransactions description:

Retrieves a list of Transaction objects.

call: treasury-treasury-2.gettreasurytransactions with: created: rest.created ending_before: rest.ending_before expand: rest.expand financial_account: rest.financial_account limit: rest.limit order_by: rest.order_by starting_after: rest.starting_after status: rest.status status_transitions: rest.status_transitions body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/treasury/transactions/{id} name: v1-treasury-transactions-id description: REST surface for v1-treasury-transactions-id. operations: - method: GET name: gettreasurytransactionsid description:

Retrieves the details of an existing Transaction.

call: treasury-treasury-2.gettreasurytransactionsid with: expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: treasury-treasury-2-mcp port: 9090 transport: http description: MCP adapter for Stripe Treasury API — Treasury. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: p-returns-list-creditreversals-p description:

Returns a list of CreditReversals.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurycreditreversals with: ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit received_credit: tools.received_credit starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: p-reverses-receivedcredit-and-creates-creditreversal description:

Reverses a ReceivedCredit and creates a CreditReversal object.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasurycreditreversals with: body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-existing-creditreversal-passing description:

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurycreditreversalscreditreversal with: credit_reversal: tools.credit_reversal expand: tools.expand body: tools.body outputParameters: - type: object mapping: $. - name: p-returns-list-debitreversals-p description:

Returns a list of DebitReversals.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurydebitreversals with: ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit received_debit: tools.received_debit resolution: tools.resolution starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: p-reverses-receiveddebit-and-creates-debitreversal description:

Reverses a ReceivedDebit and creates a DebitReversal object.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasurydebitreversals with: body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-debitreversal-object-p description:

Retrieves a DebitReversal object.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurydebitreversalsdebitreversal with: debit_reversal: tools.debit_reversal expand: tools.expand body: tools.body outputParameters: - type: object mapping: $. - name: p-returns-list-financialaccounts-p description:

Returns a list of FinancialAccounts.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryfinancialaccounts with: created: tools.created ending_before: tools.ending_before expand: tools.expand limit: tools.limit starting_after: tools.starting_after body: tools.body outputParameters: - type: object mapping: $. - name: p-creates-new-financialaccount-now-each description:

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryfinancialaccounts with: body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-financialaccount-p description:

Retrieves the details of a FinancialAccount.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryfinancialaccountsfinancialaccount with: expand: tools.expand financial_account: tools.financial_account body: tools.body outputParameters: - type: object mapping: $. - name: p-updates-details-financialaccount-p description:

Updates the details of a FinancialAccount.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryfinancialaccountsfinancialaccount with: financial_account: tools.financial_account body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-features-information-associated-financialaccount description:

Retrieves Features information associated with the FinancialAccount.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryfinancialaccountsfinancialaccountfeatures with: expand: tools.expand financial_account: tools.financial_account body: tools.body outputParameters: - type: object mapping: $. - name: p-updates-features-associated-financialaccount-p description:

Updates the Features associated with a FinancialAccount.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryfinancialaccountsfinancialaccountfeatures with: financial_account: tools.financial_account body: tools.body outputParameters: - type: object mapping: $. - name: p-returns-list-inboundtransfers-sent-specified description:

Returns a list of InboundTransfers sent from the specified FinancialAccount.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryinboundtransfers with: ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: p-creates-inboundtransfer-p description:

Creates an InboundTransfer.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryinboundtransfers with: body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-existing-inboundtransfer-p description:

Retrieves the details of an existing InboundTransfer.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryinboundtransfersid with: expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: p-cancels-inboundtransfer-p description:

Cancels an InboundTransfer.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryinboundtransfersinboundtransfercancel with: inbound_transfer: tools.inbound_transfer body: tools.body outputParameters: - type: object mapping: $. - name: p-returns-list-outboundpayments-sent-specified description:

Returns a list of OutboundPayments sent from the specified FinancialAccount.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryoutboundpayments with: customer: tools.customer ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: p-creates-outboundpayment-p description:

Creates an OutboundPayment.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryoutboundpayments with: body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-existing-outboundpayment-passing description:

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryoutboundpaymentsid with: expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: p-cancel-outboundpayment-p description:

Cancel an OutboundPayment.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryoutboundpaymentsidcancel with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: p-returns-list-outboundtransfers-sent-specified description:

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryoutboundtransfers with: ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: p-creates-outboundtransfer-p description:

Creates an OutboundTransfer.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryoutboundtransfers with: body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-existing-outboundtransfer-passing description:

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryoutboundtransfersoutboundtransfer with: expand: tools.expand outbound_transfer: tools.outbound_transfer body: tools.body outputParameters: - type: object mapping: $. - name: p-an-outboundtransfer-can-be-canceled description:

An OutboundTransfer can be canceled if the funds have not yet been paid out.

hints: readOnly: false destructive: false idempotent: false call: treasury-treasury-2.posttreasuryoutboundtransfersoutboundtransfercancel with: outbound_transfer: tools.outbound_transfer body: tools.body outputParameters: - type: object mapping: $. - name: p-returns-list-receivedcredits-p description:

Returns a list of ReceivedCredits.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryreceivedcredits with: ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit linked_flows: tools.linked_flows starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-existing-receivedcredit-passing description:

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryreceivedcreditsid with: expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: p-returns-list-receiveddebits-p description:

Returns a list of ReceivedDebits.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryreceiveddebits with: ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit starting_after: tools.starting_after status: tools.status body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-existing-receiveddebit-passing description:

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasuryreceiveddebitsid with: expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-list-transactionentry-objects-p description:

Retrieves a list of TransactionEntry objects.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurytransactionentries with: created: tools.created effective_at: tools.effective_at ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit order_by: tools.order_by starting_after: tools.starting_after transaction: tools.transaction body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-transactionentry-object-p description:

Retrieves a TransactionEntry object.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurytransactionentriesid with: expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-list-transaction-objects-p description:

Retrieves a list of Transaction objects.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurytransactions with: created: tools.created ending_before: tools.ending_before expand: tools.expand financial_account: tools.financial_account limit: tools.limit order_by: tools.order_by starting_after: tools.starting_after status: tools.status status_transitions: tools.status_transitions body: tools.body outputParameters: - type: object mapping: $. - name: p-retrieves-details-existing-transaction-p description:

Retrieves the details of an existing Transaction.

hints: readOnly: true destructive: false idempotent: true call: treasury-treasury-2.gettreasurytransactionsid with: expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $.