{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"ebd7b6b4-e3d4-a79c-d07c-fe5f9e227d36","name":"Abra Master Teller API Examples","description":"**Abra Teller Admin**\n\n**API v1.2**\n\n**Basics**\n\nThe url prefix for the API is [https://teller-admin.abra.xyz/v1/](https://teller-admin.abra.xyz/v1/)\n\nAll responses and POST request bodies use a JSON data format. Any changes to the specified requests or responses that remove or change existing JSON values will be accompanied by a new version in the url prefix. Additional parameter options or data values in responses might be added without changing the version so please ensure that your implementation can accommodate new values.\n\nAll calls to the API must be made over secure connections via https.\nAll calls to the API must be authenticated using basic auth.\nThe name to use is your teller_id and the password is your api_key.\n\nPlease contact Abra if you did not receive your teller_id or api_key.\n\n**Note on Setup: **In order to use the API, you must first setup locations and tellers through the admin web interface.  That can be found at [https://teller-admin.goabra.com](https://teller-admin.goabra.com)\n\n**Sandbox**\n\nThe sandbox is a separate instance of the master teller system for testing.\n\nYou will need a different teller_id and api_key for the sandbox.\n\nThe url prefix for the sandbox API is [https://teller-sandbox.abra.xyz/v1/](https://teller-sandbox.abra.xyz/v1/)\n\nThe sandbox web interface can be found at [https://teller-sandbox.goabra.com](https://teller-sandbox.goabra.com)\n\n**Data Types**\n\nHere are some common JSON data structures used in the API:\n\n**Money**\n<table>\n  <tr>\n    <th>Attribute</th>\n    <th>Type</th>\n    <th>Description</th>\n  </tr>\n  <tr>\n    <td>currency</td>\n    <td>String</td>\n    <td>The currency of the money using the ISO-4217 currency code.  Both uppercase and lowercase codes are accepted (i.e. \"PHP\" and \"php\").</td>\n  </tr>\n  <tr>\n    <td>amount</td>\n    <td>Integer</td>\n    <td>The amount of money in the smallest units of the currency.  For example, USD uses two decimal places so $5.00 would be represented by a value of 500 with a currency of USD.</td>\n  </tr>\n</table>\n\n**Timestamp**\n<table>\n  <tr>\n    <th>Type</th>\n    <th>Description</th>\n  </tr>\n  <tr>\n    <td>String</td>\n    <td>The time represented as an ISO-8601 datetime (i.e. 2016-07-14T10:27:05+00:00).</td>\n  </tr>\n</table>\n\n**Error**\n<table>\n  <tr>\n    <th>Attribute</th>\n    <th>Type</th>\n    <th>Description</th>\n  </tr>\n  <tr>\n    <td>code</td>\n    <td>Integer</td>\n    <td>A numeric code indicating the error that occurred</td>\n  </tr>\n  <tr>\n    <td>message</td>\n    <td>String</td>\n    <td>A short description of the error</td>\n  </tr>\n</table>\n\n\n**Responses**\n\nAll API calls use the HTTP status code to indicate the overall response.  Common status codes are described in the table below and other call specific status codes are described in the documentation for the individual call.  Both success and error responses will return data in a JSON format.  Error responses will contain an error JSON object.\n\n<table>\n  <tr>\n    <th>Status Code</th>\n    <th>Description</th>\n  </tr>\n  <tr>\n    <td>200</td>\n    <td>Success</td>\n  </tr>\n  <tr>\n    <td>400</td>\n    <td>Bad Request – provided payload is not the correct structure</td>\n  </tr>\n  <tr>\n    <td>401</td>\n    <td>Unauthorized – need to provide valid authentication credentials</td>\n  </tr>\n  <tr>\n    <td>403</td>\n    <td>Forbidden – the logged-in user isn't allowed to take this action or access this resource</td>\n  </tr>\n  <tr>\n    <td>404</td>\n    <td>Not Found – unable to find the requested resource</td>\n  </tr>\n  <tr>\n    <td>429</td>\n    <td>Too Many Requests – if there have been too many requests in a short time</td>\n  </tr>\n</table>\n\n\nSuccessful responses will result in a 200 HTTP response code while errors or other responses will return different response codes described in the table above or documented in the individual calls.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"1053557","team":37337,"collectionId":"ebd7b6b4-e3d4-a79c-d07c-fe5f9e227d36","publishedId":"6YvTaoa","public":true,"publicUrl":"https://teller-api-docs.goabra.com","privateUrl":"https://go.postman.co/documentation/1053557-ebd7b6b4-e3d4-a79c-d07c-fe5f9e227d36","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","version":"8.11.6","publishDate":"2017-03-23T20:48:48.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Abra Master Teller API Example.template","id":"d4fa3466-dfc3-0919-c8f0-15f20aa55c93","owner":"1053557","values":[{"enabled":true,"key":"API_base_URI","value":"https://teller-sandbox.abra.xyz","type":"text"},{"enabled":true,"key":"api_key","value":"<API KEY FROM WELCOME EMAI>","type":"text"},{"enabled":true,"key":"teller_id","value":"<TELLER ID FROM WELCOME EMAIL>","type":"text"},{"enabled":true,"key":"customer_country_code","value":"<COUNTRY CODE OF YOUR TEST PHONE>","type":"text"},{"enabled":true,"key":"customer_phone_number","value":"<PHONE NUMBER OF YOUR TEST PHONE>","type":"text"},{"enabled":true,"key":"teller_username","value":"Teller01","type":"text"},{"enabled":true,"key":"location_identifier","value":"Location1","type":"text"},{"enabled":true,"key":"amount","value":"1000","type":"text"},{"enabled":true,"key":"currency","value":"PHP","type":"text"},{"enabled":true,"key":"include_fees","value":"true","type":"text"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/c42e7d2e1806520862bce719d3a12375fcffa22d4b30f1e4f378907193cc7f2c","favicon":"https://goabra.com/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Abra Master Teller API Example.template","value":"1053557-d4fa3466-dfc3-0919-c8f0-15f20aa55c93"}],"canonicalUrl":"https://teller-api-docs.goabra.com/view/metadata/6YvTaoa"}