> For the complete documentation index, see [llms.txt](https://api-portal.novapost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-portal.novapost.com/checklists/how-to-set-up-third-party-delivery-payments-via-nova-post-api.md).

# How to Set Up Third-Party Delivery Payments via Nova Post API

Nova Post allows you to configure third-party payments for delivery services. This means that delivery costs can be covered by a company that is neither the sender nor the recipient of the shipment.

This option is available to business customers who have an appropriate agreement with Nova Post.

In this guide, you will learn how to enable third-party payments, configure the necessary contractual settings, and provide the correct payer information when creating shipments via the Nova Post API.

### How Third-Party Payments Work

Let's say **Company A** wants to pay for deliveries arranged by **Company B**.

In this scenario:

* **Company A** is the third-party payer responsible for covering delivery costs.
* **Company B** creates shipments using the Nova Post API.
* **Nova Post** provides delivery services and applies the terms of the payer's agreement.

Before **Company A** can pay for shipments created by **Company B**, the appropriate contractual settings must be configured.

Once the setup is complete, **Company B** can create shipments via the API and designate **Company A** as the payer.

### Step 1. Contact Your Nova Post Manager

To enable third-party payments, contact your Nova Post account manager.

Inform your manager which company will be responsible for paying delivery costs and which companies it intends to pay for.

Your manager will help you arrange the necessary agreement or check whether your existing agreement supports third-party payments.

{% hint style="info" %}
**Important**: Third-party payments cannot be enabled through the API alone. The appropriate permissions must first be configured in your agreement with Nova Post.
{% endhint %}

### Step 2. Configure the Payer's Agreement

The company that will pay for deliveries on behalf of other companies must have an active agreement with Nova Post.

Two settings must be configured in the agreement:

<table><thead><tr><th width="160">Setting</th><th>Description</th></tr></thead><tbody><tr><td><code>Payment Options</code></td><td>Enable <code>Payment by a third party</code> to allow the company to pay for deliveries on behalf of other customers.</td></tr><tr><td><code>Linked Customer</code></td><td>Add the companies for which the payer is authorized to cover delivery costs.</td></tr></tbody></table>

For example, if **Company A** will pay for deliveries on behalf of `Company B`, the Nova Post manager must enable `Payment by a third party` in **Company A's** agreement and add **Company B** to the `Linked Customer` list.

If **Company A** later wants to pay for deliveries on behalf of **Company C**, it must contact its Nova Post manager to add **Company C** to the list of linked customers.

{% hint style="warning" %}
**Please note**: Having an agreement that supports third-party payments does not automatically allow a company to pay for deliveries on behalf of any other company. Payments are only permitted for companies included in the Linked Customer list of the relevant agreement.
{% endhint %}

### Step 3. Obtain the Payer's Agreement Number

Once the contractual settings have been configured, obtain the agreement number of the company responsible for paying delivery costs from your Nova Post manager.

You will need this number when creating shipments via the API.

For example:

* **Paying company**: Company A.
* **Company on whose behalf payment is made**: Company B.
* **Company A's agreement number**: `987654321` (example only).

Company A's agreement number must be provided in the payerContractNumber field.

{% hint style="info" %}
For customers from Ukraine, the payer's company identification code (EDRPOU) may also be used instead of the agreement number.
{% endhint %}

### Step 4. Provide the Payer Information in Your API Request

Once the agreement has been configured, you can create shipments with third-party payments using the Nova Post API.

To do this, include the following two parameters in your shipment creation request:

<table><thead><tr><th width="230">Parameter</th><th>Value</th></tr></thead><tbody><tr><td><code>payerType</code></td><td><code>ThirdPerson</code> — indicates that a third party is responsible for paying delivery costs.</td></tr><tr><td><code>payerContractNumber</code></td><td>The agreement number of the company responsible for paying delivery costs.</td></tr></tbody></table>

Both parameters are required when configuring third-party payments.

#### Example API Request

The following JSON example shows part of a shipment creation request in which Company A is designated as the payer.

```json
{
  "status": "ReadyToShip",
  "clientOrder": "1122334455",
  "note": "Electronics shipment",
  "payerType": "ThirdPerson",
  "payerContractNumber": "987654321",
  "invoice": {
    "incoterm": "DAP",
    "currencyCode": "EUR",
    "totalCost": 1000.00
  }
}
```

In this example:

* `payerType: "ThirdPerson"` — specifies that a third party will pay for the delivery.
* `payerContractNumber: "987654321"` — specifies the agreement number of **Company A**, which is responsible for the payment.

All other request parameters must be completed according to the requirements of the shipment creation API method.

This example demonstrates how to configure the payer information and does not include all fields required to create a shipment.

{% hint style="info" %}
**Important**: You do not need to include the list of linked companies (Linked Customer) in your API request. This information is already defined in the payer's agreement settings.
{% endhint %}

### Step 5. Verify Your Configuration

After updating your API request, create a shipment using the third-party payment option.

Before submitting the request, make sure the following conditions are met:

* The paying company has an active agreement with Nova Post.
* `Payment by a third party` is enabled in the agreement.
* The company on whose behalf the payment is made is included in the `Linked Customer` list.
* The `payerType` parameter is set to `ThirdPerson`.
* The `payerContractNumber` parameter contains the correct agreement number of the paying company.

After submitting the request, check that the shipment has been created successfully and that no payer-related errors have occurred.

If you encounter an error, verify the parameters provided in your API request and contact your Nova Post manager to confirm the contractual settings, or reach out to our support team at <sd@novapost.com>.

### Frequently Asked Questions

* **Can I designate a third party as the payer without an agreement with Nova Post?**\
  No. The paying company must have an active agreement with Nova Post that includes the appropriate third-party payment settings.
* **Can one company pay for deliveries on behalf of multiple companies?**\
  Yes. All companies for which the payer will cover delivery costs must be included in the `Linked Customer` list in the payer's agreement.
* **Do I need to include the list of linked companies in every API request?**\
  No. Once the agreement has been configured, you only need to provide `payerType: "ThirdPerson"` and the payer's agreement number in `payerContractNumber`.
* **Can I use an EDRPOU code instead of an agreement number?**\
  Yes. For customers from Ukraine, the paying company's EDRPOU identification code can be provided in the `payerContractNumber` field instead of the agreement number.
* **What should I do if I need to add another company to the list of companies covered by the payer?**\
  Contact your Nova Post manager to add the new company to the `Linked Customer` list in the payer's agreement.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://api-portal.novapost.com/checklists/how-to-set-up-third-party-delivery-payments-via-nova-post-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
