PetstoreAPI Docs
Modern Petstore APIClassic Petstore APIBlog
Modern Petstore APIClassic Petstore APIBlog
    • Modern Pet Store API: A New Gold Standard for OpenAPI
    • Pet
      • Get Pet
        GET
      • Update Pet
        PUT
      • Delete Pet
        DELETE
      • Create Pet
        POST
      • List Pets
        GET
      • Upload Pet Image
        POST
    • Chat
      • Create Chat Completion
        POST
    • Payments
      • Pay Order
        POST
    • Store
      • List Inventory
        GET
      • Create Order
        POST
      • Get Order
        GET
      • Delete Order
        DELETE
      • Callback Example
        POST
    • User
      • Create User
      • Update User
      • Get User
      • Delete User
      • Login
      • Logout
    • Webhooks
      • Pet Adopted Event
      • New Pet Available Event
    • Schemas
      • Pet
      • PetCollection
      • User
      • OrderPayment
      • Bank Card
      • Bank Account
      • Category
      • Links
      • Order
      • ApiResponse
      • Tag
      • Error
    Modern Petstore APIClassic Petstore APIBlog
    Modern Petstore APIClassic Petstore APIBlog

    CardPaymentSource(Bank Card)

    Debit or credit card payment source

    {
        "object": "card",
        "name": "Jane Doe",
        "number": "4242424242424242",
        "expMonth": 1,
        "expYear": 2024,
        "brand": "VISA",
        "last4": "string",
        "billingAddress": {
            "city": "string",
            "state": "string",
            "postalCode": "string",
            "country": "string"
        }
    }
    Built with