This API is used for Subscription verification. (For e.g Recurly payment gateway Subscription Verification)
Resource URL
GET - /sms/2.0/subscriber/add/subscription/__SUBSCRIBER__UDID__?userid=__SUBSCRIBER__ID__&subsciption=__RECURLY__SUBID__
Authorization
required
Bearer
Access Token
NOTE: Access Token here refers to the access authorization token.
userid
required
“subId” from Device Link Check response
subsciption
required
We can get “recurly_uuid” from recurly. (uuid - https://dev.recurly.com/docs/create-subscription)
Example Request URL
GET - http://_JTV_HOST_/sms/2.0/subscriber/add/subscription/{UId}?userid={subId}&subscription={recurly_uuid}
Example Request
Failure
|
{ "code":1001, "result":"failure", "status":"failure", "message":"Email ID is already registered." } |
Success
|
{ "code":0, "result":"success", "status":"success", "message":"" } |