---
updatedAt: 2026-11-09T10:15:10.000Z
agentTools:
  projectIndex: https://docs.developer.rabobank.com/payments/llms.txt
---

# Details of a payment request by id

Returns a payment request using provided Id for the user that is logged in

<Callout icon="👍" theme="okay">
  Unsure on where to begin? Checkout out our [Guide on Payment Request](https://docs.developer.rabobank.com/payments/docs/product-overview-pr)
</Callout>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "title": "Payment Request",
    "version": "2.2.12a",
    "x-api-id": "755eb72d-959e-4c16-9af7-5d3005b88788",
    "x-audience": "business-unit-internal",
    "x-ibm-name": "payment-request"
  },
  "servers": [
    {
      "url": "https://api.rabobank.nl/openapi/payments",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.rabobank.nl/openapi/sandbox/payments",
      "description": "Sandbox server"
    }
  ],
  "paths": {
    "/payment-requests/{id}": {
      "get": {
        "parameters": [
          {
            "description": "This is the internal id of the particular Payment Request and present in the response of the POST or GET /payment-requests call.",
            "example": "2f280203-fb0f-43db-ac3b-3211d3b98f22",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "This is the unique ID of Initiating Party for the request",
            "example": "95126d8f-ae9d-4ac3-ac9e-c357dcd78811",
            "in": "header",
            "name": "x-request-id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPaymentRequestResponse"
                }
              }
            },
            "description": "Successfully retrieved GetPaymentRequestResponse"
          },
          "403": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "errorCode": "NOCONSENTSPECIFIED_ERROR",
                      "errorMessage": "No consent specified"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Invalid consent information specified"
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "errorCode": "TECHNICAL_ERROR",
                      "errorMessage": "Unexpected exception occurred"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Retrieving GetPaymentRequestResponse failed due to some server error"
          }
        },
        "tags": [
          "payment-request-service"
        ],
        "deprecated": false,
        "description": "Returns a payment request using provided Id for the user that is logged in",
        "operationId": "getPaymentRequest",
        "summary": "Details of a payment request by id"
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "properties": {
          "errorCode": {
            "enum": [
              "TECHNICAL_ERROR",
              "VALIDATION_ERROR",
              "NOTFOUND_ERROR",
              "NOCONSENTSPECIFIED_ERROR",
              "CONSENTNOTVALIDFORACCOUNT_ERROR",
              "CERTIFICATE_VALIDATION_ERROR",
              "SIGNATURE_VALIDATION_ERROR"
            ],
            "type": "string",
            "xml": {
              "attribute": false,
              "name": "errorCode",
              "wrapped": false
            }
          },
          "errorMessage": {
            "description": "the error message",
            "example": "Unkown error",
            "type": "string",
            "xml": {
              "attribute": false,
              "name": "errorMessage",
              "wrapped": false
            }
          }
        },
        "title": "Error",
        "type": "object"
      },
      "GetPaymentRequestResponse": {
        "properties": {
          "currentDateTime": {
            "description": "current datetime",
            "example": "2018-09-17T15:43:51.459Z",
            "format": "date-time",
            "type": "string"
          },
          "paymentRequestWithMetadata": {
            "$ref": "#/components/schemas/PaymentRequestWithMetadata"
          }
        },
        "title": "GetPaymentRequestResponse",
        "type": "object"
      },
      "PaymentRequest": {
        "properties": {
          "accountIban": {
            "description": "iban of the requester",
            "example": "NL19RABO0123456790",
            "type": "string"
          },
          "accountName": {
            "description": "name of the requester",
            "example": "The Requester",
            "type": "string"
          },
          "accountSegment": {
            "description": "The segment of the request",
            "enum": [
              "RETAIL",
              "BUSINESS"
            ],
            "example": "BUSINESS",
            "type": "string"
          },
          "amountCents": {
            "description": "payed amount in cents",
            "example": 10000,
            "format": "int32",
            "type": "integer"
          },
          "clientReference": {
            "description": "If this was a BUSINESS request the clientReference can be filled in",
            "example": "TEST ref",
            "type": "string"
          },
          "created": {
            "description": "datetime of creation",
            "example": "2018-09-17T15:43:51.459Z",
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "description": "currency, only EUR",
            "example": "EUR",
            "type": "string"
          },
          "description": {
            "description": "Description",
            "example": "Can you please pay me for the present",
            "type": "string"
          },
          "expired": {
            "type": "boolean"
          },
          "hasVariableAmount": {
            "description": "If variable amount is true the payer can determine the amount to be payed",
            "example": false,
            "type": "boolean"
          },
          "id": {
            "description": "request Id",
            "example": "fe129503-4141-4f6e-967d-5bdb5b1fd630",
            "format": "uuid",
            "type": "string"
          },
          "numPayers": {
            "description": "Number of payers",
            "example": 1,
            "format": "int32",
            "type": "integer"
          },
          "transactions": {
            "items": {
              "$ref": "#/components/schemas/PaymentRequestTransaction"
            },
            "type": "array"
          }
        },
        "title": "PaymentRequest",
        "type": "object"
      },
      "PaymentRequestTransaction": {
        "properties": {
          "accountIban": {
            "description": "iban of the payer",
            "example": "NL00RABO0000000000",
            "type": "string"
          },
          "accountName": {
            "description": "name of the payer",
            "example": "The Payer",
            "type": "string"
          },
          "amountCents": {
            "description": "amount in cents",
            "example": 10000,
            "format": "int32",
            "type": "integer"
          },
          "chosenAmountCents": {
            "description": "the chosen amount in cents",
            "example": 500,
            "format": "int32",
            "type": "integer"
          },
          "id": {
            "description": "transaction Id",
            "example": "800b42aa-9a8d-4e5e-a955-bda223e1e80f",
            "format": "uuid",
            "type": "string"
          },
          "tsPaid": {
            "description": "datetime when it was paid",
            "example": "2018-09-17T15:43:51.459Z",
            "format": "date-time",
            "type": "string"
          }
        },
        "title": "PaymentRequestTransaction",
        "type": "object"
      },
      "PaymentRequestWithMetadata": {
        "properties": {
          "paymentPageUrl": {
            "example": "https://fake.nl/fakebetaalverzoek/?id=_hKVA0FBT26WfVvbWx_WMA",
            "type": "string"
          },
          "paymentRequest": {
            "$ref": "#/components/schemas/PaymentRequest"
          }
        },
        "title": "PaymentRequestWithMetadata",
        "type": "object"
      }
    },
    "securitySchemes": {
      "clientId": {
        "description": "ClientId as provided by the Rabobank developer portal.",
        "in": "header",
        "name": "X-IBM-Client-Id",
        "type": "apiKey"
      },
      "oauth2_premium_access_code_flow_payment-request": {
        "description": "NOTE Please use the Authorization and Token URL as provided by the oAuth2 Services. Scope: prs.paymentrequest.read-write",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://oauth.rabobank.nl/openapi/oauth2-premium/authorize",
            "scopes": {
              "prs.paymentrequest.read-write": "Consent for payment request"
            },
            "tokenUrl": "https://oauth.rabobank.nl/openapi/oauth2-premium/token"
          }
        },
        "type": "oauth2",
        "x-ibm-oauth-provider": "access-authorization-1-0-0-8e24"
      }
    }
  },
  "security": [
    {
      "clientId": [],
      "oauth2_premium_access_code_flow_payment-request": [
        "prs.paymentrequest.read-write"
      ]
    }
  ],
  "tags": [
    {
      "description": "Payment request public endpoints",
      "name": "payment-request-service"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false
  }
}
```