Skip to main content
POST
Redeem enrollment code

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
code
string
required

The enrollment code the consumer gave you, with or without display hyphens.

Required string length: 1 - 64
Pattern: ^[^\x00]{1,64}$

Response

OK

pairwise_subject
string
required

Stable identifier for this consumer at your sector. The only identifier Closient ever gives you for them; it cannot be correlated with any other retailer's.

created for a new link, reactivated when the consumer had unlinked earlier, already_linked when the link was already active.

Available options:
created,
reactivated,
already_linked