Pet Store
    • Store API
      • Start your Apidog journey
      • Pet
        • List Pets
        • Create Pet
        • Get Pet
        • Update Pet
        • Delete Pet
        • Upload Pet Image
      • Chat
        • Pet Care AI Consultation
      • Store
        • Get Store Inventory
        • List all inventories
        • Create Order
        • Get Order
        • Cancel Order
        • Callback Example
      • Payments
        • Pay Order
      • User
        • Create User
        • Update User
        • Get User
        • Delete User Account
        • Create Authentication Token
      • Webhooks
        • Order Status Changed Event
        • Payment Succeeded Event
      • Websocket, Socket.IO & more
        • gRPC API
        • Other protocol API example
        • WebSocket example
        • Socket.IO example
        • Webhook example
        • GraphQL example
        • SSE example
        • SOAP example
      • Schemas
        • Pet
        • User
        • PetCollection
        • OrderPayment
        • Bank Card
        • Order
        • Bank Account
        • ApiResponse
        • Error
    • Admin API
      • Dashboard
        • Get Dashboard Stats
      • User Management
        • List Users
        • Get User Details
        • Update User Status
      • Order Management
        • List All Orders
        • Force Cancel Order
      • Audit Logs
        • Get Audit Log Details
      • Schemas
        • AuditLog

    OrderPayment

    Order payment information with polymorphic payment sources

    {
        "id": "2e3b4f5a-6b7c-8d9e-0f1a-2b3c4d5e6f7a",
        "amount": "49.99",
        "currency": "USD",
        "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"
            }
        },
        "status": "PENDING",
        "createdAt": "2019-08-24T14:15:22.123Z"
    }
    Built with