Guides
Get started
Create a Payjar account, copy your test keys, and take one test payment.
You need a Payjar account before you can take a payment. Registration is free. A test payment does not move real money.
Create your account
Register a store, then copy the test public key and the test secret key from the dashboard.
Create an account#
Register and you get a store plus a set of test keys. Sign in later at payjar.net/login.
Copy your keys#
- Put the public key (
pk_test_...) in your website. It is safe in a browser. - Put the secret key (
sk_test_...) on your server only. A mobile app should call your server, not Payjar, with that key.
The full key table is on the Overview.
Take a test payment#
- Website. Add one script and call
Payjar.checkout(). Follow Popup checkout. - App or your own screen. Create the payment on your server, then show the account number. Follow Mobile and API checkout.
Confirm the payment#
Deliver the order only after your server sees status success. Use verify or a webhook. While you are building, simulate a successful transfer.
Go live#
When a test payment works, switch the store on for live payments and use the live keys. Read Go live and test mode.
Ready to register?
Create the account, then come back for the popup or the API.
