@mojaloop/dfsp-subscription
DFSP Subscription service
Last updated 3 years ago by l1pcircleci .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mojaloop/dfsp-subscription 
SYNC missed versions from official npm registry.

Subscription service API


This service is used for mapping between the users and phone numbers. It is supporting the following private API calls:

Add subscription

  • URL

    /rpc/subscription/subscription/add

  • Method

    POST

  • Data Params

    Required

    • actorId [string] - Actor id
    • phoneNumber [string] - Phone number
  • Success Response

    • Code: 200
      Content
      • subscriptionId [number] - Subscription id
      • actorId [string] - Actor id
      • phoneNumber [string] - Phone number

Get subscription

  • URL

    /rpc/subscription/subscription/get

  • Method

    POST

  • Data Params

    Optional

    • actorId [string] - Actor id
    • phoneNumber [string] - Phone number
  • Success Response

    • Code: 200
      Content
      • actorId [string] - Actor id
      • phoneNumber [string] - Phone number

Remove subscription

  • URL

    /rpc/subscription/subscription/remove

  • Method

    POST

  • Data Params

    Optional

    • subscriptionId [number] - Subscription id
  • Success Response

    • Code: 200
      Content
      • subscriptionId [number] - Subscription id

Current Tags

  • 0.5.12                                ...           latest (3 years ago)

2 Versions

  • 0.5.12                                ...           3 years ago
  • 0.5.11                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (13)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |