Learn how Paylias manages authentication
X-PAYLIAS-API-KEY
header. You do not need to pass in any additional information or a password. If a key is not included, or an incorrect key is passed, we will return a 401 - Unauthorized
HTTP status code. You must also use HTTPS, as we will reject all API requests over plain HTTP.
API keys can be generated with scoped permissions to different resources as well as be assigned granularity through read and write access. This allows you to reduce the risk of a single API key compromising access to your entire Paylias account. However, we still recommend that your keys should never be exposed in any public forums, broadcasted internally within your organizations or saved in plain text inside your code repositories.
X-PAYLIAS-API-KEY
header, most endpoints also require the X-Org-ID
and X-Partner-ID
headers.
X-Org-ID
: This refers to the unique ID of your organization. You can find this on your dashboard or through the Login and Find Organization endpoints. An example organization ID looks like this org_d1qe2es20or1uciuv4h0
X-Partner-ID
: This refers to the unique ID of the namespace you’re making requests against. You can also find this on your dashboard or through the Search Namespaces endpoint. An example namespace ID looks like this part_d1qe2ms20or1uciuv4hg