Skip to content

Commit e030769

Browse files
committed
Merge branch 'development'
2 parents 004f89d + 2c2077e commit e030769

22 files changed

+401
-204
lines changed

README.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,10 @@ For more information, please read <https://api-docs.kopokopo.com/#receive-paymen
207207
- External Till Recipient(`till`)
208208
- `tillNumber`: Pay recipient's till number `REQUIRED`
209209
- `tillName`: Pay recipient's till name `REQUIRED`
210-
- Kopo Kopo Merchant(`kopo_kopo_merchant`)
211-
- `tillNumber`: Pay recipient's till number `REQUIRED`
212-
- `aliasName`: Pay recipient's alias name `REQUIRED`
210+
- Paybill(`paybill`)
211+
- `paybillName`: Pay recipient's paybill name `REQUIRED`
212+
- `paybillNumber`: Pay recipient's paybill number `REQUIRED`
213+
- `paybillAccountNumber`: Pay recipient's account number `REQUIRED`
213214
- `accessToken`: Gotten from the [`TokenService`](#tokenservice) response `REQUIRED`
214215

215216
- `PayService->sendPay([ payOptions ])`: `payOptions`: An array of arrays containing the following keys:
@@ -219,6 +220,9 @@ For more information, please read <https://api-docs.kopokopo.com/#receive-paymen
219220
- `currency`: 3-digit ISO format currency code. `REQUIRED`
220221
- `amount`: Amount to charge. `REQUIRED`
221222
- `callbackUrl`: Url that the [result](#responsesandresults) will be posted to `REQUIRED`
223+
- `description`: Payment description `REQUIRED`
224+
- `tags`: Tags associated with the payment
225+
- `category`: Category that the payment belongs to
222226
- `accessToken`: Gotten from the [`TokenService`](#tokenservice) response `REQUIRED`
223227
- `metadata`: It is a hash containing a maximum of 5 key value pairs
224228

@@ -605,10 +609,11 @@ Note: The asynchronous results are processed like webhooks.
605609
- `tillNumber`
606610
- `tillName`
607611

608-
- If `recipientType == "Kopo Kopo Merchant"`
612+
- If `recipientType == "Paybill"`
609613

610-
- `tillNumber`
611-
- `aliasName`
614+
- `paybillName`
615+
- `paybillNumber`
616+
- `paybillAccountNumber`
612617

613618
- Stk Push Status
614619

example/composer.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@
88
"email": "nicollet.njora05@gmail.com"
99
}
1010
],
11+
"repositories": [
12+
{
13+
"type": "git",
14+
"url": "https://github.com/kopokopo/k2-connect-php.git"
15+
}
16+
],
1117
"require": {
1218
"altorouter/altorouter": "1.1.0",
1319
"vlucas/phpdotenv": "^5.3@dev",
1420
"kopokopo/k2-connect-php": "dev-development"
1521
}
16-
}
22+
}

0 commit comments

Comments
 (0)