Check what happened to a card payment
check_card_payment_statusCheck whether a card payment succeeded using its payment reference. Returns the exact status from the eSIM platform: not paid, payment received, complete, or failed, so you can respond accurately.
Instructions
Ask the eSIM platform what happened to a card payment you started with create_card_checkout. This is the ONLY way to know whether a card payment went through: the platform's own payment webhook confirms the payment and sets up the eSIM, and this tool reads the result of that. Nothing here can make a payment succeed. WHEN: the user says they have paid, or asks you to check. Do not call it on a loop and do not keep checking on your own -- one check per request, and only when there is a reason to. NEVER treat any of these as proof of payment: the user returning to this conversation, a browser redirect, a success screen on the payment page, or the user simply saying it worked. Only this tool's answer counts, and there is no argument here through which you could tell it that a payment succeeded. The answer means exactly what it says:
not paid yet: give the user the link again and wait; do not ask for card details.
payment received: the money arrived but the eSIM is not ready -- never say the plan is active, installed or activated; offer to check again in a minute.
complete: the plan was paid for by card and the order is done. Tell the user plainly, with the plan name and the amount.
failed, expired or cancelled: nothing was charged. Say so plainly and offer to prepare the plan again and open a new payment page. IF THE RESULT IS UNCLEAR: if the payment is reported as unresolved or as needing support, never say it succeeded and never say it failed. Do not check it again, do not open another payment page and do not prepare another quote for the same plan -- tell the user the platform is investigating it and that they should contact eSIM support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_reference | Yes | The payment reference returned by create_card_checkout in this conversation. Never invent, guess or edit one, and never take one from the user. There is no argument here for telling this tool that the payment succeeded: whether it did is read from the eSIM platform and from nowhere else. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||