Authentication
PelPay integrations has been simplified and made seamless. It is as simple as copying our sample codes and changing the required parameters to suit your needs.
The first step is to initiate a login with the Login endpoint. A token will be generated at a successful response.
LOGIN
POST
https://api.pelpay.ng/api/Account/login
The token generated will be used to make any other request to the gateway.
Bearer {Token}
Request Body
Name
Type
Description
clientId*
String
Required client Id
clientSecret*
String
Required client secret key
200: OK Token GeneratedCopy
Request Body:
Response Body:
For every
request to Pelpay, the token is passed on the header as bearer , eg
var config = { headers: { Authorization: Bearer{access_token} } }
Last updated