Check Payment Method
check_payment_methodOptional: check whether the user has finished the secure form and a card is on the bill yet. Returns the card's last 4 digits and name when one is set, or a PENDING status when the form has not been completed. Use only if you need to confirm the card landed (e.g. the user asks) - it is not a required step; the normal path is analyze_bill -> user fills the form -> confirm_payment_intent.
Args:
check_input: the user_id and bill_id to look up
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_input | Yes | Identifiers to look up whether a card has been set on a bill yet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||