Magidoc

FygaroCheckout
Object

A server-authorised card top-up. The amount is signed into the URL, so it is the only amount that can be paid through it.

Fields

#

amount

Non-null

The authorised amount, echoed back so the client can display what was signed.

checkoutId

Non-null

Poll fygaroTopupStatus with this after the payment page closes. Do NOT report success from the payment page alone — the card charge succeeding and Flash crediting the wallet are different events.

expiresAt

Non-null

After this, the URL is rejected by the payment provider and a new one must be requested.

url

Non-null

Open this in the payment webview. The amount and the destination account are signed into it and cannot be edited; it stops working at expiresAt.

Usages

#

References

#