Skip to content

A minimal demonstration communication APIs to facilitate cross-border Request To Pay payments. These APIs are intended to be used along with Nexus API

Notifications You must be signed in to change notification settings

Manas-Nanivadekar/nexus-inspired-request-to-pay-messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nexus Messaging API

What is this project

This project is a minimal demonstration of Messaging between Payer and Payee. These APIs are intended to be used with Nexus to facilitate Request To Pay in international transactions or cross border transactions.

Running code locally

  1. Make sure you have java 11 and rabbit mq installed on your machine.
  2. Complie the code using maven.
  3. Run the code
  4. Test API using Postman.

There are two API's for Nexus Messaging:

  1. Messaging API
  2. Bill API

Messaging API

Message API is used to send and receive messages and for the approval of the payee.

POST https://localhost:8080/message/{Status}

example body is specified in message.json

example api call:

POST https://localhost:8080/message/PENDING

Bill API

Bill API is used for sending the bill amount and due date to the payee. The reason why this is not part of the messaging API is because the bill API can also be used for basic R2P payments.

POST https://localhost:8080/bill/

example body is specified in bill.json

About

A minimal demonstration communication APIs to facilitate cross-border Request To Pay payments. These APIs are intended to be used along with Nexus API

Topics

Resources

Stars

Watchers

Forks

Languages