Skip to content

Instantly share code, notes, and snippets.

View aymardkouakou's full-sized avatar

AYMARD KOUAKOU aymardkouakou

  • DreamIt
  • Côte d’Ivoire
View GitHub Profile
@aymardkouakou
aymardkouakou / Step 1: Create API User.MD
Created October 4, 2022 00:59 — forked from chaiwa-berian/Step 1: Create API User.MD
Testing MTN MoMo Collection API in Sandbox using Postman

A. Checklist

  • To create an API User, you need the following things in place: X-Reference-Id and Ocp-Apim-Subscription-Key

1. X-Reference-Id

  • This is used as User ID since the Sandbox is a Mock Environment so we kinda create our own ids and send them over to the sandbox so it can uniquely identify the user
  • Get the value for this here: https://www.uuidgenerator.net/api/version4
  • Remember to keep this safely as we will use it when configuring our POST request
  • Lets say you have your X-Reference-Id as: 9f92971b-cd2e-4feb-9053-0b14d53ac4f5

2. Ocp-Apim-Subscription-Key

  • Get this from the Primary or Secondary Key of your Collections | Enable remote collection of bills, fees or taxes subscription.
@aymardkouakou
aymardkouakou / gist:fd9cd4478cdf7ef17a226f4c88289553
Created July 16, 2017 12:18 — forked from omegasoft7/gist:ec2285ae5a873d6f780b
Change Android Emulator Storage Size
# Navigate to AVD
cd ~/.android/avd/Nexus5
# Delete old image
#rm userdata-qemu.*
# Re-size the image
e2fsck -f userdata-qemu.img
resize2fs userdata.img 512M
@aymardkouakou
aymardkouakou / countries.sql
Created January 15, 2017 13:31 — forked from adhipg/countries.sql
Sql dump of all the Countries, Country Codes, Phone codes.
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;