Open Context Protocol is live! 🚀 Read the launch post
getCustomersCustomerSourcesId

getCustomersCustomerSourcesId

Retrieve a specified source for a given customer.

GET /v1/customers/{customer}/sources/{id} HTTP/1.1

Parameters

{
  "customer": {
    "description": "",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "expand": {
    "description": "Specifies which fields in the response should be expanded.",
    "required": false,
    "location": "query",
    "type": "array"
  },
  "id": {
    "description": "",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Response Schema

{
  "anyOf": [
    {
      "$ref": "#/components/schemas/account"
    },
    {
      "$ref": "#/components/schemas/bank_account"
    },
    {
      "$ref": "#/components/schemas/card"
    },
    {
      "$ref": "#/components/schemas/source"
    }
  ],
  "title": "Polymorphic",
  "x-resourceId": "payment_source",
  "x-stripeBypassValidation": true
}