{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"a25c9c53-9b6d-44ae-9ece-01038d39134c","name":"AsoribaPayments Form checkout - v1.0.0","description":"Base url for all requests is [https://sandbox.mybusinesspay.com/payment/v1.0/](https://sandbox.mybusinesspay.com/payment/v1.0/) for sandbox and [https://app.mybusinesspay.com/payment/v1.0/](https://app.mybusinesspay.com/payment/v1.0/) for live\n\nThe API is modeled around REST and returns JSON formatted response.\n\n# Authentication\nTo make any request through the api, you must authenticate your account using the API key (Publication key) found in the [Sandbox Dashboard](https://sandbox.mybusinesspay.com/merchants) or [live Dashboard](https://app.mybusinesspay.com/merchants).\nBy using this key, you have access to your merchant account through the api so keep the keys hidden from the public such as Github, Bitbucket client-side code.\n\nVersions\nThere are currently two versions, [v0.10](https://documenter.getpostman.com/view/121946/RVfvDr2h)  and v1.0.\n\n\nAuthentication to the API is can be done in two ways,\n1. HTTP Basic Auth. Provide your API key as the basic auth username value. Password is not required. ```-u {{token}}:```\n\n2. Bearer Auth. For cross-origin requests use ```-H \"Authorization: Bearer {{token}}\"```\n\n### Test cards\n> Note: These cards only work on the paymentsandbox.asoriba.com.\n\n> Mobile money payments are not simulated, amount requested will be deducted from wallets\n\n> Do not use real credit card numbers.\n\nFor testing on [https://sandbox.mybusinesspay.com/](https://sandbox.mybusinesspay.com/), use `CVV: 1234` for American Express and `CVV: 005` for the rest of the cards with any future expiry date\n\n1. 3782 8224 6310 005       - American Express\n2. 6011 1111 1111 1117\t\t- Discover\n3. 3566 1111 1111 1113\t\t- JCB\n4. 5033 9619 8909 17\t\t- Maestro (International)\n5. 5868 2416 0825 5333 38\t- Maestro (International)\n6. 6759 4111 0000 0008\t\t- Maestro (UK Domestic)\n7. 6759 5600 4500 5727 054\t- Maestro (UK Domestic)\n8. 5641 8211 1116 6669\t\t- Mastercard\n9. 2222 4200 0000 1113\t\t- Mastercard\n10. 2222 6300 0000 1125\t\t- Mastercard\n11. 5555 5555 5555 4444\t\t- Mastercard\n12. 4111 1111 1111 1111\t\t- VISA\n13. 4000 0000 0000 0002\t\t- VISA (3D SECURE)\n\nCVV: 005 with any future expiry date\n\n### All requests here are shown as examples, replace with valid request data\n\nTo test with localhost, use [ngrok](https://ngrok.com/) or [https://webhook.site/](https://webhook.site/) to receive post data through the post_url provided.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"121946","team":4116295,"collectionId":"a25c9c53-9b6d-44ae-9ece-01038d39134c","publishedId":"RWEgrJsA","public":true,"publicUrl":"https://documenter-api.postman.tech/view/121946/RWEgrJsA","privateUrl":"https://go.postman.co/documentation/121946-a25c9c53-9b6d-44ae-9ece-01038d39134c","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","version":"8.10.1","publishDate":"2018-06-20T16:34:31.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"AsoribaPayment","id":"c21ed8e1-3b43-ac75-37ec-34b2e9672ea9","owner":"121946","values":[{"key":"Header","value":"application/vnd.justbeta.v1","enabled":true},{"key":"base_url","value":"http://5b304996.ngrok.io/","enabled":true},{"key":"stage","value":"https://sandbox.mybusinesspay.com/","enabled":true},{"key":"live","value":"https://app.mybusinesspay.com/","enabled":true},{"key":"localhost","value":"http://localhost:4567/","enabled":true},{"key":"token","value":" 5JZqE4JAiUo-BMx9erhCET8r28ycZCum9oX_HzB9_chEpRDvv2CojY3CR89p","enabled":true},{"key":"test_key","value":"t9cvEs2iE2NnnY_EMSx2y6BPjZVGMCrpDf6tAGkkzAubzq8o_7zi-YKoaa-A","enabled":true},{"key":"stage_key","value":"8Y1EqMrgE4TtUsfW6TSqNQ5gDTqxR6z7xqbb2Mp-aeKPGqU7xNJmKTTbRSE1","enabled":true},{"key":"local","value":"http://dde88b17895c.ngrok.io","enabled":true}],"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/a86f6a611f42ffdfa965fd91ec7cee42ef9a9037a18f4f8d3368c3769ef4a74f","favicon":""},"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":"AsoribaPayment","value":"121946-c21ed8e1-3b43-ac75-37ec-34b2e9672ea9"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/RWEgrJsA"}