Originate External Loan-Disbursement
In order to make a request to the loan disbursement status update
endpoint, you will have to authenticate with our API. Authentication involves getting an access token and sending it in the Authorization
header as a Bearer <token>
.
Content-Type: application/json
Base Url: <https://ignite.originate.ng/graphql>
Action: POST
Obtaining an Authentication Key as a merchant
A client authentication key can be obtained via the API via the merchant login
API Login
mutation ($input: AccountLoginInput!){
login(input: $input) {
token
}
}
{
"input": {
"clientId": "YOUR_CLIENT_ID",
"email": "MERCHANT_PORTAL_EMAIL",
"password": "MERCHANT_PORTAL_PASSWORD",
"asClient": true
}
}
Mark Loan as disbursed
This GraphQL mutation updates the portfolio to be marked as disbursed.
mutation UpdateExternallyDisbursedLoan($input: ExternalDisbursementInput!) {
updateExternallyDisbursedLoan(input: $input) {
portfolio {
id
}
}
}
{
"input": {
"portfolioId": "PORTFOLIO ID"
}
}
Loan will now be marked as disbursed and webhook notification sent.
, multiple selections available,