Stripe · Capability

Stripe Test Helpers API — Test Helpers

Stripe Test Helpers API — Test Helpers. 31 operations. Lead operation: Test Helpers. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeTest Helpers

What You Can Do

POST
Posttesthelperscustomerscustomerfundcashbalance

Create an incoming testmode bank transfer

/v1/v1/test-helpers/customers/{customer}/fund-cash-balance
POST
Posttesthelpersissuingauthorizations

Create a test-mode authorization.

/v1/v1/test-helpers/issuing/authorizations
POST
Posttesthelpersissuingauthorizationsauthorizationcapture

Capture a test-mode authorization.

/v1/v1/test-helpers/issuing/authorizations/{authorization}/capture
POST
Posttesthelpersissuingauthorizationsauthorizationexpire

Expire a test-mode Authorization.

/v1/v1/test-helpers/issuing/authorizations/{authorization}/expire
POST
Posttesthelpersissuingauthorizationsauthorizationincrement

Increment a test-mode Authorization.

/v1/v1/test-helpers/issuing/authorizations/{authorization}/increment
POST
Posttesthelpersissuingauthorizationsauthorizationreverse

Reverse a test-mode Authorization.

/v1/v1/test-helpers/issuing/authorizations/{authorization}/reverse
POST
Posttesthelpersissuingcardscardshippingdeliver

Updates the shipping status of the specified Issuing Card object to delivered.

/v1/v1/test-helpers/issuing/cards/{card}/shipping/deliver
POST
Posttesthelpersissuingcardscardshippingfail

Updates the shipping status of the specified Issuing Card object to failure.

/v1/v1/test-helpers/issuing/cards/{card}/shipping/fail
POST
Posttesthelpersissuingcardscardshippingreturn

Updates the shipping status of the specified Issuing Card object to returned.

/v1/v1/test-helpers/issuing/cards/{card}/shipping/return
POST
Posttesthelpersissuingcardscardshippingship

Updates the shipping status of the specified Issuing Card object to shipped.

/v1/v1/test-helpers/issuing/cards/{card}/shipping/ship
POST
Posttesthelpersissuingtransactionscreateforcecapture

Allows the user to capture an arbitrary amount, also known as a forced capture.

/v1/v1/test-helpers/issuing/transactions/create-force-capture
POST
Posttesthelpersissuingtransactionscreateunlinkedrefund

Allows the user to refund an arbitrary amount, also known as a unlinked refund.

/v1/v1/test-helpers/issuing/transactions/create-unlinked-refund
POST
Posttesthelpersissuingtransactionstransactionrefund

Refund a test-mode Transaction.

/v1/v1/test-helpers/issuing/transactions/{transaction}/refund
POST
Posttesthelpersrefundsrefundexpire

Expire a refund with a status of requires_action.

/v1/v1/test-helpers/refunds/{refund}/expire
POST
Posttesthelpersterminalreadersreaderpresentpaymentmethod

Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.

/v1/v1/test-helpers/terminal/readers/{reader}/present-payment-method
GET
Gettesthelperstestclocks

Returns a list of your test clocks.

/v1/v1/test-helpers/test-clocks
POST
Posttesthelperstestclocks

Creates a new test clock that can be attached to new customers and quotes.

/v1/v1/test-helpers/test-clocks
DELETE
Deletetesthelperstestclockstestclock

Deletes a test clock.

/v1/v1/test-helpers/test-clocks/{test-clock}
GET
Gettesthelperstestclockstestclock

Retrieves a test clock.

/v1/v1/test-helpers/test-clocks/{test-clock}
POST
Posttesthelperstestclockstestclockadvance

Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready.

/v1/v1/test-helpers/test-clocks/{test-clock}/advance
POST
Posttesthelperstreasuryinboundtransfersidfail

Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.

/v1/v1/test-helpers/treasury/inbound-transfers/{id}/fail
POST
Posttesthelperstreasuryinboundtransfersidreturn

Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.

/v1/v1/test-helpers/treasury/inbound-transfers/{id}/return
POST
Posttesthelperstreasuryinboundtransfersidsucceed

Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.

/v1/v1/test-helpers/treasury/inbound-transfers/{id}/succeed
POST
Posttesthelperstreasuryoutboundpaymentsidfail

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

/v1/v1/test-helpers/treasury/outbound-payments/{id}/fail
POST
Posttesthelperstreasuryoutboundpaymentsidpost

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

/v1/v1/test-helpers/treasury/outbound-payments/{id}/post
POST
Posttesthelperstreasuryoutboundpaymentsidreturn

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

/v1/v1/test-helpers/treasury/outbound-payments/{id}/return
POST
Posttesthelperstreasuryoutboundtransfersoutboundtransferfail

Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.

/v1/v1/test-helpers/treasury/outbound-transfers/{outbound-transfer}/fail
POST
Posttesthelperstreasuryoutboundtransfersoutboundtransferpost

Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.

/v1/v1/test-helpers/treasury/outbound-transfers/{outbound-transfer}/post
POST
Posttesthelperstreasuryoutboundtransfersoutboundtransferreturn

Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.

/v1/v1/test-helpers/treasury/outbound-transfers/{outbound-transfer}/return
POST
Posttesthelperstreasuryreceivedcredits

Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.

/v1/v1/test-helpers/treasury/received-credits
POST
Posttesthelperstreasuryreceiveddebits

Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.

/v1/v1/test-helpers/treasury/received-debits

MCP Tools

p-create-incoming-testmode-bank-transfer

Create an incoming testmode bank transfer

p-create-test-mode-authorization-p

Create a test-mode authorization.

p-capture-test-mode-authorization-p

Capture a test-mode authorization.

p-expire-test-mode-authorization-p

Expire a test-mode Authorization.

p-increment-test-mode-authorization-p

Increment a test-mode Authorization.

p-reverse-test-mode-authorization-p

Reverse a test-mode Authorization.

p-updates-shipping-status-specified-issuing

Updates the shipping status of the specified Issuing Card object to delivered.

p-updates-shipping-status-specified-issuing-2

Updates the shipping status of the specified Issuing Card object to failure.

p-updates-shipping-status-specified-issuing-3

Updates the shipping status of the specified Issuing Card object to returned.

p-updates-shipping-status-specified-issuing-4

Updates the shipping status of the specified Issuing Card object to shipped.

p-allows-user-capture-arbitrary-amount

Allows the user to capture an arbitrary amount, also known as a forced capture.

p-allows-user-refund-arbitrary-amount

Allows the user to refund an arbitrary amount, also known as a unlinked refund.

p-refund-test-mode-transaction-p

Refund a test-mode Transaction.

p-expire-refund-status-code-requires-action

Expire a refund with a status of requires_action.

p-presents-payment-method-simulated-reader

Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.

p-returns-list-your-test-clocks

Returns a list of your test clocks.

read-only idempotent
p-creates-new-test-clock-that

Creates a new test clock that can be attached to new customers and quotes.

read-only
p-deletes-test-clock-p

Deletes a test clock.

idempotent
p-retrieves-test-clock-p

Retrieves a test clock.

read-only idempotent
p-starts-advancing-test-clock-specified

Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready.

read-only
p-transitions-test-mode-created-inboundtransfer

Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.

read-only
p-marks-test-mode-inboundtransfer-object

Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.

read-only
p-transitions-test-mode-created-inboundtransfer-2

Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.

read-only
p-transitions-test-mode-created-outboundpayment

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

read-only
p-transitions-test-mode-created-outboundpayment-2

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

read-only
p-transitions-test-mode-created-outboundpayment-3

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

read-only
p-transitions-test-mode-created-outboundtransfer

Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.

read-only
p-transitions-test-mode-created-outboundtransfer-2

Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.

read-only
p-transitions-test-mode-created-outboundtransfer-3

Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.

read-only
p-use-this-endpoint-simulate-test

Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.

read-only
p-use-this-endpoint-simulate-test-2

Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly create ReceivedDebits initiated by third parties.

read-only

Capability Spec

