> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://partner.ninjatrader.com/connect/api/rest-api-endpoints/users/stripe-funding-method-dependents/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://partner.ninjatrader.com/_mcp/server. # Stripe Funding Method Dependents GET https://live.tradovateapi.com/v1/stripeFundingMethod/deps ### List a user's active Stripe funding methods.**Available to:** All authenticated users**Environments:** Live**[Rate Limit](/connect/overview/core-concepts/rate-limits):** No endpoint-specific limitPass the user's ID as the `masterid` query parameter. The response contains the user's non-archived Stripe funding methods, including each method's numeric `id`, status, payment-method type, card type, last four digits, and expiration date.Use this endpoint after `addStripeDebitCard` returns `{}` for an ANI-approved card. Select the newly approved debit-card record and pass its numeric `id` as `fundingMethodId` to `startStripeFunding`.**Warning:** Do not pass Stripe's string `pm_...` PaymentMethod ID to `startStripeFunding`. That endpoint requires NinjaTrader's numeric funding-method ID.Only use a method whose `status` is `Approved` and whose `funding` value identifies a debit card. An empty array means that the user has no active Stripe funding methods visible to the caller.**Related Endpoints**- Use [`addStripeDebitCard`](/connect/api/rest-api-endpoints/funds/add-stripe-debit-card) to register a saved debit card. - Use [`startStripeFunding`](/connect/api/rest-api-endpoints/funds/start-stripe-funding) with the selected numeric `id`. Reference: https://partner.ninjatrader.com/connect/api/rest-api-endpoints/users/stripe-funding-method-dependents ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Query parameters - `masterid` (long, required) — User entity ID ## Response ### 200 StripeFundingMethod - `list of StripeFundingMethod` ## Types ### StripeFundingMethod - `userId` (long, required) - `timestamp` (datetime, required) - `paymentMethodType` (enum, required) — ApplePayWallet, DebitCard, GooglePayWallet - Allowed values: `ApplePayWallet`, `DebitCard`, `GooglePayWallet` - `cardType` (enum, required) — Amex, DinersClub, Discover, JCB, MasterCard, Other, UnionPay, Visa - Allowed values: `Amex`, `DinersClub`, `Discover`, `JCB`, `MasterCard`, `Other`, `UnionPay`, `Visa` - `funding` (enum, required) — Credit, Debit, Prepaid, Unknown - Allowed values: `Credit`, `Debit`, `Prepaid`, `Unknown` - `last4` (string, required) - `expirationMonth` (integer, required) - `expirationYear` (integer, required) - `archived` (boolean, required) - `id` (long, optional) - `status` (enum, optional) — Approved, ApprovedByWallet, Canceled, DcvFail, DcvRequested, Declined, DocReceived, DocRequested, Pending - Allowed values: `Approved`, `ApprovedByWallet`, `Canceled`, `DcvFail`, `DcvRequested`, `Declined`, `DocReceived`, `DocRequested`, `Pending` - `disclosureId` (long, optional) - `nameOnCard` (string, optional) - `bankName` (string, optional) - `aniMatchResult` (string, optional) - `accountId` (long, optional) - `disclosureIds` (StripeDisclosures, optional) ### StripeDisclosures - `ids` (list of long, required) ## Examples **Response** ```json [ { "userId": 1, "timestamp": "2024-01-15T09:30:00Z", "paymentMethodType": "ApplePayWallet", "cardType": "Amex", "funding": "Credit", "last4": "string", "expirationMonth": 1, "expirationYear": 1, "archived": true, "id": 1, "status": "Approved", "disclosureId": 1, "nameOnCard": "string", "bankName": "string", "aniMatchResult": "string", "accountId": 1, "disclosureIds": { "ids": [ 1 ] } } ] ``` **SDK Code** ```python import requests url = "https://live.tradovateapi.com/v1/stripeFundingMethod/deps" querystring = {"masterid":"1"} headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers, params=querystring) print(response.json()) ``` ```javascript const url = 'https://live.tradovateapi.com/v1/stripeFundingMethod/deps?masterid=1'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://live.tradovateapi.com/v1/stripeFundingMethod/deps?masterid=1" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://live.tradovateapi.com/v1/stripeFundingMethod/deps?masterid=1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://live.tradovateapi.com/v1/stripeFundingMethod/deps?masterid=1") .header("Authorization", "Bearer ") .asString(); ``` ```php request('GET', 'https://live.tradovateapi.com/v1/stripeFundingMethod/deps?masterid=1', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://live.tradovateapi.com/v1/stripeFundingMethod/deps?masterid=1"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://live.tradovateapi.com/v1/stripeFundingMethod/deps?masterid=1")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```