List your Payment API keys
curl -X GET "https://test-api.kashier.io/v2/merchants/api-keys"{ "body": [ { "mode": "test", "isInternal": false, "merchantId": "MID-123-456" } ], "message": "success"}Returns the Payment API keys on your merchant account — the keys used to compute the
Kashier-Hash order hash and to verify redirect and webhook signatures. Payment API
keys are not bearer credentials: you never send one as Authorization.
Only keys for the environment you are calling are returned. A call to
test-api.kashier.io sees only test keys, a call to api.kashier.io only live keys —
there is no way to list the other environment's keys from here, and the two are never
interchangeable. Kashier's own internal keys are filtered out.
Requires the API-key permission on your user's role.
Authorization
secretKey Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
Get the categories on a payment page (public) GET
Returns the categories used by the products on a published product payment page, looked up by the page's link identifier. Unauthenticated, because the payment page itself calls it while a customer…
Create a Payment API key PUT
Issues a new Payment API key. Despite being a create, the verb is PUT and the operation is selected by a required operation=apiKey.create query parameter — omit it and the call is rejected. The key…