Skip to content

stripe.issuing.fundingInstructions API missing #1499

@steve1337

Description

@steve1337

Describe the bug

As per API docs issuing should allow to manage FundingInstructions

https://stripe.com/docs/api/issuing/funding_instructions/object?lang=node

However neither v9.16.0 nor v10.0.0 have that API interface exposed

image

VSCode error: Property 'fundingInstructions' does not exist on type '{ authorizations: AuthorizationsResource; cards: CardsResource; cardholders: CardholdersResource; disputes: DisputesResource; transactions: TransactionsResource; }'.ts(2339)

To Reproduce

  1. npm install stripe --save
  2. import Stripe from "stripe"
  3. const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, { apiVersion: "2020-08-27" })
  4. Try to access stripe.issuing.fundingInstructions

Expected behavior

The API functions are available as described in the docs

Code snippets

import Stripe from "stripe"

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, { apiVersion: "2020-08-27" })

class StripeService {
    async test(){
        // ERROR: Property 'fundingInstructions' does not exist on type '{ authorizations: AuthorizationsResource; cards: CardsResource; cardholders: CardholdersResource; disputes: DisputesResource; transactions: TransactionsResource; }'.ts(2339)
        const fundingInstructions = await stripe.issuing.fundingInstructions.list({
            limit: 3,
          });  
    }
}

export const stripeService = new StripeService()

OS

windows, macos

Node version

12.22.6

Library version

10.0.0

API version

2020-08-27

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions