Modern PetstoreAPI Docs
HomeGuidesModern PetstoreAPI
Classic PetstoreAPI
HomeGuidesModern PetstoreAPI
Classic PetstoreAPI
    • Pet
      • Get Pet
        GET
      • Update Pet
        PUT
      • Delete Pet
        DELETE
      • Create Pet
        POST
      • List Pets
        GET
      • Upload Pet Image
        POST
    • Chat
      • Pet Care AI Consultation
        POST
    • Payments
      • Pay Order
        POST
    • Store
      • Get Store Inventory
        GET
      • List Inventory
        GET
      • Create Order
        POST
      • Get Order
        GET
      • Cancel Order
        DELETE
      • Callback Example
        POST
    • User
      • Create User
      • Update User
      • Get User
      • Delete User Account
      • Create Authentication Token
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Schemas
      • Pet
      • PetCollection
      • User
      • OrderPayment
      • Bank Card
      • Bank Account
      • Category
      • Links
      • Order
      • ApiResponse
      • Tag
      • Error
    HomeGuidesModern PetstoreAPI
    Classic PetstoreAPI
    HomeGuidesModern PetstoreAPI
    Classic PetstoreAPI

    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