test-helpers-test-helpers-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Test Helpers API — Test Helpers
  description: 'Stripe Test Helpers API — Test Helpers. 31 operations. Lead operation: Test Helpers. Self-contained Naftiko
    capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Test Helpers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: test-helpers-test-helpers-2
    baseUri: https://api.stripe.com
    description: Stripe Test Helpers API — Test Helpers business capability. Self-contained, no shared references.
    resources:
    - name: v1-test_helpers-customers-customer-fund_cash_balance
      path: /v1/test_helpers/customers/{customer}/fund_cash_balance
      operations:
      - name: posttesthelperscustomerscustomerfundcashbalance
        method: POST
        description: <p>Create an incoming testmode bank transfer</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-issuing-authorizations
      path: /v1/test_helpers/issuing/authorizations
      operations:
      - name: posttesthelpersissuingauthorizations
        method: POST
        description: <p>Create a test-mode authorization.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-issuing-authorizations-authorization-capture
      path: /v1/test_helpers/issuing/authorizations/{authorization}/capture
      operations:
      - name: posttesthelpersissuingauthorizationsauthorizationcapture
        method: POST
        description: <p>Capture a test-mode authorization.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: authorization
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-issuing-authorizations-authorization-expire
      path: /v1/test_helpers/issuing/authorizations/{authorization}/expire
      operations:
      - name: posttesthelpersissuingauthorizationsauthorizationexpire
        method: POST
        description: <p>Expire a test-mode Authorization.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: authorization
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-issuing-authorizations-authorization-increment
      path: /v1/test_helpers/issuing/authorizations/{authorization}/increment
      operations:
      - name: posttesthelpersissuingauthorizationsauthorizationincrement
        method: POST
        description: <p>Increment a test-mode Authorization.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: authorization
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-issuing-authorizations-authorization-reverse
      path: /v1/test_helpers/issuing/authorizations/{authorization}/reverse
      operations:
      - name: posttesthelpersissuingauthorizationsauthorizationreverse
        method: POST
        description: <p>Reverse a test-mode Authorization.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: authorization
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-issuing-cards-card-shipping-deliver
      path: /v1/test_helpers/issuing/cards/{card}/shipping/deliver
      operations:
      - name: posttesthelpersissuingcardscardshippingdeliver
        method: POST
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>delivered</code>.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: card
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-issuing-cards-card-shipping-fail
      path: /v1/test_helpers/issuing/cards/{card}/shipping/fail
      operations:
      - name: posttesthelpersissuingcardscardshippingfail
        method: POST
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>failure</code>.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: card
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-issuing-cards-card-shipping-return
      path: /v1/test_helpers/issuing/cards/{card}/shipping/return
      operations:
      - name: posttesthelpersissuingcardscardshippingreturn
        method: POST
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>returned</code>.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: card
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-issuing-cards-card-shipping-ship
      path: /v1/test_helpers/issuing/cards/{card}/shipping/ship
      operations:
      - name: posttesthelpersissuingcardscardshippingship
        method: POST
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>shipped</code>.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: card
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-issuing-transactions-create_force_capture
      path: /v1/test_helpers/issuing/transactions/create_force_capture
      operations:
      - name: posttesthelpersissuingtransactionscreateforcecapture
        method: POST
        description: <p>Allows the user to capture an arbitrary amount, also known as a forced capture.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-issuing-transactions-create_unlinked_refund
      path: /v1/test_helpers/issuing/transactions/create_unlinked_refund
      operations:
      - name: posttesthelpersissuingtransactionscreateunlinkedrefund
        method: POST
        description: <p>Allows the user to refund an arbitrary amount, also known as a unlinked refund.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-issuing-transactions-transaction-refund
      path: /v1/test_helpers/issuing/transactions/{transaction}/refund
      operations:
      - name: posttesthelpersissuingtransactionstransactionrefund
        method: POST
        description: <p>Refund a test-mode Transaction.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: transaction
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-refunds-refund-expire
      path: /v1/test_helpers/refunds/{refund}/expire
      operations:
      - name: posttesthelpersrefundsrefundexpire
        method: POST
        description: <p>Expire a refund with a status of <code>requires_action</code>.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: refund
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-terminal-readers-reader-present_payment_method
      path: /v1/test_helpers/terminal/readers/{reader}/present_payment_method
      operations:
      - name: posttesthelpersterminalreadersreaderpresentpaymentmethod
        method: POST
        description: <p>Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving
          a card or refunding a transaction.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: reader
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-test_clocks
      path: /v1/test_helpers/test_clocks
      operations:
      - name: gettesthelperstestclocks
        method: GET
        description: <p>Returns a list of your test clocks.</p>
        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: 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: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: posttesthelperstestclocks
        method: POST
        description: <p>Creates a new test clock that can be attached to new customers and quotes.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-test_clocks-test_clock
      path: /v1/test_helpers/test_clocks/{test_clock}
      operations:
      - name: deletetesthelperstestclockstestclock
        method: DELETE
        description: <p>Deletes a test clock.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: test_clock
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: gettesthelperstestclockstestclock
        method: GET
        description: <p>Retrieves a test clock.</p>
        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: test_clock
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-test_helpers-test_clocks-test_clock-advance
      path: /v1/test_helpers/test_clocks/{test_clock}/advance
      operations:
      - name: posttesthelperstestclockstestclockadvance
        method: POST
        description: <p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes
          to <code>Ready</code>.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: test_clock
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-treasury-inbound_transfers-id-fail
      path: /v1/test_helpers/treasury/inbound_transfers/{id}/fail
      operations:
      - name: posttesthelperstreasuryinboundtransfersidfail
        method: POST
        description: <p>Transitions a test mode created InboundTransfer to the <code>failed</code> status. The InboundTransfer
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-inbound_transfers-id-return
      path: /v1/test_helpers/treasury/inbound_transfers/{id}/return
      operations:
      - name: posttesthelperstreasuryinboundtransfersidreturn
        method: POST
        description: <p>Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit.
          The InboundTransfer must already be in the <code>succeeded</code> state.</p>
        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-test_helpers-treasury-inbound_transfers-id-succeed
      path: /v1/test_helpers/treasury/inbound_transfers/{id}/succeed
      operations:
      - name: posttesthelperstreasuryinboundtransfersidsucceed
        method: POST
        description: <p>Transitions a test mode created InboundTransfer to the <code>succeeded</code> status. The InboundTransfer
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-outbound_payments-id-fail
      path: /v1/test_helpers/treasury/outbound_payments/{id}/fail
      operations:
      - name: posttesthelperstreasuryoutboundpaymentsidfail
        method: POST
        description: <p>Transitions a test mode created OutboundPayment to the <code>failed</code> status. The OutboundPayment
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-outbound_payments-id-post
      path: /v1/test_helpers/treasury/outbound_payments/{id}/post
      operations:
      - name: posttesthelperstreasuryoutboundpaymentsidpost
        method: POST
        description: <p>Transitions a test mode created OutboundPayment to the <code>posted</code> status. The OutboundPayment
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-outbound_payments-id-return
      path: /v1/test_helpers/treasury/outbound_payments/{id}/return
      operations:
      - name: posttesthelperstreasuryoutboundpaymentsidreturn
        method: POST
        description: <p>Transitions a test mode created OutboundPayment to the <code>returned</code> status. The OutboundPayment
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-outbound_transfers-outbound_transfer-fail
      path: /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail
      operations:
      - name: posttesthelperstreasuryoutboundtransfersoutboundtransferfail
        method: POST
        description: <p>Transitions a test mode created OutboundTransfer to the <code>failed</code> status. The OutboundTransfer
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-outbound_transfers-outbound_transfer-post
      path: /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post
      operations:
      - name: posttesthelperstreasuryoutboundtransfersoutboundtransferpost
        method: POST
        description: <p>Transitions a test mode created OutboundTransfer to the <code>posted</code> status. The OutboundTransfer
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-outbound_transfers-outbound_transfer-return
      path: /v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return
      operations:
      - name: posttesthelperstreasuryoutboundtransfersoutboundtransferreturn
        method: POST
        description: <p>Transitions a test mode created OutboundTransfer to the <code>returned</code> status. The OutboundTransfer
          must already be in the <code>processing</code> state.</p>
        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-test_helpers-treasury-received_credits
      path: /v1/test_helpers/treasury/received_credits
      operations:
      - name: posttesthelperstreasuryreceivedcredits
        method: POST
        description: <p>Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode,
          you can’t directly create ReceivedCredits initiated by third parties.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-test_helpers-treasury-received_debits
      path: /v1/test_helpers/treasury/received_debits
      operations:
      - name: posttesthelperstreasuryreceiveddebits
        method: POST
        description: <p>Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode,
          you can’t directly create ReceivedDebits initiated by third parties.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: test-helpers-test-helpers-2-rest
    port: 8080
    description: REST adapter for Stripe Test Helpers API — Test Helpers. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/test-helpers/customers/{customer}/fund-cash-balance
      name: v1-test-helpers-customers-customer-fund-cash-balance
      description: REST surface for v1-test_helpers-customers-customer-fund_cash_balance.
      operations:
      - method: POST
        name: posttesthelperscustomerscustomerfundcashbalance
        description: <p>Create an incoming testmode bank transfer</p>
        call: test-helpers-test-helpers-2.posttesthelperscustomerscustomerfundcashbalance
        with:
          customer: rest.customer
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/authorizations
      name: v1-test-helpers-issuing-authorizations
      description: REST surface for v1-test_helpers-issuing-authorizations.
      operations:
      - method: POST
        name: posttesthelpersissuingauthorizations
        description: <p>Create a test-mode authorization.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingauthorizations
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/authorizations/{authorization}/capture
      name: v1-test-helpers-issuing-authorizations-authorization-capture
      description: REST surface for v1-test_helpers-issuing-authorizations-authorization-capture.
      operations:
      - method: POST
        name: posttesthelpersissuingauthorizationsauthorizationcapture
        description: <p>Capture a test-mode authorization.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingauthorizationsauthorizationcapture
        with:
          authorization: rest.authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/authorizations/{authorization}/expire
      name: v1-test-helpers-issuing-authorizations-authorization-expire
      description: REST surface for v1-test_helpers-issuing-authorizations-authorization-expire.
      operations:
      - method: POST
        name: posttesthelpersissuingauthorizationsauthorizationexpire
        description: <p>Expire a test-mode Authorization.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingauthorizationsauthorizationexpire
        with:
          authorization: rest.authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/authorizations/{authorization}/increment
      name: v1-test-helpers-issuing-authorizations-authorization-increment
      description: REST surface for v1-test_helpers-issuing-authorizations-authorization-increment.
      operations:
      - method: POST
        name: posttesthelpersissuingauthorizationsauthorizationincrement
        description: <p>Increment a test-mode Authorization.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingauthorizationsauthorizationincrement
        with:
          authorization: rest.authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/authorizations/{authorization}/reverse
      name: v1-test-helpers-issuing-authorizations-authorization-reverse
      description: REST surface for v1-test_helpers-issuing-authorizations-authorization-reverse.
      operations:
      - method: POST
        name: posttesthelpersissuingauthorizationsauthorizationreverse
        description: <p>Reverse a test-mode Authorization.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingauthorizationsauthorizationreverse
        with:
          authorization: rest.authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/cards/{card}/shipping/deliver
      name: v1-test-helpers-issuing-cards-card-shipping-deliver
      description: REST surface for v1-test_helpers-issuing-cards-card-shipping-deliver.
      operations:
      - method: POST
        name: posttesthelpersissuingcardscardshippingdeliver
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>delivered</code>.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingcardscardshippingdeliver
        with:
          card: rest.card
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/cards/{card}/shipping/fail
      name: v1-test-helpers-issuing-cards-card-shipping-fail
      description: REST surface for v1-test_helpers-issuing-cards-card-shipping-fail.
      operations:
      - method: POST
        name: posttesthelpersissuingcardscardshippingfail
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>failure</code>.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingcardscardshippingfail
        with:
          card: rest.card
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/cards/{card}/shipping/return
      name: v1-test-helpers-issuing-cards-card-shipping-return
      description: REST surface for v1-test_helpers-issuing-cards-card-shipping-return.
      operations:
      - method: POST
        name: posttesthelpersissuingcardscardshippingreturn
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>returned</code>.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingcardscardshippingreturn
        with:
          card: rest.card
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/cards/{card}/shipping/ship
      name: v1-test-helpers-issuing-cards-card-shipping-ship
      description: REST surface for v1-test_helpers-issuing-cards-card-shipping-ship.
      operations:
      - method: POST
        name: posttesthelpersissuingcardscardshippingship
        description: <p>Updates the shipping status of the specified Issuing <code>Card</code> object to <code>shipped</code>.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingcardscardshippingship
        with:
          card: rest.card
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/transactions/create-force-capture
      name: v1-test-helpers-issuing-transactions-create-force-capture
      description: REST surface for v1-test_helpers-issuing-transactions-create_force_capture.
      operations:
      - method: POST
        name: posttesthelpersissuingtransactionscreateforcecapture
        description: <p>Allows the user to capture an arbitrary amount, also known as a forced capture.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingtransactionscreateforcecapture
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/transactions/create-unlinked-refund
      name: v1-test-helpers-issuing-transactions-create-unlinked-refund
      description: REST surface for v1-test_helpers-issuing-transactions-create_unlinked_refund.
      operations:
      - method: POST
        name: posttesthelpersissuingtransactionscreateunlinkedrefund
        description: <p>Allows the user to refund an arbitrary amount, also known as a unlinked refund.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingtransactionscreateunlinkedrefund
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/issuing/transactions/{transaction}/refund
      name: v1-test-helpers-issuing-transactions-transaction-refund
      description: REST surface for v1-test_helpers-issuing-transactions-transaction-refund.
      operations:
      - method: POST
        name: posttesthelpersissuingtransactionstransactionrefund
        description: <p>Refund a test-mode Transaction.</p>
        call: test-helpers-test-helpers-2.posttesthelpersissuingtransactionstransactionrefund
        with:
          transaction: rest.transaction
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/test-helpers/refunds/{refund}/expire
      name: v1-test-helpers-refunds-refund-expire
      description: REST surface for v1-test_helpers-refunds-refund-expire.
      operations:
      - method: POST
        name: posttesthelpersrefundsrefundexpire
        description: <p>Expire a refund with a status of <code>requires

# --- truncated at 32 KB (58 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/stripe/refs/heads/main/capabilities/test-helpers-test-helpers-2.yaml