# System Resource Names

### System Resource Name (SRN)

*System Resource Name* is a typed identifier that may reference any object within the alfred ecosystem. 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 below:

<table data-full-width="false"><thead><tr><th>Type</th><th>Description</th></tr></thead><tbody><tr><td><code>api-key:</code></td><td><p>Your API Key for authentication</p><p>e.g.:<code>alfredpay.4dqd$jKwSpjnPT!J3U!QsL&#x26;7TfAQKPJa</code></p></td></tr><tr><td><code>api-secret:</code></td><td><p>Your API Secret for enhanced security</p><p>e.g.:<code>M992ASr4KnQkvI2)LN3qExWnzNuE2F3*</code></p></td></tr><tr><td><code>authorization:</code></td><td><p>Access token obtained from KYC Lite</p><p>e.g.:<code>ekutUTDKUJYyukfKUTDkutDKUTdYTD754675345.ityd</code></p></td></tr><tr><td><code>type:</code></td><td><p>Type of transaction </p><p>e.g. <code>in</code>  /  <code>out</code></p></td></tr><tr><td><code>balance:</code></td><td><p>Balance of user's wallet, if type is “in” (onramp) then balance is 0, when the type is “out” (offramp) you must set the balance crypto currency</p><p>e.g. <code>0</code></p></td></tr><tr><td><code>currency:</code></td><td><p>crypto currency withdraw or Deposit (BTC, USDT, USDC)</p><p>e.g. <code>USDC</code></p></td></tr><tr><td><code>user:</code></td><td><p>An alfred user, user's wallet, username, email or phone number </p><p>e.g. <code>fulano</code></p></td></tr><tr><td><code>chain:</code></td><td><p>Blockchain can be stellar, ethereum, bitcoin LN, or Network Banking number</p><p>e.g. <code>stellar</code></p></td></tr><tr><td><code>initial transaction:</code></td><td><p>Unique Transaction number issues</p><p>e.g. <code>c8482ef1-0729-4ed8-83ed-0a57e746ecfe</code></p></td></tr><tr><td><code>phonenumber:</code></td><td><p>A cellphone number</p><p>e.g. <code>cellphone:+15555555555</code></p></td></tr><tr><td><code>email:</code></td><td><p>An email address</p><p> e.g. <code>email:dev@alfredpayt.io</code></p></td></tr><tr><td><code>firstname:</code></td><td><p>User's first name </p><p>e.g.<code>John</code></p></td></tr><tr><td><code>lastname:</code></td><td><p>User's Last name</p><p>e.g.<code>Doe</code></p></td></tr><tr><td><code>fullname:</code></td><td><p>User's full name</p><p>e.g.<code>John Doe</code></p></td></tr><tr><td><code>address:</code></td><td><p>Address of user</p><p>e.g. <code>Calle Buenos Aires</code></p></td></tr><tr><td><code>city:</code></td><td><p>City of residence</p><p>e.g. <code>Buenos Aires</code></p></td></tr><tr><td><code>country:</code></td><td><p>Country of residence</p><p>e.g. <code>ARG</code></p></td></tr><tr><td><code>countrywithdraw:</code></td><td><p>Country where withdrawal will take place //ISO Format, it also can be to use to deposit.</p><p>e.g. <code>ARG</code></p></td></tr><tr><td><code>zip:</code></td><td><p>Zip code of User or Bank</p><p>e.g. <code>1020</code></p></td></tr><tr><td><code>birthday:</code></td><td><p>User's date of birth</p><p>e.g. <code>1987-04-12</code></p></td></tr><tr><td><code>id:</code></td><td><p>ID number of an individual user</p><p>e.g. <code>a35468sgrgr84</code></p></td></tr><tr><td><code>bankName:</code></td><td><p>Name of the bank </p><p>e.g. <code>Banco Industrial de Argentina</code></p></td></tr><tr><td><code>bankNumber:</code></td><td><p>Number given to specify an individual bank </p><p>e.g. <code>345854122904778</code></p></td></tr><tr><td><code>bankAccountOwner:</code></td><td><p>The owner is obtained by token user, if the value is different, it will take the full name token </p><p>e.g. <code>JohnFulanoDoe</code></p></td></tr><tr><td><code>countryCode:</code></td><td><p>Specific code to specify the country </p><p>e.g. <code>ARG</code></p></td></tr><tr><td><code>amount:</code></td><td><p>Amount being withdrawn </p><p>e.g. <code>0.5</code></p></td></tr><tr><td><code>withdrawalPhone:</code></td><td><p>A cellphone number</p><p>e.g. <code>"+584241256099"</code></p></td></tr><tr><td><code>businessInitTx:</code></td><td><p>Can be found in uid - myinfo </p><p>e.g.<code>"24d00b1f-3d3d-4139-ad2c-479f3fc00573"</code>  </p></td></tr><tr><td><code>BusinesssTo:</code></td><td><p>Business ID number </p><p>e.g. <code>"10"</code></p></td></tr><tr><td><code>exchangeId:</code></td><td><p>Identification for an exchange </p><p>e.g.<code>"1b59639d-093b-4b3a-b82c-bb0ea57719ca"</code></p></td></tr><tr><td><code>typeProcesor:</code></td><td><p>Type of Institution processing transaction </p><p>e.g.<code>"Bank"</code></p></td></tr><tr><td><code>status:</code></td><td><p>Based on the desired action either status can appear </p><p>e.g. <code>"approved"</code> <code>"rejected"</code> <code>"cancel"</code> </p></td></tr><tr><td><code>invoicehash:</code></td><td><p>Specific Invoice Hash </p><p>e.g.<code>"Secret_Value_Here"</code></p></td></tr><tr><td><code>formdata:</code></td><td><p>value docType can be either: </p><p>e.g.<code>Selfie</code> <code>idCardFront</code> <code>idCardBack</code></p></td></tr></tbody></table>
