Create a Payment Link
Using your Secret Key, create a payment link from your backend with theamount and currency:
Currencies represented as integersThe Fintoc API represents currencies in its smallest possible units with no decimals (as an integer). That means that an amount of MXN 247.50 gets represented by Fintoc as 24750. You can read more about currencies here.
customer_email, checkout, metadata and business_profile are optional. Some of the optional parameters you can use to create your payment link are:
The recipient account object is defined by 4 attributes:
For a complete list of parameters, check the Payment Link API.
Share your Payment Link
Each payment link contains aurl that you can share with your customers through email, Whatsapp, or through other channels.
json
Track payments
When customers use a payment link to complete a payment, Fintoc sends apayment_intent.succeededwebhook that you can use for fulfillment and reconciliation. This webhook will contain themetadata keys you used to create the payment link.
For more information, see our guide on how to complete the payment on your backend. In the case of payment links, we recommend you to only listen for payment_intent.succeeded events.
You can also see successful payments using our Dashboard.
Cancel a Payment Link
You can cancel a payment link using the cancel endpoint:curl