Skip to content

Cancel Stamps ERR

Request

This operation cancels (voids) stamps generated for ERR (Electronic Return Receipt).

  • User needs to provide *Shipment IDs in the stampIds array to cancel those specific ERR stamps.
  • User can download the Refund Form having details of generated Postage.
  • At once, maximum 1000 stamps can be requested for cancelation.
Security
bearerAuth
Headers
X-PB-Developer-Partner-IDstring

The Developer Partner ID is assigned by PB to uniquely identify a Developer's strategic business partners. If the developer is the sole business partner, this field is not required.

Bodyapplication/jsonrequired
stampIdsArray of strings

This is a list of StampIDs which is used for cancelling ERR postage.

Example:
[ "USPS2200000000000008" ]
curl -i -X POST \
  https://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/err/stamps/void \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-PB-Developer-Partner-ID: string' \
  -d '{
    "stampIds": [
      "USPS2200000000000008"
    ]
  }'

Responses

Stamps Refund Form has been generated.

Bodyapplication/json
refundFormUrlstring

This is the Refund Form having postage details

Example:"https://api-sandbox.pitneybowes.com/shippingservices/refund-form/210000000000000000/Stamps_Refund_Form.pdf"
Response
{ "refundFormUrl": "https://api-sandbox.pitneybowes.com/shippingservices/refund-form/210000000000000000/Stamps_Refund_Form.pdf" }