Specta-Prime

Specta-prime requests.

STAGING_URL: https://switchapi3.azurewebsites.net
LIVE_URL: https://switchapi.azurewebsites.net

Register

POST https://switchapi3.azurewebsites.net/user/specta_prime/register

Registers a verified user on Specta-prime.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authorization

string

Bearer is Bearer token

Request Body

Name
Type
Description

username

string

Username for Specta

password

string

Password for Specta

{
    "message": "Specta-Prime registration successful"
}

Loan Tenors

GET https://switchapi3.azurewebsites.net/user/specta_prime/loan_tenors

Get Loan Tenors.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

ORR questions

GET https://switchapi3.azurewebsites.net/user/specta_prime/orr_questions

Get ORR questions.

Headers

Name
Type
Description

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Repayment modes

GET https://switchapi3.azurewebsites.net/user/specta_prime/repayment_modes

Get repayment modes.

Headers

Name
Type
Description

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

User's existing investments

GET https://switchapi3.azurewebsites.net/user/specta_prime/existing_investments

Get user's existing investments.

Headers

Name
Type
Description

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Calculate cash-backed detail

POST https://switchapi3.azurewebsites.net/user/specta_prime/calculate_cash_backed_detail

Calculate cash-backed detail.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Request Body

Name
Type
Description

amount

integer

Amount in naira

tenor

string

Loan tenor

repayment_mode

integer

Repayment mode value from the GET /repayment_modes endpoint

investment_reference_id

string

The reference id of the investment

Begin Transaction

POST https://switchapi3.azurewebsites.net/user/specta_prime/begin_transaction

Begin transaction.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Request Body

Name
Type
Description

amount

string

Amount in naira

tenor

string

Loan tenot

repayment_mode

string

value from GET /repayment_modes

investment_reference_id

string

Investment reference_id

Submit ORR Response

POST https://switchapi3.azurewebsites.net/user/specta_prime/orr_questions

Submit ORR response.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Request Body

Name
Type
Description

accommodationType

number

value from the GET /orr_questions endpoint

jobChange

number

value from the GET /orr_questions endpoint

maritalStatus

number

value from the GET /orr_questions endpoint

numberOfDependents

number

value from the GET /orr_questions endpoint

tenorOfLoan

number

value from the GET /orr_questions endpoint

residenceDuration

number

value from the GET /orr_questions endpoint

transactionId

string

The transaction ID gotten from the POST /begin_transaction endpoint

Transaction Summary

GET https://switchapi3.azurewebsites.net/user/specta_prime/transaction_summary

Get transaction summary

Query Parameters

Name
Type
Description

transaction_id

string

Id of the transaction.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Send Otp to finalize Loan Application

POST https://switchapi3.azurewebsites.net/user/specta_prime/send_loan_application_finalization_otp

Send otp.

Headers

Name
Type
Description

SWI-CID

string

Client ID

SWI-CS

string

Payload checksum

Authorization

string

Format is Bearer token

Request Body

Name
Type
Description

transaction_id

string

Transaction ID

Resend Otp to finalize Loan Application

POST https://switchapi3.azurewebsites.net/user/specta_prime/resend_loan_application_finalization_otp

Resend otp.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Request Body

Name
Type
Description

transaction_id

string

ID of transaction

User's transactions

GET https://switchapi3.azurewebsites.net/user/specta_prime/transactions

Get User's transactions.

Headers

Name
Type
Description

SWI-CS

string

Payload checksum

SWI-CID

string

Client ID

Authentication

string

Format is Bearer token

Finalize Loan Application

POST https://switchapi3.azurewebsites.net/user/specta_prime/finalize_loan_application

Finalize loan application

Headers

Name
Type
Description

SWI-CS

string

SWI-CID

string

Client ID

Authorization

string

Format is Bearer token

Request Body

Name
Type
Description

transaction_id

string

Transaction ID

otp

string

Otp

Last updated

Was this helpful?