Basic Authentication

Our Basic Authentication method requires that you place the partnerId and partnerKey in the authentication header.

Build a Basic Authentication Header

  1. Concatenate your partnerId and partnerKey with a : separator.
  1. Base64 encode the string.
base64Encode( WATERFORD:ef1ad938150fb15a1384b883a104ce70 )

  1. Build the Basic Auth Header.
authorization: Basic V0FURVJGT1JEOmVmMWFkOTM4MTUwZmIxNWExMzg0Yjg4M2ExMDRjZTcw


curl '' \
    -X POST \
    --header 'Content-Type: application/json' \
    --header 'Accept: application/json' \
    --header 'authorization: Basic V0FURVJGT1JEOmVmMWFkOTM4MTUwZmIxNWExMzg0Yjg4M2ExMDRjZTcw' \
    -d '{
            "reference"  : "723f57e1-e9c8-48cb-81d9-547ad2b76435"

Did this page help you?