Skip to content

Commit

Permalink
Fix bank checkout documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aksalj committed Mar 7, 2018
1 parent 0c30aac commit c1ea37d
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@ The options array `$options` has the following keys
- `productName`: Payment Product as setup on your account. `REQUIRED`
- `checkoutToken`: Token that has been generated by our APIs as as result of charging a user's Payment Card in a previous transaction. When using a token, the `paymentCard` data should NOT be populated.
- `paymentCard`: Payment Card to be charged:
- `number`: The payment card number. `REQUIRED`
- `cvvNumber`: The 3 or 4 digit Card Verification Value. `REQUIRED`
- `expiryMonth`: The expiration month on the card (e.g `8`) `REQUIRED`
- `authToken`: The card's ATM PIN. `REQUIRED`
- `countryCode`: The 2-Digit countryCode where the card was issued (only `NG` is supported). `REQUIRED`

- `number`: The payment card number. `REQUIRED`
- `cvvNumber`: The 3 or 4 digit Card Verification Value. `REQUIRED`
- `expiryMonth`: The expiration month on the card (e.g `8`) `REQUIRED`
- `authToken`: The card's ATM PIN. `REQUIRED`
- `countryCode`: The 2-Digit countryCode where the card was issued (only `NG` is supported). `REQUIRED`

- `currencyCode`: 3-digit ISO format currency code (only `NGN` is supported). `REQUIRED`
- `amount`: Payment amount. `REQUIRED`
- `narration`: A short description of the transaction `REQUIRED`
Expand All @@ -150,13 +152,13 @@ $payments->bankCheckout($options);
```
The options array `$options` has the following keys
- `productName`: Payment Product as setup on your account. `REQUIRED`
- `checkoutToken`: Token that has been generated by our APIs as as result of charging a user's Payment Card in a previous transaction. When using a token, the `paymentCard` data should NOT be populated.
- `paymentCard`: Payment Card to be charged:
- `number`: The payment card number. `REQUIRED`
- `cvvNumber`: The 3 or 4 digit Card Verification Value. `REQUIRED`
- `expiryMonth`: The expiration month on the card (e.g `8`) `REQUIRED`
- `authToken`: The card's ATM PIN. `REQUIRED`
- `countryCode`: The 2-Digit countryCode where the card was issued (only `NG` is supported). `REQUIRED`
- `bankAccount`: Bank account to be charged:

- `accountName`: The name of the bank account. `REQUIRED`
- `accountNumber`: The account number. `REQUIRED`
- `bankCode`: A 6-Digit [Integer Code](http://docs.africastalking.com/bank/checkout) for the bank that we allocate. See `payments.BANK.*` for supported banks. `REQUIRED`
- `dateOfBirth`: Date of birth of the account owner (`YYYY-MM-DD`). Required for Zenith Bank Nigeria.

- `currencyCode`: 3-digit ISO format currency code (only `NGN` is supported). `REQUIRED`
- `amount`: Payment amount. `REQUIRED`
- `narration`: A short description of the transaction `REQUIRED`
Expand Down

0 comments on commit c1ea37d

Please sign in to comment.