CPL API
Useful links
  • Developer
  • Sandbox
Useful links
  • Developer
  • Sandbox
Přepni do češtiny
  1. Customer
  • Back to home
  • API Methods
  • AccessPoint
    • List of access points
  • AddressWhisper
    • Address Whisperer
  • Codelist
    • Codelist for the beneficiary's age verification service
    • Codelist product
    • Codelist externalNumbers
    • Codelist country + COD authorization
    • Codelist currency
    • Method for obtaining the services provided for shipments.
    • A method for obtaining minimum and maximum values ​​for services
    • Codelist shipment phase
    • Codelist status
    • Codelist of validation messages
    • Types of personal documents
  • Customer
    • Customer information - permitted currencies
      GET
    • Customer addresess
      GET
  • Data
    • Single label print
  • Info
    • /info
  • Order
    • Order tracking
  • OrderBatch
    • Create an order
    • Get order status
  • OrderEvent
    • Order cancel
  • Shipment
    • Shipment tracking
  • ShipmentBatch
    • Shipment creation
    • Used to modify the output format of the label.
    • Getting import state
    • Pick up label
  • ShipmentEvent
    • Shipment cancel
    • Adding informations to shipment
  • VersionInformation
    • News
  1. Customer

Customer information - permitted currencies

GET
/customer
Maintainer:Not configured

Meaning and purpose#

The GET /customer method ensures that the application retrieves a list of bank accounts and related information registered for the given customer (sender). This overview is especially useful if:
You are sending shipments abroad and need to know in which currency cash on delivery (COD) can be accepted, or
You want to have SWIFT/BIC codes and bank details available for a specific country.
Thanks to the response from this method, it is possible to determine which accounts the sender has registered with PPL, allowing you to dynamically decide in which currency (and via which account) payments will be settled, especially in the case of COD.

Request

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/customer' \
--header 'Accept-Language;' \
--header 'X-Correlation-ID;' \
--header 'X-LogLevel;'

Responses

🟢200OK
application/json
Success
Headers

Body

Example
{
    "accounts": [
        {
            "bankCode": "0100",
            "country": "CZ",
            "currency": "CZK",
            "swift": "KOMBCZPP"
        }
    ]
}
🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
🔴503Service Unavailable
Modified at 2025-02-07 13:00:52
Previous
Types of personal documents
Next
Customer addresess