processing, authorization_succeeded, capture_succeeded, or
capture_pending. It sends the customer to the return_url you specified, or shows the page’s own confirmation
screen if you didn’t set one. A declined payment doesn’t redirect. The page shows an error and the customer can try again.
Some payment methods take the customer to another site to approve the payment. When the customer comes back,
they might see a result screen for any status, including a decline, instead of your return_url.
Gr4vy appends gr4vy_transaction_id and gr4vy_transaction_status to the return_url. Check the status before
you treat the order as paid, because processing and capture_pending aren’t final. To confirm the result,
get the transaction or listen for
transaction webhooks. Don’t rely on the redirect alone.
Statuses
The page displays different content based on the status of the payment link.Generic error
Either the payment link id provided is invalid or some other error occurred when loading the page (for example network error).
Payment link not found
The payment link id provided is valid but the resource associated with it could not be found.
Processing
The transaction for this payment link is still processing. The page asks the customer to check back later.Redirecting
Embed has created the transaction and the page is redirecting the customer to thereturn_url or the internal confirmation screen.

Payment successful (internal)
The payment was successful and areturn_url was not specified. Also displays if the payment link has already been used.

Expiration
By default, payment link expires in 24 hours. This can be configured separately by setting theexpires_at field in the API.
Once expired, a payment link no longer loads and instead shows the following screen.
