Skip to content

Generate a new key for encrypting card payment fields

POST
/payments/card/encryption-keys
curl --request POST \
--url https://api.paygasus.com/payments/card/encryption-keys \
--header 'Authorization: Bearer <token>'

Credential Key generated

Media typeapplication/json
object
expires_at
required
string format: date-time
id
required
string
public_key
required
string
scheme
required
string
Allowed values: RSA_OAEP_SHA256_V1
Example
{
"scheme": "RSA_OAEP_SHA256_V1"
}