Skip to main content
The Product Information API is the first endpoint you must implement. When a customer initiates a payment through VTPE, the platform calls your server to retrieve the payment details for a specific reference.

Endpoint

Authentication

VTPE authenticates each request with the following headers: Your handler must validate the Authorization header before returning any data.

Path Parameters

string
required
The unique payment reference generated by your system.

Response Fields

string
required
The unique payment reference.
number
required
The total amount to be paid.
string
required
The currency code (for example, DZD).
array
Breakdown of the total amount. Each item contains:
  • label_ar: Arabic label
  • label_en: English label
  • label_fr: French label
  • value: Amount value
array
Additional payment details. Each item contains:
  • label_ar: Arabic label
  • label_en: English label
  • label_fr: French label
  • value: Detail value

Implementation Examples

Response Example

Error Responses

For more details on error handling, see the Errors guide.