Skip to main content
GET
/
api
/
internal
/
transactionPayflow
/
{id}
/
returnUrl
Get Payflow Return URL
curl --request GET \
  --url https://localhost:44371/api/internal/transactionPayflow/{id}/returnUrl
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Description

Retrieves the stored return URL for a Payflow Express Checkout transaction and redirects the user agent to it. This is used by PayPal to redirect users back to the merchant site after completing payment.

Input

  • Path Parameter: id (guid, required) — Transaction identifier.
  • Query Parameter: payerId (string, required) — Payer identifier provided by PayPal.

Output

HTTP 302 redirect to the stored return URL.

Example Request

GET /internal/payflow/transactions/{id}/return?payerId={payerId}

Errors

  • 404 Not Found — No return URL is configured for the transaction.
  • 500 Internal Server Error — Unexpected server error when retrieving the return URL.

Notes

  • This is an internal endpoint used by PayPal Payflow redirects.
  • The redirect occurs automatically without user interaction.

Path Parameters

id
string<guid>
required

The unique identifier of the transaction.

Query Parameters

payerId
string | null

The payer identifier provided by PayPal.

Response

Redirects the user agent to the stored return URL.