Initialize Transaction
Standard charge endpoint.
Last updated
Standard charge endpoint.
Last updated
Always verify transactions before you give value; if you provide a callback in your payload we will be sending your transaction reference via a HTTP get
request with a query ?reference=your_transaction_reference
.
POST
{{base_url}}/payment/initialize
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
String
Bearer {{your_secret_key}}
Content-Type
String
Application/json
reference*
String
Your unique Alphanumeric reference
expires_in*
Integer
A single-digit integer value between 1 - 7 days. You can make your customers define it but we prefer you do for consistency sake. However communicate this to your customers clearly before collecting payment
currency*
String
We only allow "NGN" at the moment
products*
Array
An array of objects
products.name*
String
The product you are selling
products.description*
String
A description of the product. Use clear terms. e.g. XL Natural Wool Male White Top
products.amount*
Integer
We expect a multiple of 100. That is, if your customer is paying 500 NGN we expect an input of 500 x 100. 50000 kobo
customer*
Object
An object of the customer information which consists of the name
, email
and phone
keys
customer.name*
String
Your customer's first and last name.
customer.email*
String
Your customer's email
customer.phone*
String
An 11 character long string in this format "09101234567"
metadata
Object
Additional Information you would like to add e.g {location : "Abuja"}
callback_url
URL
Your callback endpoint for this transaction.