Payment Credentials lets you programmatically manage the API keys associated with your merchant account. Use it to create additional credential sets, rotate keys when they are compromised, control which credentials are active, and keep your integrations organised with aliases and metadata.
Prerequisite — Credential Master user
All endpoints require a master credential to authenticate. This master credential is tied to a Credential Master user account, which Kushki provisions on demand. Contact your Kushki account team to request one.
Call PATCH /payment-credentials/v1/credential/{credentialId} to change the alias or metadata of an existing credential. The public/private keys are not affected.
Call PATCH /payment-credentials/v1/credential/recover/{public_credential_id} to rotate the public and private keys for a credential. Kushki automatically propagates the new keys to all active integrations that were using the old ones.
WARNING
Key rotation is immediate. Ensure your systems can handle the transition before regenerating keys in production.
Call DELETE /payment-credentials/v1/credential/{credentialId} to permanently remove a credential. This action cannot be undone — any integration still using the deleted credential will immediately stop working.