Skip to main content

Validate payment page by reference

This endpoint allows you to validate if a payment page exists (by its reference). This is useful for checking for slug uniqueness before creating a new payment page.

Endpoint

GET /PaymentPages/ValidatePaymentPageLinkRefernce/{{ reference }}

Headers

Authorization: Bearer

To authorize this API request, you need to include your privateKey as a bearer token. This is done by setting the Authorization header in your request. The header should have the format:

Authorization: "Bearer privateKey"

See how to find your private key on your dashboard here.

Request Body

  • reference (string, required): The reference of the payment page.
Response (200) - Payment page exists
  {
"responseCode": "00",
"responseMessage": "Reference validated successfully",
"data": {
"isValid": true
}
}