Credentials, merchants, transactions, and webhook endpoints are separate in
each environment. Generate your credentials from the Developers page in that
environment’s dashboard, and send requests to the matching base URL.
A staging token only works against the staging API, and a live token only
against production. The
test / live prefix on your credentials tells you
which environment they belong to.