{ "opencollection": "1.0.0", "info": { "name": "Stripe Accounts Account Cards API", "version": "2023-10-16" }, "items": [ { "info": { "name": "Cards", "type": "folder" }, "items": [ { "info": { "name": "Stripe Get Customers Customer Cards", "type": "http" }, "http": { "method": "GET", "url": "https://api.stripe.com/v1/customers/:customer/cards", "params": [ { "name": "customer", "value": "", "type": "path" }, { "name": "ending_before", "value": "", "type": "query", "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 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list." }, { "name": "expand", "value": "", "type": "query", "description": "Specifies which fields in the response should be expanded." }, { "name": "limit", "value": "", "type": "query", "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", "value": "", "type": "query", "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 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list." } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "
You can see a list of the cards belonging to a customer.\nNote that the 10 most recent sources are always available on the Customer object.\nIf you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional cards.
When you create a new credit card, you must specify a customer or recipient on which to create it.
\n\nIf the card’s owner has no default card, then the new card will become the default.\nHowever, if the owner already has a default, then it will not change.\nTo change the default, you should update the customer to have a new default_source.
You can always see the 10 most recent cards directly on a customer; this method lets you retrieve details about a specific card stored on the customer.
" }, { "info": { "name": "Stripe Post Customers Customer Cards Id", "type": "http" }, "http": { "method": "POST", "url": "https://api.stripe.com/v1/customers/:customer/cards/:id", "params": [ { "name": "customer", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Update a specified source for a given customer.
" }, { "info": { "name": "Stripe Delete Customers Customer Cards Id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.stripe.com/v1/customers/:customer/cards/:id", "params": [ { "name": "customer", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Delete a specified source for a given customer.
" }, { "info": { "name": "Stripe Get Issuing Cards", "type": "http" }, "http": { "method": "GET", "url": "https://api.stripe.com/v1/issuing/cards", "params": [ { "name": "cardholder", "value": "", "type": "query", "description": "Only return cards belonging to the Cardholder with the provided ID." }, { "name": "created", "value": "", "type": "query", "description": "Only return cards that were issued during the given date interval." }, { "name": "ending_before", "value": "", "type": "query", "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 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list." }, { "name": "exp_month", "value": "", "type": "query", "description": "Only return cards that have the given expiration month." }, { "name": "exp_year", "value": "", "type": "query", "description": "Only return cards that have the given expiration year." }, { "name": "expand", "value": "", "type": "query", "description": "Specifies which fields in the response should be expanded." }, { "name": "last4", "value": "", "type": "query", "description": "Only return cards that have the given last four digits." }, { "name": "limit", "value": "", "type": "query", "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", "value": "", "type": "query", "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 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list." }, { "name": "status", "value": "", "type": "query", "description": "Only return cards that have the given status. One of `active`, `inactive`, or `canceled`." }, { "name": "type", "value": "", "type": "query", "description": "Only return cards that have the given type. One of `virtual` or `physical`." } ], "body": { "type": "form-urlencoded", "data": [] } }, "docs": "Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Creates an Issuing Card object.
Retrieves an Issuing Card object.
Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.