Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. User - Create a new user with type as SYSTEM for 3rd Party system. The user’s login and its generated token should be bound to a specific set of whitelisted IPs.

  2. Bill - The 3rd party should call fetchBill from the server-side to fetch the bill details.

  3. Transaction - The 3rd party service will call transaction/_create to initiate a transaction before accepting the payments from the customer.

    After payment completion transaction/_update will be called to mark success or failure of the transaction. The transaction/_update should only be allowed to the user who created the transaction. Transactions once marked successful/failed should not be allowed to be updated. 

    On successful transaction, the receipt should be created automatically with a receiptdate as the transaction create date. In cases when bills are only valid for a day, these bills should be handled for transaction success delays. https://www.getpostman.com/collections/3a1626684a1585abf9ee

API List

Title

Link

/pg-service/transaction/v1/_create

https://www.getpostman.com/collections/a0dfce4274235164c5203a1626684a1585abf9ee

/pg-service/transaction/v1/_update

https://www.getpostman.com/collections/a0dfce4274235164c5203a1626684a1585abf9ee

/pg-service/transaction/v1/_search

https://www.getpostman.com/collections/a0dfce4274235164c5203a1626684a1585abf9ee

/pg-service/gateway/v1/_search

https://www.getpostman.com/collections/a0dfce4274235164c5203a1626684a1585abf9ee

(Note: All the API’s are in the same postman collection therefore same link is added in each row)