---
title: "Successful doc callback request"
description: "Retrieves details of a generated document after a successful callback, including its number, type, date, customer, currency, total and links to the original and copy PDFs."
source: https://docs.payplus.co.il/en/payplus/latest/post-successful-doc-callback-request
language: en
product: payplus
version: v1
updated: 2025-05-28
---

# Successful doc callback request

**POST** `/successful-doc-callback-request`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | API credential |
| `secret-key` | header | string | yes | API credential |

**Response 200** — Document details retrieved successfully.

```json
{
  "brand": {
    "name": "Company Name",
    "uuid": "67a8cc93-75ac-4832-8386-3eb5b24bf3d0"
  },
  "docUID": "1fa79282-61d1-4898-b7b9-afa67f46d34a",
  "number": "SCP/50042",
  "barcode": "472819632332439",
  "customer": {
    "uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
    "email": "johndoe@example.com",
    "phone": "123456789",
    "vat_number": "1231231",
    "subject_code": "987654321",
    "customer_name": "John Doe"
  },
  "doc_date": "2022-11-15",
  "doc_type": "inv_tax",
  "more_info": null,
  "currency_code": "ILS",
  "customer_uuid": "faa6280f-dba5-4889-9b15-de60e1527bdc",
  "copyDocAddress": "https://restapi.payplus.co.il/getdoc/s/c/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "originalDocAddress": "https://restapi.payplus.co.il/getdoc/s/o/1fa79282-61d1-4898-b7b9-afa67f46d34a.pdf",
  "validDocumentGenerated": true,
  "total_items_base_currency": 150
}
```
