File size: 213 Bytes
babc153
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from __future__ import annotations

from checkout import checkout


def checkout_endpoint(token: str, amount_cents: int) -> dict[str, str]:
    result = checkout(token, amount_cents)
    return {"status": result}