MCPcopy Create free account
hub / github.com/codecombat/codecombat / cancelBillingAgreement

Function cancelBillingAgreement

app/core/api/users.js:90–96  ·  view source on GitHub ↗
({ userID, billingAgreementID }, options)

Source from the content-addressed store, hash-verified

88 },
89
90 cancelBillingAgreement ({ userID, billingAgreementID }, options) {
91 if (options == null) { options = {} }
92 return fetchJson(this.url(userID, 'paypal/cancel-billing-agreement'), _.assign({}, options, {
93 method: 'POST',
94 json: { billingAgreementID }
95 }))
96 },
97
98 getCourseInstances ({ userID, campaignSlug }, options) {
99 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected