POST /publishablekeys

Create a new publishable key for JavaScript Tokenization. Each publishable key is unique to a merchant, and different between Test and Production environments.

Example Request

curl -X POST https://api.payjunction.com/publishablekeys \
-u "login:password" \
-H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY"

Example Response

{
"keyValue" : "key_lBS6jSeRfXZ5e7BRfS0bA4QEWvzCIXTN9klugQNT7ywPvc1LYFTabGWgxEQxXjTsZpyhdHvCNDKPGI0wk74J3Q",
"created" : "2021-12-09T15:47:53Z"
}