---
title: "Canada Post Third Party Billing"
app: "Dynamic Ship"
section: "Set up"
last_updated: "2023-08-15"
url: "https://insight-works.com/kb/dynamic-ship/canada-post-third-party-billing/"
---

# Canada Post Third Party Billing

Canada Post has a complex third-party billing procedure that requires you to authorize your account to bill them. You need to enable separate Canada Post accounts configured with billing from the third party. Each third party account requires a separate Canada Post account assigned to its own EasyPost carrier.

You must be able to ship from Canada Post using the **Account** method. The following information is required later:

- Their account number
- Their contract number
- Their paid by number

### Configure a new third party account

1. Go to Canada Post’s [registration page](https://www.canadapost-postescanada.ca/pca/register/).
2. Create a business profile.
3. Complete the form.
4. Choose Enterprise for the profile type.
5. Input the Customer number in the _Company_ field.
6. Input the contract number, in the _Contract_ field, of the third party you want to bill.
7. Confirm registration.
8. Go to the following page.
9. Select Developer Program from the navigation bar on the left.
10. Select **Join Now**.
11. The production API key and password are required for _Add account details_ below.

The _Production’s_ _Key Number (username : password)_ is the API key you need to use for the account.

Note:

- Follow the [Canada Post Guide](https://www.easypost.com/canada-post-guide) from EasyPost to add a new carrier.
- You cannot have multiple accounts attached to your Canada Post account when registering a new account with EasyPost. Multiple accounts are valid only when shipping on [the Canada Post web site](http://canadapost.ca/webservices), but they must be temporarily removed from the API section of your account while registering.
- To automate the billing, you will need to configure a [package option template](/kb/dynamic-ship/how-to-bill-shipping-fees-to-a-customers-account/) for the carrier to specify the third party account.
- Canada Post settings cannot be directly edited on the [EasyPost Carrier list](https://www.easypost.com/account/carriers). If you need to make a correction, delete the old carrier, and then add a new carrier. Otherwise, a programmer can use the instructions below to manually add account details.

### Manually Add Account Details

You can also add the account details to EasyPost via curl or another method. Add account details by completing the following:

1. Download curl [here](https://curl.se/download.html) (runs from within “curl-7.67.0-win64-mingw\\bin\\curl.exe”).
2. Use the following curl command:

curl -X POST https://api.easypost.com/v2/carrier\_accounts/ ^

-u PROD-API-KEY: ^ -d “carrier\_account[type]=CanadaPostAccount” ^ -d “carrier\_account[description]=OPTIONAL” ^ -d “carrier\_account[credentials][customer\_number]=10DIGITS” ^ -d “carrier\_account[credentials][contract\_id]=10DIGITS” ^ -d “carrier\_account[credentials][api\_key]=USER:PASS” ^ -d “carrier\_account[credentials][has\_credit\_card]=false” ^ -d “carrier\_account[credentials][not\_platform]=true” ^ –cacert curl-ca-bundle.crt

1. Use the same customer and contract number used in _Configure a new third party account_ above (pad to 10 digits with leading zeros if needed).
2. Enter API key without the spaces (e.g., abc:def).
3. Pass the Paid-By-Number in the _Bill Third Party Account No._ field of the Package Options and/or Package Options Template (pad to 10 digits with leading zeros if needed).

For assistance in adding your account to EasyPost, contact Support.

For issues adding your account to Canada Post, contact your Canada Post account representative.
