@mojaloop/dfsp-subscription
v0.5.12
Published
DFSP Subscription service
Keywords
Readme
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/addMethod
POSTData Params
Required
actorId [string] - Actor idphoneNumber [string] - Phone number
Success Response
- Code: 200
Content
subscriptionId [number] - Subscription idactorId [string] - Actor idphoneNumber [string] - Phone number
- Code: 200
Content
Get subscription
URL
/rpc/subscription/subscription/getMethod
POSTData Params
Optional
actorId [string] - Actor idphoneNumber [string] - Phone number
Success Response
- Code: 200
Content
actorId [string] - Actor idphoneNumber [string] - Phone number
- Code: 200
Content
Remove subscription
URL
/rpc/subscription/subscription/removeMethod
POSTData Params
Optional
subscriptionId [number] - Subscription id
Success Response
- Code: 200
Content
subscriptionId [number] - Subscription id
- Code: 200
Content
