View Subscription

Get details on a subscription


subscription_id:
required
string

ID of the subscription

EXAMPLE REQUEST

GET /v3.1/subscriptions/589b6adec83e17002122196c HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-GATEWAY: client_id_2bb1e412edd311e6bd04e285d6015267|client_secret_2bb1e714edd311e6bd04e285d6015267
subs_id = '589b6adec83e17002122196c'

client.get_subscription(subs_id)
const subscriptionID = '589b6adec83e17002122196c';

client.getSubscription(subscriptionID);
subscription_id= "589b6adec83e17002122196c"

client.get_subscription(subscription_id: subscription_id)
$subscriptionid = '589b6adec83e17002122196c';

$client->get_subscription(  $subscriptionid );
subscriptionID := "589b6adec83e17002122196c"

data, err := client.GetSubscription(subscriptionID)

EXAMPLE RESPONSE

{
    "_id": "589b6adec83e17002122196c",
    "_links": {
        "self": {
            "href": "https://uat-api.synapsefi.com/v3.1/subscriptions/589b6adec83e17002122196c"
        }
    },
    "_v": 2,
    "client_id": "589acd9ecb3cd400fa75ac06",
    "is_active": true,
    "scope": [
        "USERS|POST",
        "USER|PATCH",
        "NODES|POST",
        "NODE|PATCH",
        "TRANS|POST",
        "TRAN|PATCH"
    ],
    "url": "https://requestb.in/zp216zzp"
}