Signed API request are required when interacting with:
/v1/balances/*
/v1/users/*
/v1/payouts/*
When generating an API Client key, youβll receive:
Public Key (Base58) β stored by Swapped
Private Key (Base58, 32 bytes) β used to sign requests
β οΈ
Your Commerce API Client private key is never stored by Swapped.
If lost, it cannot be recovered β generate a new key instead.
Signing Requests
Every signed API request must include a signature generated from a canonical string. This canonical string is a strict, concatenated sequence of values from the request β no separators, no whitespace, and no JSON formatting.