SRNs

System Resource Names - Referencing objects within Wyre's platform

System Resource Name (SRN)

SRN stands for System Resource Name. It is a typed identifier that may reference any object within the Wyre platform. Many of our API calls and data schemas leverage SRNs in order to add flexibility and decouple services. All SRNs follow the same URI-like format:

type:identifier

Some common types you are likely to encounter from our API

TypeDescription
contact:A contact id, eg. contact:567a93fb
paymentmethod:A payment method such as a bank account, e.g. paymentmethod:PA_XXXXXXXX
email:An email address, e.g. email:[email protected]
cellphone:A cellphone number, e.g. cellphone:+15555555555
bitcoin:Bitcoin blockchain addresses. e.g. bitcoin:1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2

NOTE: TestWyre expects a Bitcoin testnet address i.e. bitcoin:n4VQ5YdHf7hLQ2gWQYYrcxoE5B7nWuDFNF
ethereum:Ethereum blockchain address. e.g.
ethereum:0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413

NOTE:
Transfers of ERC-20 tokens use the "ethereum:" SRN .
avalanche:Avalanche (AVAX) blockchain address. e.g.
avalanche:X-fuji159ney792ctzweqfhuc39rkp0h8fsmzjhu4fjk4

NOTE:
This is an X-Chain address
stellar:Stellar (XLM) blockchain address. e.g.
stellar:GD7WXI7AOAK2CIPZVBEFYLS2NQZI2J4WN4HFYQQ4A2OMFVWGWAL3IW7K:LEMNM383ACX

NOTE:
Transfers from an external stellar address will require the User ID in the memo (LEMNM383ACX)
matic:Polygon (MATIC) blockchain address.
flow:Flow blockchain address. e.g.
flow:0xead892083b3e2c6c
account:A Wyre account, e.g. account:AC_XXXXXXXX
user:A Wyre user, e.g. user:US_XXXXXXXX
wallet:A single wallet that can hold cryptocurrency, e.g. wallet:WA_XXXXXXXX
transfer:A transfer (possibly including a conversion) of currency
:achThis is attached as a suffix to the payment method when pulling funds into an account via ACH.

Example:
"source": "paymentmethod:PA-W7YN28ABCHT:ach"