Documentation Index
Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
Use this file to discover all available pages before exploring further.

Creating a payment link
Use the payment links endpoint to create a payment link with the data displayed on the hosted page. The payment links API endpoint makes it easy to get create a new payment link.expires_at, status, and other useful information
used by the hosted page. Make note of the returned id as it is used in the next step.
merchant_* specific values, this API supports values that are displayed by the hosted page
and also passed to Embed to process the transaction.
amountcurrencycountrymetadatacart_itemsbuyerexternalIdentifierintentpaymentSourcestatementDescriptorbuyer_idstore
Storing a payment method
A payment link can be used to securely store a payment method against a buyer’s profile. To do this, you need to pass both thebuyer_id and store
parameters.
When store is set to true, the buyer_id of an existing buyer must also be
provided. After the payment is completed, the payment method used is
stored and associated with that buyer.
Currently, it is not possible to use a buyer’s existing stored payment methods
to complete a payment link.