Skip to main content
GET
/
api
/
pay
/
{projectId}
/
transactions
/
payFlowPaymentInfo
Get Payflow Payment Information
curl --request GET \
  --url https://localhost:44371/api/pay/{projectId}/transactions/payFlowPaymentInfo \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "code": 200,
  "errorMessage": null
}

Description

Fetches detailed PayPal Payflow transaction information for transactions processed through PayPal Payflow Pro or Payflow Gateway. This endpoint provides access to Payflow-specific fields including secure token data, PayPal transaction IDs, Payflow response codes, and gateway-specific metadata not available in standard transaction queries.

Input

  • Path Parameter: projectId (guid, required) — Project identifier matching authenticated API key.
  • Query Parameter: transactionId (guid, required) — Transaction identifier to retrieve Payflow information for.

Output

Returns a PayFlowPaymentInfoQueryResponse containing PayPal Payflow-specific transaction details including secure tokens, Payflow IDs, and gateway response codes.

Example Request

GET /api/payment/projects/{projectId}/transactions/payflow-payment-info?transactionId={transactionId}
Authorization: Bearer {project-api-key}

Example Response

{
  "success": true,
  "data": {
    "payflowTransactionId": "B70A12345678",
    "result": "0",
    "resultMessage": "Approved",
    "avsAddr": "Y",
    "cvv2Match": "Y"
  }
}

Errors

  • 400 Bad Request — Invalid transaction ID or not a Payflow transaction.
  • 404 Not Found — Transaction or Payflow data not found.
  • 401 Unauthorized — Invalid API key.

Notes

  • This endpoint only works for transactions processed through PayPal Payflow Pro or Payflow Gateway.
  • Secure tokens are only available for transactions that used the secure token method.
  • Payflow result codes differ from standard response codes; refer to PayPal Payflow documentation.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

projectId
string<guid>
required

The unique identifier of the project containing the Payflow transaction (must match authenticated API key).

Query Parameters

transactionId
string<guid>

The unique identifier of the transaction for which to retrieve Payflow payment information.

Response

Always returned. Check the success property in the response body to determine if the query succeeded.

Standard response structure containing operation status and error information. Represents the response returned when querying Payflow payment information.

success
boolean

True if the operation completed successfully; false if an error occurred.

Example:

true

code
enum<string>

Result code indicating the outcome of the operation.

Available options:
Unknown,
Success,
BadRequest,
Unauthorized,
NotFound,
Error
Example:

200

errorMessage
string | null

Human-readable error message when an error occurs.

Example:

null

paymentInfo
object

Payflow billing and shipping details for the transaction.