Request Headers
Every request that VTPE sends to your endpoints includes the following headers.Response Format
All responses must be valid JSON.- Product Information API (
GET /{reference}): Return a JSON object containing the payment details for the requested reference. See Get Payment for the full schema. - Webhook handler (
POST /webhooks/vtpe): Return HTTP 200 with the following JSON body to acknowledge receipt:
Error Format
When your endpoint returns an error, use this JSON structure:Endpoints
Your integration must expose these two endpoints:- Product Information API —
GET {API_URL}/{reference}: Returns payment details for a given reference. - Webhook Handler —
POST {API_URL}/webhooks/vtpe: Receives payment lifecycle events from VTPE.
