Skip to main content
POST
Register an ERC-20 (including B20) for DIRECT credentials

Authorizations

Authorization
string
header
required

API key prefixed with 'Bearer sx_live_...'

Body

application/json
contract
string
required
Example:

"0x1234...abcd"

network
enum<string>
default:eip155:8453
Available options:
eip155:8453,
eip155:84532
symbol
string

Optional symbol override (falls back to the on-chain symbol()).

source
enum<string>
default:byo
Available options:
byo,
b20

Response

Registered (or already registered)

token
object

A registered ERC-20 for DIRECT settlement. source byo = your ERC-20; source b20 = a B20 token (ERC-20 compatible), including Credential Tokens.

already_added
boolean