Skip to main content
Version: Node SDK

Get a Subscription Payment Method

Returns the payment method used to pay for a subscription.

Code Sample

import { Salable } from '@salable/node-sdk';

const salable = new Salable('{{API_KEY}}', 'v2');

const subscription = await salable.subscriptions.getPaymentMethod('07b3b494-a8f0-44f7-b051-add30c8c6002');

Parameters

subscriptionUuid (required)

Type: string

The UUID of the subscription

Return Type

For more information about this request see our API documentation on Subscription Payment Method Object