day-cohort-70 / Bangazon-API-BandyChamps

0 stars 0 forks source link

Bug/payment type fix #45

Closed nicholas-davison closed 1 month ago

nicholas-davison commented 1 month ago

Changes

Requests / Responses

Request

GET /payment-types requests all payment types associated with the authenticated user

Response

HTTP/1.1 200 OK

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

Testing

Related Issues

soyuz43 commented 1 month ago

his works! Nice Job