SRNs
An SRN is a 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 format:
type:identifier
Some common types you are likely to encounter from our API include the following:
contact: A contact id, eg. contact:567a93fb
paymentmethod: A payment method such as a bank account
email: An email address, e.g. email:[email protected]
cellphone: A cellphone number, e.g. cellphone:+15555555555
bitcoin: Blockchain addresses
account: A Wyre account
invoice: An invoice
merchant: A Wyre merchant
wallet: A single wallet that can hold monies
transfer: A transfer (possibly including a conversion) of currency