Create API credentials in the Paxos Dashboard and export them as environment variables.
If you don’t have a Sandbox account, sign up here.
Create a file called
main.py with the following code. This example creates a client, lists your profiles, and prints the result.import os
import paxos
client = paxos.Client(
client_id=os.environ["PAXOS_CLIENT_ID"],
client_secret=os.environ["PAXOS_CLIENT_SECRET"],
sandbox=True,
)
# List profiles
for profile in client.profiles.list_profiles(limit=10):
print(f"Profile: {profile.id} ({profile.nickname})")
Next Steps
- Learn how the SDK manages Authentication automatically
- Explore Error Handling patterns
- Set up the Sandbox environment for testing
- Browse the Transfers service reference