Rotate Public Key
Use this endpoint to change your public key that is stored by Splitit (you should never share a private key with Splitit). In this scenario, Splitit uses your public key to encrypt data sent to you, to verify that communication that came from you is actually from you.
- Used to PGP-encrypt outgoing traffic from Splitit, such as reports and credentials
- Used by Splitit to authenticate your signatures (RSA key-pair authentication)
Request Body — REQUIRED |
---|
OwnerCode string — REQUIREDGiven to you by Splitit support, same as Owner in other calls |
Usage string[] — REQUIREDPossible values: [ |
Type string — REQUIREDPossible values: [ |
PublicKey string — REQUIREDE.g., "sU9tOVHOcM6jPOjjWZpXZs4V0cmc01BZfChF5afrj71Dz2COn2" |
ExpirationUtc date-time — REQUIREDE.g., 2024-07-06T15:46:26.409Z |
RelatedClientId string |
Responses | |||||||
---|---|---|---|---|---|---|---|
200
| |||||||
400
| |||||||
404
| |||||||
500
|