nss-evening-cohort-12 / bangazon-api-medlenmage

bangazon-api-medlenmage created by GitHub Classroom
0 stars 1 forks source link

simplified paymenttype filter to one line that filters payment type… #35

Closed medlenmage closed 3 years ago

medlenmage commented 3 years ago

payment type correctly filters to only show current user payment types

Changes

Request

GET /paymenttypes Creates a new product

Response

HTTP/1.1 200 OK

[
    {
        "id": 1,
        "url": "http://localhost:8000/paymenttypes/1",
        "merchant_name": "Visa",
        "account_number": "24ijio68948fj8439",
        "expiration_date": "2020-01-01",
        "create_date": "2019-11-11"
    }
]

Testing

Description of how to test code...

Related Issues