{"info":{"_postman_id":"9e000661-fd42-4538-8bd3-7bc368ef5449","name":"BarkaPay API","description":"<html><head></head><body><p>Powerful, easy-to-integrate APIs to accept mobile money and bank payments on your website or mobile app.</p>\n<h1 id=\"before-you-can-use-this-api\">Before you can use this API</h1>\n<p>You must complete the following steps :</p>\n<ul>\n<li>Sign up at barkapay.com/register.</li>\n<li>Pass your KYC</li>\n<li>Create an API or SCI app</li>\n<li>Keep your key pair safe</li>\n</ul>\n<h1 id=\"authentication\">Authentication</h1>\n<p>BarkaPay Uses a pair of keys to handle authentication. Both must be set in the headers :</p>\n<ul>\n<li>X-Api-Key : api_key</li>\n<li>X-Api-Secret : api_secret</li>\n</ul>\n<p>You can generate a key pair by creating and API or SCI app in the API integration section from your BarkaPay Merchant Area.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Before you can use this API","slug":"before-you-can-use-this-api"},{"content":"Authentication","slug":"authentication"}],"owner":"17495291","collectionId":"9e000661-fd42-4538-8bd3-7bc368ef5449","publishedId":"2s9YsDjuoj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"212121","highlight":"0A01D3"},"publishDate":"2023-12-30T18:04:34.000Z"},"item":[{"name":"Auth, API Status, User infos","item":[{"name":"PING (TEST YOUR AUTH)","event":[{"listen":"test","script":{"id":"5938f777-8457-4e0c-a5b8-f0d23e9bb0c9","exec":[""],"type":"text/javascript"}}],"id":"1a410b0c-77f0-4762-abd4-e0e91a8410f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/ping","description":"<p>This endpoint sends an HTTP GET request to retrieve a ping response from the client API.</p>\n<p>The response will have a status code of 200 and a content type of application/json. The response body will contain a message indicating the status of the ping request.</p>\n<h3 id=\"success-auth\">SUCCESS AUTH</h3>\n<ul>\n<li><code>message</code>: A string indicating the status of the ping request. Example: \"Success\"</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"Success\"\n}\n\n</code></pre>\n<h3 id=\"failed-auth\">FAILED AUTH</h3>\n<ul>\n<li>Status: 401</li>\n<li>Content-Type: application/json</li>\n</ul>\n<p>Example response body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"401\",\n    \"error\": \"Invalid or disabled API credentials\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","client","ping"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"96c1e118-a225-4d90-823d-6f376d8cdfd1","name":"SUCCESSFUL AUTH","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 18:44:06 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Success\"\n}"},{"id":"31308859-4ad8-4634-b4d8-509b8e5a6c10","name":"FAILED AUTH","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secretd}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/ping"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 18:56:20 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 401,\n    \"error\": \"Invalid or disabled API credentials\"\n}"}],"_postman_id":"1a410b0c-77f0-4762-abd4-e0e91a8410f6"},{"name":"OPERATORS AVAILABILITY","id":"90d6fc8e-c839-4d4d-90d0-7ad8986cc056","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/operators-availability","description":"<p>This endpoint retrieves the status of available services for the client.</p>\n<h3 id=\"http-request\">HTTP Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET https://api.barkapay.com/api/client/status\n\n</code></pre>\n<h2 id=\"response\">Response</h2>\n<ul>\n<li><code>status</code> (integer): The HTTP status code of the response.</li>\n<li><code>message</code> (string): A message regarding the status of the API.</li>\n<li><code>available_services</code> (object): An object containing the availability of different services.<ul>\n<li><code>transfers</code> (object): An object containing the availability of transfer services.<ul>\n<li><code>mobile</code> (boolean): Indicates whether mobile transfers are available.</li>\n<li><code>crypto</code> (boolean): Indicates whether crypto transfers are available.</li>\n<li><code>electro</code> (boolean): Indicates whether electro transfers are available.</li>\n</ul>\n</li>\n<li><code>payments</code> (object): An object containing the availability of payment services.<ul>\n<li><code>mobile</code> (boolean): Indicates whether mobile payments are available.</li>\n<li><code>crypto</code> (boolean): Indicates whether crypto payments are available.</li>\n<li><code>electro</code> (boolean): Indicates whether electro payments are available.</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><code>coder_note</code> (string): Additional note from the coder.</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"The API is up and running.\",\n    \"available_services\": {\n        \"transfers\": {\n            \"mobile\": true,\n            \"crypto\": false,\n            \"electro\": false\n        },\n        \"payments\": {\n            \"mobile\": true,\n            \"crypto\": false,\n            \"electro\": false\n        }\n    },\n    \"coder_note\": \"Ambition is priceless.\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","client","operators-availability"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"81917a8a-b657-403a-9c0d-22f629b17a8e","name":"SUCCESSFUL","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/operators-availability"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 14 Dec 2024 14:04:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PHP/8.2.26"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"x-ratelimit-limit","value":"60"},{"key":"x-ratelimit-remaining","value":"59"},{"key":"access-control-allow-origin","value":"*"},{"key":"strict-transport-security","value":"max-age=15552000; includeSubDomains"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=CxMieRcd4ZOUoh0eD5kvR%2BL%2BbY7R60Kke3oZ3KHLmLX8Vd0klFPDFaEQGUyjkgIpkUtM%2FRf9AR1ChTeY4goidFB34Z350%2BwMoFzJ5%2Bwlmgh0FYB1JVC9iKMlWE2YUbRQ7GBM\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8f1ebe37589bbd74-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=150513&min_rtt=125692&rtt_var=14039&sent=169&recv=167&lost=0&retrans=0&sent_bytes=10236&recv_bytes=5429&delivery_rate=41037&cwnd=250&unsent_bytes=0&cid=d371f53349d5f855&ts=173770&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"The API is up and running.\",\n    \"available_services\": {\n        \"mobile-operators-availability\": {\n            \"BFA\": {\n                \"ORANGE\": {\n                    \"payment\": \"OPERATIONAL\",\n                    \"transfer\": \"UNSTABLE\"\n                },\n                \"MOOV\": {\n                    \"payment\": \"OPERATIONAL\",\n                    \"transfer\": \"OPERATIONAL\"\n                }\n            },\n            \"SEN\": {\n                \"ORANGE\": {\n                    \"payment\": \"OPERATIONAL\",\n                    \"transfer\": \"OPERATIONAL\"\n                },\n                \"WAVE\": {\n                    \"payment\": \"OPERATIONAL\",\n                    \"transfer\": \"OPERATIONAL\"\n                },\n                \"FREE\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                }\n            },\n            \"CIV\": {\n                \"ORANGE\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                },\n                \"WAVE\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                },\n                \"MOOV\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                },\n                \"MTN\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                }\n            },\n            \"BEN\": {\n                \"MOOV\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                },\n                \"MTN\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                }\n            },\n            \"TOG\": {\n                \"MOOV\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                },\n                \"TMONEY\": {\n                    \"payment\": \"DOWN\",\n                    \"transfer\": \"DOWN\"\n                }\n            }\n        }\n    },\n    \"coder_note\": \"Ambition is priceless.\"\n}"}],"_postman_id":"90d6fc8e-c839-4d4d-90d0-7ad8986cc056"},{"name":"CURRENT USER INFOS","id":"4f64e5ed-31e6-4aff-a930-6685aa236962","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/user-and-api-app-info","description":"<p>This endpoint makes an HTTP GET request to retrieve some merchant's information.</p>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 200</li>\n<li>Content-Type: application/json</li>\n</ul>\n<p>The response will contain the following fields:</p>\n<ul>\n<li><code>status</code> (integer): The status of the user data retrieval.</li>\n<li><code>user-data</code> (object): An object containing the user's data including:<ul>\n<li><code>name</code> (string): The name of the user.</li>\n<li><code>public_id</code> (integer): The public ID of the user.</li>\n<li><code>status</code> (integer): The status of the user : 0 means the merchant were suspended.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"user\": {\n        \"name\": \"Store Name\",\n        \"public_id\": 0000100000100,\n        \"status\": \"ENABLED\"\n    },\n    \"api_app_details\": {\n        \"name\": \"App name\",\n        \"description\": \"Short app description.\",\n        \"label\": \"App label\",\n        \"allowed_services\": \"both\", // payment, transfer, both\n        \"allowed_countries\": [\n            \"BFA\",\n            \"CIV\",\n            \"SEN\"\n        ],\n        \"allow_notifications\": \"ENABLED\",\n        \"notification_url\": \"Secured notification url\",\n        \"can_perform_transfers\": true,\n        \"app_type\": \"api\"\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","client","user-and-api-app-info"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"7ca33391-11df-4c01-9d4f-64b3753003c8","name":"SUCCESSFUL","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{api_url}}/client/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 18:47:26 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"user\": {\n        \"name\": \"Store Name\",\n        \"public_id\": 0000100000100,\n        \"status\": \"ENABLED\"\n    },\n    \"api_app_details\": {\n        \"name\": \"App name\",\n        \"description\": \"Short app description.\",\n        \"label\": \"App label\",\n        \"allowed_services\": \"both\", // payment, transfer, both\n        \"allowed_countries\": [\n            \"BFA\",\n            \"CIV\",\n            \"SEN\"\n        ],\n        \"allow_notifications\": \"ENABLED\",\n        \"notification_url\": \"Secured notification url\",\n        \"can_perform_transfers\": true,\n        \"app_type\": \"api\"\n    }\n}"}],"_postman_id":"4f64e5ed-31e6-4aff-a930-6685aa236962"},{"name":"OPERATORS INFOS","id":"3e2f7860-8b29-4294-ab58-b9dde6f3f1e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/operators-infos","description":"<p>This endpoint retrieves the operator information for the client from the BarkaPay API. The response contains the status of the request and detailed information about the operator, including whether OTP (One-Time Password) is required, payment instructions, payment delay, minimum and maximum payment amounts.</p>\n<p>The response will be in JSON format with the following structure:</p>\n<ul>\n<li>status (integer): Represents the status of the request.</li>\n<li>infos (object): Contains detailed information about the operator.<ul>\n<li>BFA (object): Operator code for Burkina Faso.<ul>\n<li>MOOV (object): Specific operator information for MOOV.<ul>\n<li>otp_required (boolean): Indicates whether OTP is required for transactions.</li>\n<li>payment_instructions (string): Instructions for making payments.</li>\n<li>pay_delay (integer): Payment delay in days.</li>\n<li>min_amount (integer): Minimum payment amount.</li>\n<li>max_amount (integer): Maximum payment amount.</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","client","operators-infos"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"e45fb16e-7bd3-4b31-854d-ad6fdf5e0529","name":"OPERATORS INFOS","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.barkapay.com/api/client/operators-infos"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 07:41:15 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"infos\": {\n        \"BFA\": {\n            \"MOOV\": {\n                \"otp_required\": false,\n                \"payment_instructions\": \"Veuillez composer le *555*6#, puis sélectionnez et finalisez le paiement. Nom du bénéficiaire : PAY BARKA.\",\n                \"pay_delay\": 1800,\n                \"min_amount\": 100,\n                \"max_amount\": 1000000\n            }\n        }\n    }\n}"}],"_postman_id":"3e2f7860-8b29-4294-ab58-b9dde6f3f1e0"}],"id":"ec4803eb-8467-4e3c-bb12-367b3e386878","description":"<p>This set of methods allow you to test authentication, check available services, and retrieve information of the current merchant.</p>\n","_postman_id":"ec4803eb-8467-4e3c-bb12-367b3e386878"},{"name":"PAYMENT","item":[{"name":"API PAYMENT","id":"3cdb99ad-508b-4393-b746-aaf7eef8316d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"sender_country","value":"BFA","description":"<p>3 digits country name code : See supported operators per country.</p>\n","type":"text"},{"key":"operator","value":"MOOV","type":"text","description":"<p>The operator. See supported operators per country.</p>\n"},{"key":"sender_phonenumber","value":"72929595","description":"<p>Valid phonenumber : must match operator an country.</p>\n","type":"text"},{"key":"amount","value":"200","type":"text","description":"<p>Must be between 100 and 1000000 CFA. The maximum is depending on the operator.</p>\n"},{"key":"order_id","value":"23839488238","type":"text","description":"<p>Your product/service order ID.</p>\n"},{"key":"order_id_unicity","value":"0","type":"text","description":"<p>Boolean. When true, we make sure there is not and existing order with same order_id. Disabled by default.</p>\n"},{"key":"callback_url","value":"https://www.myshopname.com/callbacks/barkapay","type":"text","description":"<p>The IPN URL. If not specified, the API App Notification will be used by default.</p>\n"},{"key":"order_data","value":"{\"shop\": \"IsaShop\",\"product-id\": \"239230jd9230ej0\"}","type":"text","description":"<p>Additionnal data : anything you will need back in the IPN.</p>\n"},{"key":"otp","value":"23235","description":"<p>OTP : is required with some operators (Ex: Orange Money BFA).</p>\n","type":"text"}]},"url":"https://api.barkapay.com/api/client/payment/mobile/api","description":"<p>Creates payment. With this method, your customer will be able to complete the payment without leaving your website.</p>\n<p>The following parameters are required in the request payload:</p>\n<ul>\n<li><p><code>sender_country</code> (text): 3 digits country name code (check supported operators per country)</p>\n</li>\n<li><p><code>operator</code> (text): The operator (check supported operators per country in OPERATOR INFOS)</p>\n</li>\n<li><p><code>sender_phonenumber</code> (text): Valid phone number that must match the operator and country</p>\n</li>\n<li><p><code>amount</code> (text): check operator's payment infos for min_amount &amp; max_amount (OPERATOR INFOS)</p>\n</li>\n<li><p><code>order_id</code> (text): Your product/service order ID</p>\n</li>\n<li><p><code>order_id_unicity</code> (text): Boolean. When true, ensures there is no existing order with the same order_id. Disabled by default.</p>\n</li>\n<li><p><code>callback_url</code> (text): The IPN URL. If not specified, the API App Notification will be used by default.</p>\n</li>\n<li><p><code>order_data</code> (text): Additional data that you will need back in the IPN. Often referred as metat_data.</p>\n</li>\n<li><p><code>otp</code> (text): OTP required with some operators (e.g., Orange Money BFA) (check OPERATOR INFOS)</p>\n</li>\n</ul>\n<p>The response to this request will have a status code of 201 and a content type of application/json. The response body will contain the following fields:</p>\n<ul>\n<li><p><code>status</code> (number): Indicates the status of the transaction.</p>\n</li>\n<li><p><code>message</code> (string): Any additional message related to the transaction status.</p>\n</li>\n<li><p><code>data.public_id</code> (string): Public ID of the transaction.</p>\n</li>\n<li><p><code>data.amount</code> (number): The amount involved in the transaction.</p>\n</li>\n<li><p><code>data.sender_phonenumber</code> (string): Sender's phone number.</p>\n</li>\n<li><p><code>data.sender_country</code> (string): Sender's country.</p>\n</li>\n<li><p><code>data.status</code> (number): Status of the transaction.</p>\n</li>\n<li><p><code>data.order_id</code> (string): Order ID associated with the transaction.</p>\n</li>\n<li><p><code>data.agent</code> (object): Additional information about the agent involved in the transaction, if available.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","client","payment","mobile","api"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"26329b99-ce45-4c60-843f-1ac35bf0b322","name":"API PAYMENT : OTP","originalRequest":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"sender_country","value":"BFA","description":"3 digits country name code : See supported operators per country.","type":"text"},{"key":"operator","value":"MOOV","type":"text","description":"The operator. See supported operators per country."},{"key":"sender_phonenumber","value":"72929595","description":"Valid phonenumber : must match operator an country.","type":"text"},{"key":"amount","value":"200","type":"text","description":"Must be between 100 and 1000000 CFA. The maximum is depending on the operator."},{"key":"order_id","value":"23839488238","type":"text","description":"Your product/service order ID."},{"key":"order_id_unicity","value":"0","type":"text","description":"Boolean. When true, we make sure there is not and existing order with same order_id. Disabled by default."},{"key":"callback_url","value":"https://www.myshopname.com/callbacks/barkapay","type":"text","description":"The IPN URL. If not specified, the API App Notification will be used by default."},{"key":"order_data","value":"{\"shop\": \"IsaShop\",\"product-id\": \"239230jd9230ej0\"}","type":"text","description":"Additionnal data : anything you will need back in the IPN."},{"key":"otp","value":"23235","description":"OTP : is required with some operators (Ex: Orange Money BFA).","type":"text"}]},"url":"{{api_url}}/client/payment/mobile/api"},"status":"Successful","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 20:42:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Payment successful.\",\n    \"data\": {\n        \"public_id\": \"3a2a6631-0364-410e-b8c3-4e1793eb2391\",\n        \"amount\": 300,\n        \"sender_phonenumber\": \"76615699\",\n        \"sender_country\": \"BFA\",\n        \"order_id\": \"2383948823w\",\n        \"status\": 1,\n        \"txid\": \"OM241120.1647.60728964\"\n    }\n}"},{"id":"c05e5776-5f6f-422b-9395-e4c0667165fe","name":"API PAYMENT : INITIATION","originalRequest":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"sender_country","value":"BFA","description":"3 digits country name code : See supported operators per country.","type":"text"},{"key":"operator","value":"MOOV","type":"text","description":"The operator. See supported operators per country."},{"key":"sender_phonenumber","value":"72929595","description":"Valid phonenumber : must match operator an country.","type":"text"},{"key":"amount","value":"200","type":"text","description":"Must be between 100 and 1000000 CFA. The maximum is depending on the operator."},{"key":"order_id","value":"23839488238","type":"text","description":"Your product/service order ID."},{"key":"order_id_unicity","value":"0","type":"text","description":"Boolean. When true, we make sure there is not and existing order with same order_id. Disabled by default."},{"key":"callback_url","value":"https://www.myshopname.com/callbacks/barkapay","type":"text","description":"The IPN URL. If not specified, the API App Notification will be used by default."},{"key":"order_data","value":"{\"shop\": \"IsaShop\",\"product-id\": \"239230jd9230ej0\"}","type":"text","description":"Additionnal data : anything you will need back in the IPN."},{"key":"otp","value":"23235","description":"OTP : is required with some operators (Ex: Orange Money BFA).","type":"text"}]},"url":"{{api_url}}/client/payment/mobile/api"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 20:42:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"Payment request created successfully.\",\n    \"data\": {\n        \"public_id\": \"d275a941-e1f8-4c6d-9ddb-99765fc3b10d\",\n        \"amount\": 200,\n        \"sender_phonenumber\": \"72929595\",\n        \"sender_country\": \"BFA\",\n        \"status\": 0,\n        \"order_id\": \"23839488238\",\n        \"agent\": null,\n        \"launch_url\": null\n    }\n}"}],"_postman_id":"3cdb99ad-508b-4393-b746-aaf7eef8316d"},{"name":"COMMIT OTP PAYMENT","id":"a6f69602-f5a3-4f39-a017-e2735829b1d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"sender_country","value":"BFA","description":"<p>3 digits country name code : See supported operators per country.</p>\n","type":"text"},{"key":"operator","value":"MOOV","type":"text","description":"<p>The operator. See supported operators per country.</p>\n"},{"key":"sender_phonenumber","value":"72929595","description":"<p>Valid phonenumber : must match operator an country.</p>\n","type":"text"},{"key":"amount","value":"200","type":"text","description":"<p>Must be between 100 and 1000000 CFA. The maximum is depending on the operator.</p>\n"},{"key":"order_id","value":"23839488238","type":"text","description":"<p>Your product/service order ID.</p>\n"},{"key":"order_id_unicity","value":"0","type":"text","description":"<p>Boolean. When true, we make sure there is not and existing order with same order_id. Disabled by default.</p>\n"},{"key":"callback_url","value":"https://www.myshopname.com/callbacks/barkapay","type":"text","description":"<p>The IPN URL. If not specified, the API App Notification will be used by default.</p>\n"},{"key":"order_data","value":"{\"shop\": \"IsaShop\",\"product-id\": \"239230jd9230ej0\"}","type":"text","description":"<p>Additionnal data : anything you will need back in the IPN.</p>\n"},{"key":"otp","value":"23235","description":"<p>OTP : is required with some operators (Ex: Orange Money BFA).</p>\n","type":"text"}]},"url":"https://api.barkapay.com/api/client/payment/mobile/api","description":"<p>Creates payment. With this method, your customer will be able to complete the payment without leaving your website.</p>\n<p>The following parameters are required in the request payload:</p>\n<ul>\n<li><p><code>sender_country</code> (text): 3 digits country name code (check supported operators per country)</p>\n</li>\n<li><p><code>operator</code> (text): The operator (check supported operators per country in OPERATOR INFOS)</p>\n</li>\n<li><p><code>sender_phonenumber</code> (text): Valid phone number that must match the operator and country</p>\n</li>\n<li><p><code>amount</code> (text): check operator's payment infos for min_amount &amp; max_amount (OPERATOR INFOS)</p>\n</li>\n<li><p><code>order_id</code> (text): Your product/service order ID</p>\n</li>\n<li><p><code>order_id_unicity</code> (text): Boolean. When true, ensures there is no existing order with the same order_id. Disabled by default.</p>\n</li>\n<li><p><code>callback_url</code> (text): The IPN URL. If not specified, the API App Notification will be used by default.</p>\n</li>\n<li><p><code>order_data</code> (text): Additional data that you will need back in the IPN. Often referred as metat_data.</p>\n</li>\n<li><p><code>otp</code> (text): OTP required with some operators (e.g., Orange Money BFA) (check OPERATOR INFOS)</p>\n</li>\n</ul>\n<p>The response to this request will have a status code of 201 and a content type of application/json. The response body will contain the following fields:</p>\n<ul>\n<li><p><code>status</code> (number): Indicates the status of the transaction.</p>\n</li>\n<li><p><code>message</code> (string): Any additional message related to the transaction status.</p>\n</li>\n<li><p><code>data.public_id</code> (string): Public ID of the transaction.</p>\n</li>\n<li><p><code>data.amount</code> (number): The amount involved in the transaction.</p>\n</li>\n<li><p><code>data.sender_phonenumber</code> (string): Sender's phone number.</p>\n</li>\n<li><p><code>data.sender_country</code> (string): Sender's country.</p>\n</li>\n<li><p><code>data.status</code> (number): Status of the transaction.</p>\n</li>\n<li><p><code>data.order_id</code> (string): Order ID associated with the transaction.</p>\n</li>\n<li><p><code>data.agent</code> (object): Additional information about the agent involved in the transaction, if available.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","client","payment","mobile","api"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6f69602-f5a3-4f39-a017-e2735829b1d0"},{"name":"SCI PAYMENT","id":"ca171245-c93d-47b6-b270-cb05cb62b2a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_sci_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_sci_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"set_amount","value":"fixed","description":"<p>(Required). Must be in : fixed, floating, interval.</p>\n","type":"text"},{"key":"amount","value":"500","type":"text","description":"<p>(Required) when set_amount is fixed. Check operator's payment infos for min &amp; max. Default min : 100.</p>\n"},{"key":"order_id","value":"348bd829213ds","type":"text","description":"<p>(Required)Your product/service order ID.</p>\n"},{"key":"order_id_unicity","value":"1","type":"text","description":"<p>Boolean. When true, we make sure there is not and existing order with same order_id. Disabled by default.</p>\n"},{"key":"callback_url","value":"https://www.yourdomain.extension/callbacks/barkapay","type":"text","description":"<p>The IPN URL. If not specified, the API App Notification will be used by default.</p>\n","disabled":true},{"key":"order_data","value":"{\"shop\": \"IsaShop\",\"product-id\": \"239230jd9230ej0\"}","type":"text","description":"<p>Additionnal data : anything you will need back in the IPN.</p>\n","disabled":true},{"key":"amount_interval","value":"[50000,75000]","type":"text","description":"<p>(Required if set_amount is \"interval\") : String.</p>\n","disabled":true},{"key":"period","value":"5000","type":"text","description":"<p>The validity period of the link in secondes. Default is 300s (5 minutes).</p>\n","disabled":true},{"key":"notify_payer","value":"1","description":"<p>1 or 0. If activated, we will send and payment notification the the \"payer_notification_email\". Your customer we could pay by clicking the Pay Now button in the mail.</p>\n","type":"text"},{"key":"payer_notification_email","value":"customername@domain.com","description":"<p>Email, required if notify_payer = 1. The email of the payer.</p>\n","type":"text"},{"key":"title","value":"Air force One","type":"text","description":"<p>Title of the product/service.</p>\n","disabled":true},{"key":"description","value":"Nike Air Force 1s are iconic basketball shoes introduced in 1982, known for their durability and classic style, widely popular in streetwear.","type":"text","description":"<p>Description of the product/service.</p>\n","disabled":true},{"key":"pay_url","value":"https://www.yourdomain.extension/return-after-successful-payment","description":"<p>The URL your user will be redirect in case of successful payment.</p>\n","type":"text","disabled":true},{"key":"no_pay_url","value":"https://www.yourdomain.extension/return-after-failed-payment","description":"<p>The URL your user will be redirect in case of failed payment.</p>\n","type":"text","disabled":true}]},"url":"https://api.barkapay.com/api/client/payment/mobile/web/create","description":"<h3 id=\"create-payment-link\">Create Payment Link</h3>\n<p>Creates a payment link. With this method, the customer is required to follow the generated url to complete the payment.</p>\n<h4 id=\"request-body-parameters\">Request Body Parameters</h4>\n<ul>\n<li><code>set_amount</code> (text, Required): Must be in: fixed, floating, interval.</li>\n<li><code>amount</code> (text, Required): When set_amount is fixed. Check operator's payment infos for min &amp; max.</li>\n<li><code>order_id</code> (text, Required): Your product/service order ID.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li>Status: 201</li>\n<li>Content-Type: application/json</li>\n<li><code>status</code> (number): 0 if successful.</li>\n<li><code>message</code> (string): Additional information message.</li>\n<li><code>link</code> (string): Link related to the payment.</li>\n<li><code>data</code> (object): Information about the payment including public_id, amount, status, order_id, and more.</li>\n</ul>\n<h4 id=\"additional-informations-\">Additional informations :</h4>\n<ul>\n<li><code>order_id_unicity</code> (text, Optional): Boolean. When true, we make sure there is not an existing order with the same order_id. Disabled by default.</li>\n<li><code>pay_url</code> (Optional) : When it is not set, the pay_url set for the involved SCI App will be used by default.</li>\n<li><code>no_pay_url</code> (Optional) : When it is not set, the pay_url set for the involved SCI App will be used by default.</li>\n<li><code>notify_payer</code> (text, Optional): 1 or 0. If activated, a payment notification will be sent to the payer_notification_email. The customer could pay by clicking the Pay Now button in the mail.</li>\n<li><code>payer_notification_email</code> (text, Optional): Email, required if notify_payer = 1. The email of the payer.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","client","payment","mobile","web","create"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"2319e946-d6df-4e26-b409-e2d214b9001f","name":"SUCCESS EXAMPLE","originalRequest":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_sci_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_sci_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"set_amount","value":"fixed","description":"(Required). Must be in : fixed, floating, interval.","type":"text"},{"key":"amount","value":"500","type":"text","description":"(Required) when set_amount is fixed. Check operator's payment infos for min & max"},{"key":"order_id","value":"348bd829213ds","type":"text","description":"(Required)Your product/service order ID."},{"key":"order_id_unicity","value":"1","type":"text","description":"Boolean. When true, we make sure there is not and existing order with same order_id. Disabled by default."},{"key":"callback_url","value":"https://www.barkachange.com/callbacks/barkapay/wyebduwebdiu","type":"text","description":"The IPN URL. If not specified, the API App Notification will be used by default.","disabled":true},{"key":"order_data","value":"{\"shop\": \"IsaShop\",\"product-id\": \"239230jd9230ej0\"}","type":"text","description":"Additionnal data : anything you will need back in the IPN.","disabled":true},{"key":"amount_interval","value":"[50000,75000]","type":"text","description":"(Required if set_amount is \"interval\") : String.","disabled":true},{"key":"period","value":"5000","type":"text","description":"The validity period of the link in minutes. Default is 300 (5 hours).","disabled":true},{"key":"notify_payer","value":"1","description":"1 or 0. If activated, we will send and payment notification the the \"payer_notification_email\". Your customer we could pay by clicking the Pay Now button in the mail.","type":"text"},{"key":"payer_notification_email","value":"ganoueliab@gmail.com","description":"Email, required if notify_payer = 1. The email of the payer.","type":"text"},{"key":"title","value":"Air force 0ne","type":"text","description":"Title of the product/service ","disabled":true},{"key":"description","value":"The payer notification email field is required when notify payer is 1.","type":"text","description":"Description of the product/service.","disabled":true}]},"url":"{{api_url}}/client/payment/mobile/web/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 20:35:30 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"Payment request created successfully.\",\n    \"link\": \"https://barkapay.com/interfaces/mobile/single-payment/77727e97-85b4-4aa1-999a-8d865751af2a\",\n    \"data\": {\n        \"public_id\": \"77727e97-85b4-4aa1-999a-8d865751af2a\",\n        \"amount\": 500,\n        \"sender_phonenumber\": null,\n        \"sender_country\": null,\n        \"status\": 0,\n        \"order_id\": \"348bd829213ds\",\n        \"agent\": null,\n        \"set_amount\": \"fixed\",\n        \"amount_interval\": null,\n        \"period\": null,\n        \"payer_notification_email\": \"ganoueliab@gmail.com\",\n        \"title\": null,\n        \"description\": null\n    }\n}"},{"id":"2703ef47-563d-4b16-b11f-34d862e4f57e","name":"UNPROCESSABLE CONTENT EXAMPLE","originalRequest":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_sci_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_sci_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"set_amount","value":"fixed","description":"(Required). Must be in : fixed, floating, interval.","type":"text","disabled":true},{"key":"amount","value":"500","type":"text","description":"(Required) when set_amount is fixed. Check operator's payment infos for min & max. Default min : 100."},{"key":"order_id","value":"348bd829213ds","type":"text","description":"(Required)Your product/service order ID."},{"key":"order_id_unicity","value":"1","type":"text","description":"Boolean. When true, we make sure there is not and existing order with same order_id. Disabled by default."},{"key":"callback_url","value":"https://www.yourdomain.extension/callbacks/barkapay","type":"text","description":"The IPN URL. If not specified, the API App Notification will be used by default.","disabled":true},{"key":"order_data","value":"{\"shop\": \"IsaShop\",\"product-id\": \"239230jd9230ej0\"}","type":"text","description":"Additionnal data : anything you will need back in the IPN.","disabled":true},{"key":"amount_interval","value":"[50000,75000]","type":"text","description":"(Required if set_amount is \"interval\") : String.","disabled":true},{"key":"period","value":"5000","type":"text","description":"The validity period of the link in secondes. Default is 300s (5 minutes).","disabled":true},{"key":"notify_payer","value":"1","description":"1 or 0. If activated, we will send and payment notification the the \"payer_notification_email\". Your customer we could pay by clicking the Pay Now button in the mail.","type":"text"},{"key":"payer_notification_email","value":"customername@domain.com","description":"Email, required if notify_payer = 1. The email of the payer.","type":"text"},{"key":"title","value":"Air force One","type":"text","description":"Title of the product/service.","disabled":true},{"key":"description","value":"Nike Air Force 1s are iconic basketball shoes introduced in 1982, known for their durability and classic style, widely popular in streetwear.","type":"text","description":"Description of the product/service.","disabled":true},{"key":"pay_url","value":"https://www.yourdomain.extension/return-after-successful-payment","description":"The URL your user will be redirect in case of successful payment.","type":"text","disabled":true},{"key":"no_pay_url","value":"https://www.yourdomain.extension/return-after-failed-payment","description":"The URL your user will be redirect in case of failed payment.","type":"text","disabled":true}]},"url":"https://api.barkapay.com/api/client/payment/mobile/web/create"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 12 Jul 2024 13:50:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.2.21"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=y0Y1xBlR52QfBYFK978qYEHquQMRsvTdNSM3H4H%2ByEZs9AB%2BySAW%2FVWHUmaAfw34eZxy89wIyHwLUfgB85XKQcf2%2BhbZtx4y6ESM7Bb%2FiIs4OR4qWiTDVYvqb18SB3YEQZLQ\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8a21808379149fa5-AMS"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 422,\n    \"message\": \"The set amount field is required.\"\n}"}],"_postman_id":"ca171245-c93d-47b6-b270-cb05cb62b2a9"},{"name":"FINDER","event":[{"listen":"test","script":{"id":"219bd1f4-df92-4f16-b1e9-26dcb978a1a7","exec":[""],"type":"text/javascript"}}],"id":"2657e1f0-b886-475a-a9ee-1e9214092eee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"https://api.barkapay.com/api/client/payment/:public_id","description":"<p>Get the actual information about the payment. You need to provide the \"public_id\" of the payment in the request.  </p>\n<p>The response will contain an array of objects, each representing a payment with attributes such as public_id, amount, sender_phonenumber, sender_country, status, order_id, txid, order_data, coder_note, reason, created_at, and agent.</p>\n<p>The examples of responses for this request include details such as public_id, amount, sender_phonenumber, sender_country, status, order_id, txid, order_data, coder_note, reason, created_at, and agent for each payment.</p>\n<p>The status indicates the payment status, where 0 represents pending, 1 represents successful, and -1 represents failed. The order_data field contains additional information about the order in JSON format.</p>\n<p>Please note that the actual values for these attributes will vary for each payment.</p>\n","urlObject":{"protocol":"https","path":["api","client","payment",":public_id"],"host":["api","barkapay","com"],"query":[],"variable":[{"type":"any","value":"","key":"public_id"}]}},"response":[{"id":"62496f94-e8da-4c18-9bbf-00e9a73c0ad9","name":"PENDING PAYMENT","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"{{api_url}}/client/payment/d275a941-e1f8-4c6d-9ddb-99765fc3b10d"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 20:45:08 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"public_id\": \"d275a941-e1f8-4c6d-9ddb-99765fc3b10d\",\n        \"amount\": 200,\n        \"sender_phonenumber\": \"72929595\",\n        \"sender_country\": \"BFA\",\n        \"status\": 0,\n        \"order_id\": \"23839488238\",\n        \"txid\": null,\n        \"order_data\": \"{\\\"shop\\\": \\\"IsaShop\\\",\\\"product-id\\\": \\\"239230jd9230ej0\\\"}\",\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": null,\n        \"created_at\": \"2024-02-01T20:42:24.394000Z\",\n        \"agent\": null\n    }\n]"},{"id":"456d8310-b0a0-4a56-984a-17e9b3020cb0","name":"SUCCESS PAYMENT","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"{{api_url}}/client/payment/a117879e-ebf3-4f25-9c56-cce7dda24d68"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 20:46:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"public_id\": \"a117879e-ebf3-4f25-9c56-cce7dda24d68\",\n        \"amount\": 23460,\n        \"sender_phonenumber\": \"70187358\",\n        \"sender_country\": \"BFA\",\n        \"status\": 1,\n        \"order_id\": \"c1d66d7e1198d\",\n        \"txid\": \"CHKTRANS240201.1615.B15593\",\n        \"order_data\": null,\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"Successfully received payment.\",\n        \"created_at\": \"2024-02-01T16:10:20.088000Z\",\n        \"agent\": null\n    }\n]"},{"id":"21ca1aa1-fd10-4783-9c6b-9e5cb518f458","name":"FAILED PAYMENT","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"{{api_url}}/client/payment/59793533-8cb2-410a-8a39-4a2afa0c2e7e"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 20:47:41 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"public_id\": \"59793533-8cb2-410a-8a39-4a2afa0c2e7e\",\n        \"amount\": 1010,\n        \"sender_phonenumber\": \"72929595\",\n        \"sender_country\": \"BFA\",\n        \"status\": -1,\n        \"order_id\": \"3ea21aac0dd2d\",\n        \"txid\": null,\n        \"order_data\": null,\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"No payment.\",\n        \"created_at\": \"2023-06-22T23:04:22.710000Z\",\n        \"agent\": null\n    }\n]"}],"_postman_id":"2657e1f0-b886-475a-a9ee-1e9214092eee"},{"name":"FILTER","id":"a3da9abd-c786-40c0-940b-aa9e7d0b144f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"https://api.barkapay.com/api/client/payment/?sender_country=BFA&operator=MOOV&sender_phonenumber=72929595&status=1&date_1=2024-01-01&date_2=2024-01-31&order_id=23839488238","description":"<p>This endpoint retrieves payment details based on specified filters such as sender country, operator, sender phone number, status, date range, and order ID.</p>\n<p>The response contains an array of payment objects with attributes like public ID, amount, sender phone number, sender country, status, order ID, transaction ID, order data, coder note, reason, creation timestamp, type, currency, operator, address, and origin source.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><code>sender_country</code> (string): The country of the sender.</li>\n<li><code>operator</code> (string): The operator involved in the transaction.</li>\n<li><code>sender_phonenumber</code> (string): The phone number of the sender.</li>\n<li><code>status</code> (integer): The status of the transaction.</li>\n<li><code>date_1</code> (string): The start date of the date range.</li>\n<li><code>date_2</code> (string): The end date of the date range.</li>\n<li><code>order_id</code> (string): The unique ID associated with the order.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be an array of payment objects, each containing the following attributes:</p>\n<ul>\n<li><code>public_id</code> (string): The public ID of the transaction.</li>\n<li><code>amount</code> (integer): The amount of the transaction.</li>\n<li><code>sender_phonenumber</code> (string): The phone number of the sender.</li>\n<li><code>sender_country</code> (string): The country of the sender.</li>\n<li><code>status</code> (integer): The status of the transaction.</li>\n<li><code>order_id</code> (string): The unique ID associated with the order.</li>\n<li><code>txid</code> (string): The transaction ID.</li>\n<li><code>order_data</code> (string): Additional data related to the order.</li>\n<li><code>coder_note</code> (string): Additional note from the coder.</li>\n<li><code>reason</code> (string): Reason for the transaction.</li>\n<li><code>created_at</code> (string): The timestamp of the transaction creation.</li>\n<li><code>type</code> (string): The type of transaction.</li>\n<li><code>currency</code> (string): The currency used in the transaction.</li>\n<li><code>operator</code> (string): The operator involved in the transaction.</li>\n<li><code>address</code> (string): The address associated with the transaction.</li>\n<li><code>origin_source</code> (integer): The source of origin for the transaction.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","client","payment",""],"host":["api","barkapay","com"],"query":[{"description":{"content":"<p>The country</p>\n","type":"text/plain"},"key":"sender_country","value":"BFA"},{"description":{"content":"<p>The operator : must be supported in the selected country</p>\n","type":"text/plain"},"key":"operator","value":"MOOV"},{"description":{"content":"<p>The sender phone number</p>\n","type":"text/plain"},"key":"sender_phonenumber","value":"72929595"},{"description":{"content":"<p>The status : 0, 1, -1.</p>\n","type":"text/plain"},"key":"status","value":"1"},{"description":{"content":"<p>Start date.</p>\n","type":"text/plain"},"key":"date_1","value":"2024-01-01"},{"description":{"content":"<p>End date.</p>\n","type":"text/plain"},"key":"date_2","value":"2024-01-31"},{"description":{"content":"<p>The order_id</p>\n","type":"text/plain"},"key":"order_id","value":"23839488238"}],"variable":[]}},"response":[{"id":"fc65ffcf-376b-4680-85fe-237e8680d7a7","name":"STANDARD FILTER","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":{"raw":"{{api_url}}/client/payment/?sender_country=CIV&operator=CORIS&sender_phonenumber=72929595&status=1&date_1=2024-01-01&date_2=2024-01-31&order_id=23839488238","host":["{{api_url}}"],"path":["client","payment",""],"query":[{"key":"sender_country","value":"CIV","description":"The country"},{"key":"operator","value":"CORIS","description":"The operator : must be supported in the selected country"},{"key":"sender_phonenumber","value":"72929595"},{"key":"status","value":"1","description":"The status : 0, 1, -1."},{"key":"date_1","value":"2024-01-01","description":"Start date."},{"key":"date_2","value":"2024-01-31","description":"End date."},{"key":"order_id","value":"23839488238","description":"The order_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 21:00:18 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.15"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"public_id\": \"f736d4b5-ea47-4244-b209-83371047a058\",\n        \"amount\": 200,\n        \"sender_phonenumber\": \"72929595\",\n        \"sender_country\": \"BFA\",\n        \"status\": 1,\n        \"order_id\": \"23839488238\",\n        \"txid\": \"CHKTRANS240124.1257.C15593\",\n        \"order_data\": \"{\\\"category\\\": \\\"mobile\\\",\\\"type\\\": \\\"main_bfa\\\",\\\"user_id\\\": \\\"6467571b952726d40405d003\\\",\\\"country\\\": \\\"BFA\\\",\\\"balance\\\": 0}\",\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"Successfully received payment.\",\n        \"created_at\": \"2024-01-24T12:29:25.410000Z\",\n        \"type\": \"mobile\",\n        \"currency\": null,\n        \"operator\": \"MOOV\",\n        \"address\": null,\n        \"origin_source\": 1\n    },\n    {\n        \"public_id\": \"2193e086-46dd-4a3c-be51-e191adf40a9b\",\n        \"amount\": 200,\n        \"sender_phonenumber\": \"72929595\",\n        \"sender_country\": \"BFA\",\n        \"status\": 1,\n        \"order_id\": \"23839488238\",\n        \"txid\": \"CHKTRANS240124.1340.B17072\",\n        \"order_data\": \"{\\\"category\\\": \\\"mobile\\\",\\\"type\\\": \\\"main_bfa\\\",\\\"user_id\\\": \\\"6467571b952726d40405d003\\\",\\\"country\\\": \\\"BFA\\\",\\\"balance\\\": 0}\",\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"Successfully received payment.\",\n        \"created_at\": \"2024-01-24T13:34:38.218000Z\",\n        \"type\": \"mobile\",\n        \"currency\": null,\n        \"operator\": \"MOOV\",\n        \"address\": null,\n        \"origin_source\": 1\n    }\n]"}],"_postman_id":"a3da9abd-c786-40c0-940b-aa9e7d0b144f"}],"id":"15f53298-2607-4c12-b5c2-4aab0f7d7400","description":"<p>BarkaPay enables your online business, whether through websites or mobile applications, to accept payments seamlessly.<br />By integrating our API, you offer customers the flexibility to choose their preferred payment methods, tailored to the most popular options within their country.<br />This single integration bridges your business with the global market, expanding your reach worldwide with ease and efficiency.</p>\n<p>BarkaPay offers two payment integration approaches:</p>\n<ul>\n<li><p>API Payment : you handle all the payment process on your frontend app. You receive Instant Payment Notifications (IPN) for each successful payment.</p>\n</li>\n<li><p>SCI Payment : you generate a payment link for your customers. Upon clicking this link, customers are directed to BarkaPay's shopping cart interface, where the payment process is managed on your behalf. You will receive Instant Payment Notifications (IPN) and email notifications for each transaction.</p>\n</li>\n</ul>\n<p>If uncertain about the best approach for your needs, BarkaPay provides support at <a href=\"https://mailto:support@barkapay.com\">support@barkapay.com</a> <a href=\"https://null\"></a>to guide you through the decision-making process.</p>\n","_postman_id":"15f53298-2607-4c12-b5c2-4aab0f7d7400"},{"name":"TRANSFER","item":[{"name":"REQUEST","id":"f16d473c-912e-49d2-b61b-1e315d95713f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"receiver_country","value":"BFA","description":"<p>(Required) 03 digits country name code</p>\n","type":"text"},{"key":"receiver_phonenumber","value":"72929595","description":"<p>(Required) valid phonenumber : must match operator an country.</p>\n","type":"text"},{"key":"operator","value":"MOOV","type":"text","description":"<p>(Required) the operator. See OPERATORS INFOS</p>\n"},{"key":"amount","value":"100","type":"text","description":"<p>(Required) see OPERATORS INFOS</p>\n"},{"key":"order_id","value":"{{your_order_id}}","type":"text","description":"<p>(Required) your product's order_id</p>\n"},{"key":"order_id_unicity","value":"1","type":"text","description":"<p>default : 0, by default, we don't check the order_id_uniticy</p>\n","disabled":true},{"key":"callback_url","value":"{{your_callback_url}}","type":"text","description":"<p>Nullable : if null, we use the defined callback URL in you API app configs. Must be an valid &amp; secured URL.</p>\n"},{"key":"order_data","value":"{\"order_data\":\"no-data\"}","type":"text","description":"<p>Anything you may need to process the callback properly.</p>\n"},{"key":"ignore_double_spend_risk","value":"","description":"<p>This ignores double spend protection. The feature is activated by default. Values : 1 (to ignore), 0 (same with not defined, enabled).</p>\n","type":"text","disabled":true}]},"url":"https://api.barkapay.com/api/client/transfer/request/mobile","description":"<h3 id=\"transfer-request-mobile\">Transfer Request Mobile</h3>\n<p>This endpoint is used to initiate a transfer request to a mobile number.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>receiver_country</code> (text): 3 digits country name code</li>\n<li><code>receiver_phonenumber</code> (text): Valid phone number that must match the operator and country</li>\n<li><code>operator</code> (text)</li>\n<li><code>amount</code> (text)</li>\n<li><code>note</code> (text, optional): Nullable</li>\n<li><code>order_id</code> (text)</li>\n<li><code>callback_url</code> (text)</li>\n<li><code>order_data</code> (text)</li>\n<li><code>ignore_double_spend_risk</code> (text): This parameter ignores double spend protection. Values: 1 (to ignore), 0 (to enable)</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<ul>\n<li>Status: 201</li>\n<li>Content-Type: application/json</li>\n<li><code>status</code> (number): Indicates the status of the request</li>\n<li><code>message</code> (string): Additional information about the request</li>\n<li><code>data</code> (object): Contains details of the transfer request<ul>\n<li><code>public_id</code> (string): Public identifier for the request</li>\n<li><code>amount</code> (number): Amount of the transfer</li>\n<li><code>receiver_phonenumber</code> (string): Receiver's phone number</li>\n<li><code>receiver_country</code> (string): Receiver's country</li>\n<li><code>operator</code> (string): Operator for the transfer</li>\n<li><code>status</code> (number): Status of the transfer</li>\n<li><code>order_id</code> (string): Identifier for the order</li>\n<li><code>app_label</code> (string): Label for the application</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 201,\n    \"message\": \"Transfer request created successfully.\",\n    \"data\": {\n        \"public_id\": \"c6e16250-395e-47ab-920a-6f23ae141067\",\n        \"amount\": 1000,\n        \"receiver_phonenumber\": \"72929595\",\n        \"receiver_country\": \"BFA\",\n        \"operator\": \"MOOV\",\n        \"status\": 0,\n        \"order_id\": \"iweidiewd743kwedk\",\n        \"app_label\": \"BRKCHG\"\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","client","transfer","request","mobile"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"11950f3c-0fa6-47b8-9fa6-28be8f265e5c","name":"SUCCESS","originalRequest":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"receiver_country","value":"BFA","description":"3 digits country name code","type":"text"},{"key":"receiver_phonenumber","value":"72929595","description":"valid phonenumber : must match operator an country.","type":"text"},{"key":"operator","value":"MOOV","type":"text"},{"key":"amount","value":"1000","type":"text"},{"key":"note","value":"Ambition is pricesless.","description":"nullable","type":"text"},{"key":"order_id","value":"iweidiewd743kwedk","type":"text"},{"key":"order_id_unicity","value":"1","type":"text","description":"default : 0, by default, we don't check the order_id_uniticy","disabled":true},{"key":"callback_url","value":"https://www.app.barkachange.com/barkapay-71737188","type":"text"},{"key":"order_data","value":"{\"order_data\":\"no-data\"}","type":"text"},{"key":"ignore_double_spend_risk","value":"","description":"This ignores double spend protection. The feature is activated by default. Values : 1 (to ignore), 0 (same with not defined, enable).","type":"text"}]},"url":"{{api_url}}/client/transfer/request/mobile"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 07:55:34 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"message\": \"Transfer request created successfully.\",\n    \"data\": {\n        \"public_id\": \"c6e16250-395e-47ab-920a-6f23ae141067\",\n        \"amount\": 1000,\n        \"receiver_phonenumber\": \"72929595\",\n        \"receiver_country\": \"BFA\",\n        \"operator\": \"MOOV\",\n        \"status\": 0,\n        \"order_id\": \"iweidiewd743kwedk\",\n        \"app_label\": \"BRKCHG\"\n    }\n}"}],"_postman_id":"f16d473c-912e-49d2-b61b-1e315d95713f"},{"name":"FINDER","id":"02526f76-aa6e-43d8-be2a-6005ebbb50d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"https://api.barkapay.com/api/client/transfer/{{your_order_public_id}}","description":"<p>This HTTP GET request retrieves transfer details for a specific order identified by its public ID. The response will be in JSON format and will include details such as the public ID, amount, receiver's phone number, receiver's country, status, order ID, transaction ID, order data, coder's note, reason, creation timestamp, transfer type, currency, operator, and address.</p>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"public_id\": \"c6e16250-395e-47ab-920a-6f23ae141067\",\n        \"amount\": 1000,\n        \"receiver_phonenumber\": \"72929595\",\n        \"receiver_country\": \"BFA\",\n        \"status\": 1,\n        \"order_id\": \"iweidiewd743kwedk\",\n        \"txid\": \"WCASH240216.0755.B00058\",\n        \"order_data\": \"{\\\"order_data\\\":\\\"no-data\\\"}\",\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"Successfully sent.\",\n        \"created_at\": \"2024-02-16T07:55:34.570000Z\",\n        \"type\": \"mobile\",\n        \"currency\": null,\n        \"operator\": \"MOOV\",\n        \"address\": null\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","client","transfer","{{your_order_public_id}}"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"2939b2e4-0cd6-45c7-9ce3-e6b24b1fbe62","name":"SUCCESSFULL TRANSFERT","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"{{api_url}}/client/transfer/c6e16250-395e-47ab-920a-6f23ae141067"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 07:56:49 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"public_id\": \"c6e16250-395e-47ab-920a-6f23ae141067\",\n        \"amount\": 1000,\n        \"receiver_phonenumber\": \"72929595\",\n        \"receiver_country\": \"BFA\",\n        \"status\": 1,\n        \"order_id\": \"iweidiewd743kwedk\",\n        \"txid\": \"WCASH240216.0755.B00058\",\n        \"order_data\": \"{\\\"order_data\\\":\\\"no-data\\\"}\",\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"Successfully sent.\",\n        \"created_at\": \"2024-02-16T07:55:34.570000Z\",\n        \"type\": \"mobile\",\n        \"currency\": null,\n        \"operator\": \"MOOV\",\n        \"address\": null\n    }\n]"},{"id":"e30d9a3e-28c0-40a8-b325-9e75d35df2f9","name":"NOT FOUND","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"{{api_url}}/client/transfer/bd8bcd91-f09a-4090-9eb5-c679bba85289"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 07:56:27 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No transfer found with this identifier\"\n}"}],"_postman_id":"02526f76-aa6e-43d8-be2a-6005ebbb50d4"},{"name":"FILTER","id":"2e6eac18-ecbf-4357-9045-fa1115a83173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"https://api.barkapay.com/api/client/transfer/?receiver_country=BFA&receiver_phonenumber=72929595&operator=MOOV&date_1=2024-02-16&date_2=2024-06-16&order_id={{your_order_id}}&status=1","description":"<p>This HTTP GET request retrieves transfer details for a client based on specified parameters. The request URL is <a href=\"https://api.barkapay.com/api/client/transfer/\">https://api.barkapay.com/api/client/transfer/</a>, and it accepts query parameters such as receiver_country, receiver_phonenumber, operator, date_1, date_2, order_id, and status.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><code>receiver_country</code> (string): The country of the receiver.</li>\n<li><code>receiver_phonenumber</code> (string): The phone number of the receiver.</li>\n<li><code>operator</code> (string): The operator involved in the transfer.</li>\n<li><code>date_1</code> (string): The start date for the transfer.</li>\n<li><code>date_2</code> (string): The end date for the transfer.</li>\n<li><code>order_id</code> (string): The unique identifier for the order.</li>\n<li><code>status</code> (integer): The status of the transfer.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be in JSON format with an array of transfer details objects. Each object contains the following properties:</p>\n<ul>\n<li><code>public_id</code> (string): The public identifier for the transfer.</li>\n<li><code>amount</code> (number): The transfer amount.</li>\n<li><code>receiver_phonenumber</code> (string): The receiver's phone number.</li>\n<li><code>receiver_country</code> (string): The receiver's country.</li>\n<li><code>status</code> (integer): The status of the transfer.</li>\n<li><code>order_id</code> (string): The unique identifier for the order.</li>\n<li><code>txid</code> (string): The transaction ID.</li>\n<li><code>order_data</code> (string): Data related to the order.</li>\n<li><code>coder_note</code> (string): Additional notes from the coder.</li>\n<li><code>reason</code> (string): Reason for the transfer.</li>\n<li><code>created_at</code> (string): The creation date of the transfer.</li>\n<li><code>type</code> (string): The type of transfer.</li>\n<li><code>currency</code> (string): The currency used in the transfer.</li>\n<li><code>operator</code> (string): The operator involved in the transfer.</li>\n<li><code>address</code> (string): The address related to the transfer.</li>\n<li><code>origin_source</code> (integer): The source of origin for the transfer.</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"public_id\": \"c6e16250-395e-47ab-920a-6f23ae141067\",\n        \"amount\": 1000,\n        \"receiver_phonenumber\": \"72929595\",\n        \"receiver_country\": \"BFA\",\n        \"status\": 1,\n        \"order_id\": \"iweidiewd743kwedk\",\n        \"txid\": \"WCASH240216.0755.B00058\",\n        \"order_data\": \"{\\\"order_data\\\":\\\"no-data\\\"}\",\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"Successfully sent.\",\n        \"created_at\": \"2024-02-16T07:55:34.570000Z\",\n        \"type\": \"mobile\",\n        \"currency\": null,\n        \"operator\": \"MOOV\",\n        \"address\": null,\n        \"origin_source\": 1\n    }\n]\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","client","transfer",""],"host":["api","barkapay","com"],"query":[{"key":"receiver_country","value":"BFA"},{"key":"receiver_phonenumber","value":"72929595"},{"key":"operator","value":"MOOV"},{"key":"date_1","value":"2024-02-16"},{"key":"date_2","value":"2024-06-16"},{"key":"order_id","value":"{{your_order_id}}"},{"key":"status","value":"1"}],"variable":[]}},"response":[{"id":"5aad1c61-7d99-42c2-80c7-f755fb212b58","name":"EXAMPLE OF RESPONSE","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":{"raw":"https://api.barkapay.com/api/client/transfer/?receiver_country=BFA&receiver_phonenumber=72929595&operator=MOOV&date_1=2024-02-16&date_2=2024-06-16&order_id={{your_order_id}}&status=1","protocol":"https","host":["api","barkapay","com"],"path":["api","client","transfer",""],"query":[{"key":"receiver_country","value":"BFA"},{"key":"receiver_phonenumber","value":"72929595"},{"key":"operator","value":"MOOV"},{"key":"date_1","value":"2024-02-16"},{"key":"date_2","value":"2024-06-16"},{"key":"order_id","value":"{{your_order_id}}"},{"key":"status","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 08:31:33 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"public_id\": \"c6e16250-395e-47ab-920a-6f23ae141067\",\n        \"amount\": 1000,\n        \"receiver_phonenumber\": \"72929595\",\n        \"receiver_country\": \"BFA\",\n        \"status\": 1,\n        \"order_id\": \"iweidiewd743kwedk\",\n        \"txid\": \"WCASH240216.0755.B00058\",\n        \"order_data\": \"{\\\"order_data\\\":\\\"no-data\\\"}\",\n        \"coder_note\": \"Ambition is priceless.\",\n        \"reason\": \"Successfully sent.\",\n        \"created_at\": \"2024-02-16T07:55:34.570000Z\",\n        \"type\": \"mobile\",\n        \"currency\": null,\n        \"operator\": \"MOOV\",\n        \"address\": null,\n        \"origin_source\": 1\n    }\n]"}],"_postman_id":"2e6eac18-ecbf-4357-9045-fa1115a83173"}],"id":"9ccb9825-7b97-4333-bcc0-87a0c25c96d6","description":"<p>BarkaPay allows businesses (like crypto exchangers) to send money via mobile money to their customers.</p>\n<p>Three routes are available:</p>\n<ul>\n<li><p>Create a transfer: transfers are automatically executed after creation. You receive a notification email, and an IPN if these are correctly configured.</p>\n</li>\n<li><p>Finder: allows you to retrieve the details of a transaction by its public_id.</p>\n</li>\n<li><p>Filter: allows you to retrieve the details of transfers according to certain criteria</p>\n</li>\n</ul>\n","_postman_id":"9ccb9825-7b97-4333-bcc0-87a0c25c96d6"},{"name":"ACCOUNTS","item":[{"name":"INDEX & BALANCES","id":"41ab11e1-6912-4447-8051-4f20a8802da2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Key</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"https://api.barkapay.com/api/client/accounts","description":"<p>This endpoint makes an HTTP GET request to retrieve client account information from the Barkapay API. The response will be in JSON format with a status code of 200. An example response for this request is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 200,\n    \"message\": \"Successfully browsed accounts.\",\n    \"balances\": {\n        \"mobile\": {\n            \"BFA\": [\n                {\n                    \"label\": \"main\",\n                    \"balance\": 2586\n                },\n                {\n                    \"label\": \"api\",\n                    \"balance\": 841513\n                }\n            ]\n        }\n    }\n}\n\n</code></pre>\n<p>The \"status\" key indicates the status of the request, \"message\" provides any additional information, and \"balances\" contains the account balance information for the client's mobile account. Further details about the \"label\" and \"balance\" within the \"BFA\" array can be obtained from the response.</p>\n","urlObject":{"protocol":"https","path":["api","client","accounts"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"47778af9-e932-4203-9411-3f1637bb433d","name":"INDEX","originalRequest":{"method":"GET","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Key"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"url":"{{api_url}}/client/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 08:56:17 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Successfully browsed accounts.\",\n    \"balances\": {\n        \"mobile\": {\n            \"BFA\": [\n                {\n                    \"label\": \"main\",\n                    \"balance\": 2586\n                },\n                {\n                    \"label\": \"api\",\n                    \"balance\": 841513\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"41ab11e1-6912-4447-8051-4f20a8802da2"},{"name":"STATEMENT","id":"b130076f-5567-4503-a843-ad2e2b2482a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"<p>(Required) Your API Secret</p>\n"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"type","value":"mobile","description":"<p>account type : mobile, crypto, electro, bank</p>\n","type":"text"},{"key":"name","value":"BFA","description":"<p>account name</p>\n","type":"text"},{"key":"label","value":"main","description":"<p>main or api</p>\n","type":"text"}]},"url":"https://api.barkapay.com/api/client/accounts/statement","description":"<h3 id=\"add-client-account-statement\">Add Client Account Statement</h3>\n<p>This API endpoint is used to add a client account statement.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>type</code> (text): account type - mobile, crypto, electro, bank</li>\n<li><code>name</code> (text): account name</li>\n<li><code>label</code> (text): main or api</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>Upon a successful execution, the API returns a status code of 200 with a JSON response containing the following fields:</p>\n<ul>\n<li><code>status</code> (number): 0</li>\n<li><code>message</code> (string): Empty message</li>\n<li><code>account_info</code> (object)<ul>\n<li><code>type</code> (string): Account type</li>\n<li><code>name</code> (string): Account name</li>\n<li><code>label</code> (string): Label</li>\n<li><code>balance</code> (number): Account balance</li>\n<li><code>statement</code> (array)<ul>\n<li><code>type</code> (string): Statement type</li>\n<li><code>amount</code> (number): Statement amount</li>\n<li><code>previous_balance</code> (number): Previous balance</li>\n<li><code>new_balance</code> (number): New balance</li>\n<li><code>public_id</code> (string): Public ID</li>\n<li><code>origin</code> (string): Statement origin</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": 0,\n    \"message\": \"\",\n    \"account_info\": {\n        \"type\": \"\",\n        \"name\": \"\",\n        \"label\": \"\",\n        \"balance\": 0,\n        \"statement\": [\n            {\n                \"type\": \"\",\n                \"amount\": 0,\n                \"previous_balance\": 0,\n                \"new_balance\": 0,\n                \"public_id\": \"\",\n                \"origin\": \"\"\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","client","accounts","statement"],"host":["api","barkapay","com"],"query":[],"variable":[]}},"response":[{"id":"5ca08294-6b65-4b73-b311-41b020b0a22c","name":"STATEMENT","originalRequest":{"method":"POST","header":[{"key":"X-Api-Key","value":"{{your_api_key}}","type":"text","description":"(Required) Your API Secret"},{"key":"X-Api-Secret","value":"{{your_api_secret}}","type":"text","description":"(Required) Your API Secret"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Accept-Language","value":"fr","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"type","value":"mobile","description":"account type : mobile, crypto, electro, bank","type":"text"},{"key":"name","value":"BFA","description":"account name","type":"text"},{"key":"label","value":"main","description":"main or api","type":"text"}]},"url":"{{api_url}}/client/accounts/statement"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 16 Feb 2024 08:57:25 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/8.2.16"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains"},{"key":"Upgrade","value":"h2,h2c"},{"key":"Connection","value":"Upgrade, Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Successfully browsed account statement.\",\n    \"account_info\": {\n        \"type\": \"mobile\",\n        \"name\": \"BFA\",\n        \"label\": \"main\",\n        \"balance\": 2586,\n        \"statement\": [\n            {\n                \"type\": \"credit\",\n                \"amount\": 500000,\n                \"previous_balance\": 0,\n                \"new_balance\": 500000,\n                \"public_id\": \"FB-ad6c06db-e133-463c-92f1-26e2fcb5e730\",\n                \"origin\": \"funding\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 200000,\n                \"previous_balance\": 500000,\n                \"new_balance\": 300000,\n                \"public_id\": \"SUB-2023666666666-20230622103426-616-FROM\",\n                \"origin\": \"subtransfer\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 7600,\n                \"previous_balance\": 300000,\n                \"new_balance\": 292400,\n                \"public_id\": \"WR-93de4fc1-3f1e-4002-94aa-cd85ede33087\",\n                \"origin\": \"withdrawal\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 7600,\n                \"previous_balance\": 292400,\n                \"new_balance\": 300000,\n                \"public_id\": \"RESTORE-WR-93de4fc1-3f1e-4002-94aa-cd85ede33087\",\n                \"origin\": \"withdrawal\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 7000,\n                \"previous_balance\": 300000,\n                \"new_balance\": 293000,\n                \"public_id\": \"WR-6648c121-15ed-4ec4-b8af-9db917549b3a\",\n                \"origin\": \"withdrawal\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 7000,\n                \"previous_balance\": 293000,\n                \"new_balance\": 300000,\n                \"public_id\": \"RESTORE-WR-6648c121-15ed-4ec4-b8af-9db917549b3a\",\n                \"origin\": \"withdrawal\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 1000000,\n                \"previous_balance\": 300000,\n                \"new_balance\": 1300000,\n                \"public_id\": \"20230915154511-2023274102587-2023666666666-356-TO\",\n                \"origin\": \"b2btransfer\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 500000,\n                \"previous_balance\": 1300000,\n                \"new_balance\": 800000,\n                \"public_id\": \"WR-f3374f38-85d7-4a6d-a720-0e33c420cc56\",\n                \"origin\": \"withdrawal\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 500,\n                \"previous_balance\": 800000,\n                \"new_balance\": 800500,\n                \"public_id\": \"SUB-2023666666666-20231028202512-539-TO\",\n                \"origin\": \"subtransfer\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 800500,\n                \"previous_balance\": 800500,\n                \"new_balance\": 0,\n                \"public_id\": \"SUB-2023666666666-20231028202541-740-FROM\",\n                \"origin\": \"subtransfer\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 10000,\n                \"previous_balance\": 0,\n                \"new_balance\": 10000,\n                \"public_id\": \"SUB-2023666666666-20231118162729-608-TO\",\n                \"origin\": \"subtransfer\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 10000,\n                \"previous_balance\": 10000,\n                \"new_balance\": 0,\n                \"public_id\": \"SUB-2023666666666-20231118162916-937-FROM\",\n                \"origin\": \"subtransfer\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 500,\n                \"previous_balance\": 0,\n                \"new_balance\": 500,\n                \"public_id\": \"bf6e8530-c68d-42a8-94f0-3622c7ba84ca\",\n                \"origin\": \"transaction\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 10,\n                \"previous_balance\": 500,\n                \"new_balance\": 490,\n                \"public_id\": \"bf6e8530-c68d-42a8-94f0-3622c7ba84ca-FEES\",\n                \"origin\": \"fees\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 200,\n                \"previous_balance\": 490,\n                \"new_balance\": 690,\n                \"public_id\": \"d2b45003-b989-41ea-9150-f46036683976\",\n                \"origin\": \"transaction\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 4,\n                \"previous_balance\": 690,\n                \"new_balance\": 686,\n                \"public_id\": \"d2b45003-b989-41ea-9150-f46036683976-FEES\",\n                \"origin\": \"fees\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 100,\n                \"previous_balance\": 186,\n                \"new_balance\": 86,\n                \"public_id\": \"45da0735-bf3f-4bfe-93c2-d9162c3d16fa-FEES\",\n                \"origin\": \"fees\"\n            },\n            {\n                \"type\": \"debit\",\n                \"amount\": 500,\n                \"previous_balance\": 686,\n                \"new_balance\": 186,\n                \"public_id\": \"45da0735-bf3f-4bfe-93c2-d9162c3d16fa\",\n                \"origin\": \"transaction\"\n            },\n            {\n                \"type\": \"credit\",\n                \"amount\": 2500,\n                \"previous_balance\": 86,\n                \"new_balance\": 2586,\n                \"public_id\": \"SUB-2023666666666-20240209213635-123-TO\",\n                \"origin\": \"subtransfer\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b130076f-5567-4503-a843-ad2e2b2482a1"}],"id":"30a8fa8c-6c1b-4a64-a2ee-32eb57cd137e","description":"<p>These routes allow you to browse your account information: available accounts, balances, account statements.</p>\n","_postman_id":"30a8fa8c-6c1b-4a64-a2ee-32eb57cd137e"},{"name":"INSTANT PAYMENT NOTIFICATION","item":[],"id":"befcd7a3-9d3c-49c4-b7d1-717ace004288","description":"<p>After processing a transaction, the system sends you an instant notification. You can configure 1 reception URL per application (API or SCI).</p>\n<h4 id=\"examples-of-ipns-body\">Examples of IPN's body</h4>\n<ul>\n<li>Example of IPN body in the case of a payment 2:</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"public_id\": \"cd47b5eb-7ea3-45de-b15b-dca18ac871e9\",\n  \"amount\": 10200,\n  \"sender_phonenumber\": \"70656188\",\n  \"sender_country\": \"BFA\",\n  \"status\": 1,\n  \"order_id\": \"41b7388e4ab38\",\n  \"txid\": \"WMRCH240404.1349.F06808\",\n  \"order_data\": null,\n  \"coder_note\": \"Ambition is priceless.\",\n  \"reason\": \"Successfully received payment.\",\n  \"type\": \"payment\",\n  \"hash\": \"d20de5598d1d92645ce2c76d6996f799d06d9b123769cf33e5ee1f71229f1d2f1d6bcd62c24e65f9b48c458988c952d7bd89ccd8e2fbec67c91d9c5ce0dca477\"\n}\n\n</code></pre>\n<ul>\n<li>Example of IPN body in the case of a transfer :</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"public_id\": \"e506c8c2-dc58-4dd3-b6f5-add3bd39ef99\",\n  \"amount\": 12573,\n  \"receiver_phonenumber\": \"70763259\",\n  \"receiver_country\": \"BFA\",\n  \"status\": 1,\n  \"order_id\": \"99b643bf0560a\",\n  \"txid\": \"WCASH240404.1353.B01783\",\n  \"order_data\": null,\n  \"coder_note\": \"Ambition is priceless.\",\n  \"reason\": \"Successfully sent.\",\n  \"type\": \"transfer\",\n  \"hash\": \"e9d17c26477625e2e90beee51cad7b78d9d864cbd9f983111327fc15d4d73246138f3997b7d15ca0fc783d40b1deffb44808194433c5b54b4989eefb5bda7353\"\n}\n\n</code></pre>\n<h4 id=\"check-ipn-source\">Check IPN source</h4>\n<p>BarkaPay allows you to verify the source of the IPN, allowing you to increase the security of your transactions:</p>\n<ul>\n<li><p>A secret key is automatically generated when creating an API or SCI application. You can find it at <a href=\"https://barkapay.com/dashboard/api-apps/api/overview\">https://barkapay.com/dashboard/api-apps/api/overview</a> or <a href=\"https://barkapay.com/dashboard/api-apps/sci/overview\">https://barkapay.com/dashboard/api-apps/sci/overview</a>.</p>\n</li>\n<li><p>A hash is generated and sent to the IPN under the \"hash\" key. To verify the authenticity of the data received, generate a hash and compare it to the one received in the IPN.</p>\n</li>\n</ul>\n<p>Here's how to generate the hash:</p>\n<ul>\n<li>For the payments</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Replace YOUR_IPN_ENCRYPTION_KEY with your actual IPN encryption key\n$ipnEncryptionKey = \"YOUR_IPN_ENCRYPTION_KEY\"; \n$hashedIpnEncryptionKey = hash('sha256', $ipnEncryptionKey);\n$transactionData = [\n    'public_id', \n    'amount', \n    'sender_phonenumber', \n    'sender_country', \n    'status', \n    'order_id', \n    'txid'\n];\n// Creating a hash sentence by concatenating transaction data and the hashed IPN key\n$hashSentence = \"13:\" . implode(\":\", $transactionData) . \":\" . $hashedIpnEncryptionKey . \":13\";\n// Generating the final hash using SHA-512\n$hash = hash('sha512', $hashSentence);\n\n</code></pre>\n<ul>\n<li>For the transfers :</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">// Define your IPN encryption key\n$ipnEncryptionKey = \"YOUR_IPN_ENCRYPTION_KEY\";\n$hashedIpnEncryptionKey = hash('sha256', $ipnEncryptionKey);\n// Simulate actual transaction data\n$transactionData = [\n    'e506c8c2-dc58-4dd3-b6f5-add3bd39ef99', // public_id\n    '12573',                                // amount\n    '70763259',                             // receiver_phonenumber\n    'BFA',                                  // receiver_country\n    '1',                                    // status\n    '99b643bf0560a',                        // order_id\n    'WCASH240404.1353.B01783'               // txid\n];\n// Create a hash sentence by concatenating the transaction data and the hashed IPN key\n$hashSentence = \"13:\" . implode(\":\", $transactionData) . \":\" . $hashedIpnEncryptionKey . \":13\";\n// Generate the final hash using SHA-512\n$hash = hash('sha512', $hashBrbSentence);\n\n</code></pre>\n","_postman_id":"befcd7a3-9d3c-49c4-b7d1-717ace004288"}]}