Create custom amount and open payment buttons
Invoices: get the Payment Button from already issued invoices, or create a new invoice.
Products: get the Payment Button to sell your products, services, and digital goods on Social Media, Chats, Web Sites, and more.
Custom: generate an Open or Fixed Amount payment link / code to get paid anywhere.
How to feed information to the Payment Link
To include information via URL parameters to your Payment Link, there are 2 opcions:
Option 1: Pre-fill the fields (to allow customer to update them):
Structure [button url] + ?amount=“10.00”
After amount= you can enter the URL encode amount with up to 2 decimals.
The JWT features are only available on the Ideal plan (Payment Button / Shops) or above
The Payload section can contain any of the following (optional):
"nbf" : "UnixTimestamp"
The Signature section must contain your Secret Key:
base64UrlEncode(header) + "." +
You might also be interested in setting up a Hook to have your system updated upon successful payment: Go to tutorial
If you need help creating your JWT, please visit https://jwt.io/ for more information
API Credentials: to obtain your API Key and Secret, you must enter "Settings"> "API Credentials"> "Generate New".
Secret access keys are, as their name implies, secret, just like your password. For your own security, Fygaro does not reveal your password if you forgot it (you would have to set a new password). Similarly, Fygaro does not allow the recovery of a secret access key after its initial creation.
Therefore, it is important that you download the file generated with your Public and Secret Key for future reference and use.
To revoke a lost key, just go to "Settings"> "API Credentials" and click on the red "X" next to your public key.