All Customer API's

How the customer api's can interact with the front end. Since the page is quite lengthy use the contents tab on your right to more easily navigate this page.

Get Address

GET /api/customer/address/{id}

This endpoint allows you to retrieve address as required.

Path Parameters

Name
Type
Description

id

integer

ID of the address.

Headers

Name
Type
Description

Authentication

string

Authentication token to check whether the user is a customer or not.

Get all Addresses

GET /api/customer/address/all

Returns all addresses that belong to the user/customer.

Headers

Name
Type
Description

Authentication

string

Authenticate to check whether the user is a customer or not, and also retrieve required customer details.

Get Payee

GET /api/customer/payee

Path Parameters

Name
Type
Description

string

Request Body

Name
Type
Description

model

object

Get all Payees

GET

Path Parameters

Name
Type
Description

string

Get Notification

GET

Path Parameters

Name
Type
Description

string

Get all Notifications

GET

Path Parameters

Name
Type
Description

string

Get Transaction

GET

Path Parameters

Name
Type
Description

string

Get all transactions

GET

Path Parameters

Name
Type
Description

string

Post Address

POST

Path Parameters

Name
Type
Description

string

Post Notification

POST

Path Parameters

Name
Type
Description

string

Post Transfer

POST

A transfer is a weird one. It created 2 transaction object, one for the account that is 'losing' money and other for the account that is 'gaining' money.

Path Parameters

Name
Type
Description

string

Put Address

PUT

Path Parameters

Name
Type
Description

string

Put Notification

PUT

Path Parameters

Name
Type
Description

string

Get Account

GET

Path Parameters

Name
Type
Description

string

Get all Accounts

GET

Path Parameters

Name
Type
Description

string

Last updated